OLD | NEW |
1 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../../webrtc.gni") | 9 import("../../webrtc.gni") |
10 import("//third_party/protobuf/proto_library.gni") | 10 import("//third_party/protobuf/proto_library.gni") |
(...skipping 23 matching lines...) Expand all Loading... |
34 "packet_sender.h", | 34 "packet_sender.h", |
35 "test_controller.cc", | 35 "test_controller.cc", |
36 "test_controller.h", | 36 "test_controller.h", |
37 ] | 37 ] |
38 | 38 |
39 defines = [ "WEBRTC_NETWORK_TESTER_PROTO" ] | 39 defines = [ "WEBRTC_NETWORK_TESTER_PROTO" ] |
40 | 40 |
41 deps = [ | 41 deps = [ |
42 ":network_tester_config_proto", | 42 ":network_tester_config_proto", |
43 ":network_tester_packet_proto", | 43 ":network_tester_packet_proto", |
44 "../../base:protobuf_utils", | |
45 "../../base:rtc_task_queue", | |
46 "../../base:sequenced_task_checker", | |
47 "../../p2p", | 44 "../../p2p", |
| 45 "../../rtc_base:protobuf_utils", |
| 46 "../../rtc_base:rtc_task_queue", |
| 47 "../../rtc_base:sequenced_task_checker", |
48 ] | 48 ] |
49 | 49 |
50 if (!build_with_chromium && is_clang) { | 50 if (!build_with_chromium && is_clang) { |
51 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 51 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
52 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 52 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
53 } | 53 } |
54 } | 54 } |
55 | 55 |
56 network_tester_unittests_resources = [ | 56 network_tester_unittests_resources = [ |
57 "//resources/network_tester/client_config.dat", | 57 "//resources/network_tester/client_config.dat", |
(...skipping 19 matching lines...) Expand all Loading... |
77 if (!is_android && !is_ios) { | 77 if (!is_android && !is_ios) { |
78 visibility = [ "//webrtc/rtc_tools:tools_unittests" ] | 78 visibility = [ "//webrtc/rtc_tools:tools_unittests" ] |
79 } | 79 } |
80 sources = [ | 80 sources = [ |
81 "network_tester_unittest.cc", | 81 "network_tester_unittest.cc", |
82 ] | 82 ] |
83 | 83 |
84 deps = [ | 84 deps = [ |
85 ":network_tester", | 85 ":network_tester", |
86 "//testing/gtest", | 86 "//testing/gtest", |
87 "//webrtc/base:rtc_base_tests_utils", | 87 "//webrtc/rtc_base:rtc_base_tests_utils", |
88 "//webrtc/test:test_support", | 88 "//webrtc/test:test_support", |
89 ] | 89 ] |
90 | 90 |
91 if (is_ios) { | 91 if (is_ios) { |
92 deps += [ ":network_tester_unittests_bundle_data" ] | 92 deps += [ ":network_tester_unittests_bundle_data" ] |
93 } | 93 } |
94 | 94 |
95 defines = [ | 95 defines = [ |
96 "GTEST_RELATIVE_PATH", | 96 "GTEST_RELATIVE_PATH", |
97 "WEBRTC_NETWORK_TESTER_TEST_ENABLED", | 97 "WEBRTC_NETWORK_TESTER_TEST_ENABLED", |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 ":network_tester", | 167 ":network_tester", |
168 "../../system_wrappers:field_trial_default", | 168 "../../system_wrappers:field_trial_default", |
169 ] | 169 ] |
170 | 170 |
171 suppressed_configs += [ "//build/config/android:hide_all_but_jni_onload" ] | 171 suppressed_configs += [ "//build/config/android:hide_all_but_jni_onload" ] |
172 configs += [ "//build/config/android:hide_all_but_jni" ] | 172 configs += [ "//build/config/android:hide_all_but_jni" ] |
173 | 173 |
174 output_extension = "so" | 174 output_extension = "so" |
175 } | 175 } |
176 } | 176 } |
OLD | NEW |