1# Copyright 2019 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import("//build_overrides/build.gni") 6 7source_set("unittests") { 8 testonly = true 9 sources = [ "device_auth_test.cc" ] 10 11 deps = [ 12 "../../platform:test", 13 "../../testing/util", 14 "../../third_party/googletest:gmock", 15 "../../third_party/googletest:gtest", 16 "../common:channel", 17 "../common:test_helpers", 18 "../common/channel/proto:channel_proto", 19 "../receiver:channel", 20 "../receiver:test_helpers", 21 "../sender:channel", 22 ] 23 24 if (!build_with_chromium) { 25 deps += [ "../protocol:unittests" ] 26 } 27} 28 29if (is_posix && !build_with_chromium) { 30 source_set("e2e_tests") { 31 testonly = true 32 sources = [ "cast_socket_e2e_test.cc" ] 33 34 deps = [ 35 "../../platform", 36 "../../platform:standalone_impl", 37 "../../testing/util", 38 "../../third_party/abseil", 39 "../../third_party/boringssl", 40 "../../third_party/googletest:gmock", 41 "../../third_party/googletest:gtest", 42 "../../util", 43 "../common:certificate", 44 "../common:channel", 45 "../common:test_helpers", 46 "../receiver:channel", 47 "../sender:channel", 48 ] 49 } 50 51 executable("make_crl_tests") { 52 testonly = true 53 sources = [ "make_crl_tests.cc" ] 54 55 deps = [ 56 "../../platform:test", 57 "../../third_party/boringssl", 58 "../../util", 59 "../common:test_helpers", 60 "../common/certificate/proto:certificate_proto", 61 ] 62 } 63} 64