OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//chrome/chrome_tests.gni") | 10 import("//chrome/chrome_tests.gni") |
11 import("//chrome/test/base/js2gtest.gni") | 11 import("//chrome/test/base/js2gtest.gni") |
12 import("//testing/test.gni") | 12 import("//testing/test.gni") |
| 13 import("//third_party/webrtc/build/webrtc.gni") |
13 | 14 |
14 if (is_android) { | 15 if (is_android) { |
15 import("//build/config/android/rules.gni") | 16 import("//build/config/android/rules.gni") |
16 } | 17 } |
17 | 18 |
18 # This target exists to reference other test executables to bring these files | 19 # This target exists to reference other test executables to bring these files |
19 # into the build. | 20 # into the build. |
20 group("test") { | 21 group("test") { |
21 testonly = true | 22 testonly = true |
22 } | 23 } |
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1079 } | 1080 } |
1080 if (safe_browsing_mode == 1) { | 1081 if (safe_browsing_mode == 1) { |
1081 sources += rebase_path( | 1082 sources += rebase_path( |
1082 chrome_tests_gypi_values.chrome_browser_tests_full_safe_browsing_s
ources, | 1083 chrome_tests_gypi_values.chrome_browser_tests_full_safe_browsing_s
ources, |
1083 ".", | 1084 ".", |
1084 "//chrome") | 1085 "//chrome") |
1085 } | 1086 } |
1086 if (enable_captive_portal_detection) { | 1087 if (enable_captive_portal_detection) { |
1087 sources += [ "../browser/captive_portal/captive_portal_browsertest.cc" ] | 1088 sources += [ "../browser/captive_portal/captive_portal_browsertest.cc" ] |
1088 } | 1089 } |
1089 if (!enable_webrtc) { | 1090 if (enable_webrtc) { |
| 1091 deps += [ "//content/public/common:feature_h264_with_openh264_ffmpeg" ] |
| 1092 } else { |
1090 sources -= [ | 1093 sources -= [ |
1091 "../browser/extensions/api/webrtc_audio_private/webrtc_audio_private_bro
wsertest.cc", | 1094 "../browser/extensions/api/webrtc_audio_private/webrtc_audio_private_bro
wsertest.cc", |
1092 "../browser/extensions/api/webrtc_logging_private/webrtc_logging_private
_apitest.cc", | 1095 "../browser/extensions/api/webrtc_logging_private/webrtc_logging_private
_apitest.cc", |
1093 "../browser/media/chrome_webrtc_browsertest.cc", | 1096 "../browser/media/chrome_webrtc_browsertest.cc", |
1094 "../browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc", | 1097 "../browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc", |
1095 "../browser/media/chrome_webrtc_getmediadevices_browsertest.cc", | 1098 "../browser/media/chrome_webrtc_getmediadevices_browsertest.cc", |
1096 ] | 1099 ] |
1097 } | 1100 } |
| 1101 if (rtc_use_h264) { |
| 1102 defines += [ "BUILDFLAG_RTC_USE_H264" ] |
| 1103 } |
1098 if (enable_media_router) { | 1104 if (enable_media_router) { |
1099 sources += [ "../browser/ui/webui/media_router/media_router_dialog_control
ler_impl_browsertest.cc" ] | 1105 sources += [ "../browser/ui/webui/media_router/media_router_dialog_control
ler_impl_browsertest.cc" ] |
1100 deps += [ "//chrome/test/media_router:media_router_browsertests" ] | 1106 deps += [ "//chrome/test/media_router:media_router_browsertests" ] |
1101 } | 1107 } |
1102 if (is_win) { | 1108 if (is_win) { |
1103 deps += [ | 1109 deps += [ |
1104 "//chrome:other_version", | 1110 "//chrome:other_version", |
1105 "//third_party/wtl", | 1111 "//third_party/wtl", |
1106 "//ui/resources", | 1112 "//ui/resources", |
1107 ] | 1113 ] |
(...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2228 if (is_android) { | 2234 if (is_android) { |
2229 android_library("unit_tests_java") { | 2235 android_library("unit_tests_java") { |
2230 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" | 2236 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" |
2231 deps = [ | 2237 deps = [ |
2232 "//base:base_java", | 2238 "//base:base_java", |
2233 "//chrome/android:chrome_java", | 2239 "//chrome/android:chrome_java", |
2234 "//content/public/android:content_java", | 2240 "//content/public/android:content_java", |
2235 ] | 2241 ] |
2236 } | 2242 } |
2237 } | 2243 } |
OLD | NEW |