1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
# Copyright 2024 The Chromium Authors
# Use of this source code is governed by a BSD - style license that can be
# found in the LICENSE file.
assert(is_chromeos)
source_set("session_api") {
sources = [
"add_students_request.cc",
"add_students_request.h",
"constants.h",
"create_session_request.cc",
"create_session_request.h",
"get_session_request.cc",
"get_session_request.h",
"join_session_request.cc",
"join_session_request.h",
"remove_student_request.cc",
"remove_student_request.h",
"renotify_student_request.cc",
"renotify_student_request.h",
"session_client_impl.cc",
"session_client_impl.h",
"session_parser.cc",
"session_parser.h",
"student_heartbeat_request.cc",
"student_heartbeat_request.h",
"update_session_config_request.cc",
"update_session_config_request.h",
"update_session_request.cc",
"update_session_request.h",
"update_student_activities_request.cc",
"update_student_activities_request.h",
"upload_token_request.cc",
"upload_token_request.h",
]
deps = [
"//ash/constants",
"//base",
"//chromeos/ash/components/boca/proto",
"//components/signin/public/identity_manager",
"//google_apis",
"//google_apis/common",
"//net",
"//services/network/public/cpp",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"add_students_request_unittest.cc",
"create_session_request_unittest.cc",
"get_session_request_unittest.cc",
"join_session_request_unittest.cc",
"remove_student_request_unittest.cc",
"renotify_student_request_unittest.cc",
"session_client_impl_unittest.cc",
"session_parser_unittest.cc",
"student_heartbeat_request_unittest.cc",
"update_session_config_request_unittest.cc",
"update_session_request_unittest.cc",
"update_student_activities_request_unittest.cc",
"upload_token_request_unittest.cc",
]
deps = [
":session_api",
"//ash/constants",
"//base",
"//base/test:test_support",
"//chromeos/ash/components/boca/proto",
"//google_apis/common",
"//google_apis/common:test_support",
"//services/network:test_support",
"//testing/gmock",
"//testing/gtest",
]
}
|