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/common/features.gni") | 10 import("//chrome/common/features.gni") |
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1152 # The _run targets exist only for compatibility w/ GYP. | 1152 # The _run targets exist only for compatibility w/ GYP. |
1153 group("mash_browser_tests_run") { | 1153 group("mash_browser_tests_run") { |
1154 testonly = true | 1154 testonly = true |
1155 deps = [ | 1155 deps = [ |
1156 ":mash_browser_tests", | 1156 ":mash_browser_tests", |
1157 ] | 1157 ] |
1158 } | 1158 } |
1159 | 1159 |
1160 group("mash_browser_tests") { | 1160 group("mash_browser_tests") { |
1161 testonly = true | 1161 testonly = true |
1162 data = [ | |
1163 "//testing/buildbot/filters/mojo.fyi.browser_tests.filter", | |
1164 ] | |
1165 data_deps = [ | 1162 data_deps = [ |
1166 ":browser_tests", | 1163 ":browser_tests", |
1167 ] | 1164 ] |
1168 } | 1165 } |
1169 } | 1166 } |
1170 | 1167 |
1171 static_library("browser_tests_runner") { | 1168 static_library("browser_tests_runner") { |
1172 testonly = true | 1169 testonly = true |
1173 sources = [] | 1170 sources = [] |
1174 | 1171 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1270 ] | 1267 ] |
1271 | 1268 |
1272 if (enable_nacl) { | 1269 if (enable_nacl) { |
1273 data_deps += [ | 1270 data_deps += [ |
1274 "//components/nacl/loader:nacl_helper", | 1271 "//components/nacl/loader:nacl_helper", |
1275 "//ppapi/native_client:irt", | 1272 "//ppapi/native_client:irt", |
1276 ] | 1273 ] |
1277 } | 1274 } |
1278 } | 1275 } |
1279 | 1276 |
| 1277 # Adding all //testing/buildbot/filters/*.browser_tests.*filter files |
| 1278 # as a dependency. |
| 1279 # |
| 1280 # They might not be used on all platforms (e.g. there is no mac bot coverage |
| 1281 # for --site-per-process today), but for simplicity we just include all of |
| 1282 # them below (doing this should help avoid unpleasant surprises when a bot |
| 1283 # config is switched in testing/buildbot/chromium.fyi.json without |
| 1284 # corresponding dependency changes here). |
| 1285 # |
| 1286 # To refresh, run the following command in bash: |
| 1287 # $ for i in $( \ |
| 1288 # find testing/buildbot/filters/ -name '*.browser_tests.*filter'); \ |
| 1289 # do echo " \"//$i\","; done | sort |
| 1290 data += [ |
| 1291 "//testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filt
er", |
| 1292 "//testing/buildbot/filters/isolate-extensions.browser_tests.filter", |
| 1293 "//testing/buildbot/filters/mash.browser_tests.filter", |
| 1294 "//testing/buildbot/filters/mojo.fyi.browser_tests.filter", |
| 1295 "//testing/buildbot/filters/site-per-process.browser_tests.filter", |
| 1296 ] |
| 1297 |
1280 # TODO(jbudorick): In progress. See crbug.com/611756 | 1298 # TODO(jbudorick): In progress. See crbug.com/611756 |
1281 if (is_android) { | 1299 if (is_android) { |
1282 deps += [ | 1300 deps += [ |
1283 "//chrome/android:chrome_java", | 1301 "//chrome/android:chrome_java", |
1284 "//v8:v8_external_startup_data_assets", | 1302 "//v8:v8_external_startup_data_assets", |
1285 ] | 1303 ] |
1286 | 1304 |
1287 enable_multidex = true | 1305 enable_multidex = true |
1288 } else { | 1306 } else { |
1289 sources += [ | 1307 sources += [ |
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2001 sources += [ "//third_party/liblouis/nacl_wrapper/liblouis_wrapper_brows
ertest.cc" ] | 2019 sources += [ "//third_party/liblouis/nacl_wrapper/liblouis_wrapper_brows
ertest.cc" ] |
2002 deps += [ "//chrome/browser/chromeos" ] | 2020 deps += [ "//chrome/browser/chromeos" ] |
2003 data_deps += [ "//third_party/liblouis:liblouis_test_data" ] | 2021 data_deps += [ "//third_party/liblouis:liblouis_test_data" ] |
2004 } else if (is_linux || is_win) { | 2022 } else if (is_linux || is_win) { |
2005 sources += [ | 2023 sources += [ |
2006 "../browser/ui/views/ime/ime_warning_bubble_browsertest.cc", | 2024 "../browser/ui/views/ime/ime_warning_bubble_browsertest.cc", |
2007 "../browser/ui/views/ime/ime_window_browsertest.cc", | 2025 "../browser/ui/views/ime/ime_window_browsertest.cc", |
2008 ] | 2026 ] |
2009 } | 2027 } |
2010 | 2028 |
2011 if (is_linux) { | |
2012 data += [ "//testing/buildbot/filters/browser-side-navigation.linux.brow
ser_tests.filter" ] | |
2013 } | |
2014 | |
2015 if (is_win || is_linux) { | 2029 if (is_win || is_linux) { |
2016 sources += [ "../browser/nacl_host/test/nacl_gdb_browsertest.cc" ] | 2030 sources += [ "../browser/nacl_host/test/nacl_gdb_browsertest.cc" ] |
2017 data_deps += [ "//chrome/browser/nacl_host/test:mock_nacl_gdb" ] | 2031 data_deps += [ "//chrome/browser/nacl_host/test:mock_nacl_gdb" ] |
2018 data += [ "//testing/buildbot/filters/site-per-process.browser_tests.fil
ter" ] | |
2019 } | 2032 } |
2020 if (is_win) { | 2033 if (is_win) { |
2021 # TODO(halyavin) NaCl on Windows can't open debug stub socket in | 2034 # TODO(halyavin) NaCl on Windows can't open debug stub socket in |
2022 # browser process as needed by this test. See http://crbug.com/157312. | 2035 # browser process as needed by this test. See http://crbug.com/157312. |
2023 sources -= [ "../browser/nacl_host/test/gdb_debug_stub_browsertest.cc" ] | 2036 sources -= [ "../browser/nacl_host/test/gdb_debug_stub_browsertest.cc" ] |
2024 configs -= [ "//build/config/win:default_incremental_linking" ] | 2037 configs -= [ "//build/config/win:default_incremental_linking" ] |
2025 configs += | 2038 configs += |
2026 [ "//build/config/win:default_large_module_incremental_linking" ] | 2039 [ "//build/config/win:default_large_module_incremental_linking" ] |
2027 } | 2040 } |
2028 if (is_linux) { | 2041 if (is_linux) { |
(...skipping 3014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5043 "touch_hud", | 5056 "touch_hud", |
5044 "ui", | 5057 "ui", |
5045 ] | 5058 ] |
5046 | 5059 |
5047 if (is_linux && !is_android) { | 5060 if (is_linux && !is_android) { |
5048 deps += [ "//components/font_service:manifest" ] | 5061 deps += [ "//components/font_service:manifest" ] |
5049 packaged_services += [ "font_service" ] | 5062 packaged_services += [ "font_service" ] |
5050 } | 5063 } |
5051 } | 5064 } |
5052 } | 5065 } |
OLD | NEW |