Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: chrome/test/BUILD.gn

Issue 1653003006: Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/BUILD.gn ('k') | chrome/test/chromedriver/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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")
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 278
279 import("//third_party/protobuf/proto_library.gni") 279 import("//third_party/protobuf/proto_library.gni")
280 280
281 # GYP version: chrome/chrome_tests_unit.gypi:ipc_protobuf_message_test_proto 281 # GYP version: chrome/chrome_tests_unit.gypi:ipc_protobuf_message_test_proto
282 proto_library("test_proto") { 282 proto_library("test_proto") {
283 sources = [ 283 sources = [
284 "../common/safe_browsing/ipc_protobuf_message_test.proto", 284 "../common/safe_browsing/ipc_protobuf_message_test.proto",
285 ] 285 ]
286 } 286 }
287 287
288 # TODO(GYP): Delete this after we've converted everything to GN.
289 # The _run targets exist only for compatibility w/ GYP.
290 group("interactive_ui_tests_run") {
291 testonly = true
292 deps = [
293 ":interactive_ui_tests",
294 ]
295 }
296
297 test("interactive_ui_tests") { 288 test("interactive_ui_tests") {
298 sources = 289 sources =
299 rebase_path(chrome_tests_gypi_values.chrome_interactive_ui_test_sources, 290 rebase_path(chrome_tests_gypi_values.chrome_interactive_ui_test_sources,
300 ".", 291 ".",
301 "//chrome") 292 "//chrome")
302 293
303 configs += [ "//build/config:precompiled_headers" ] 294 configs += [ "//build/config:precompiled_headers" ]
304 295
305 data = [ 296 data = [
306 "data/", 297 "data/",
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 763
773 # TODO(GYP): Delete this after we've converted everything to GN. 764 # TODO(GYP): Delete this after we've converted everything to GN.
774 # The _run targets exist only for compatibility w/ GYP. 765 # The _run targets exist only for compatibility w/ GYP.
775 group("tab_capture_end2end_tests_run") { 766 group("tab_capture_end2end_tests_run") {
776 testonly = true 767 testonly = true
777 deps = [ 768 deps = [
778 ":browser_tests", 769 ":browser_tests",
779 ] 770 ]
780 } 771 }
781 772
782 # TODO(GYP): Delete this after we've converted everything to GN.
783 # The _run targets exist only for compatibility w/ GYP.
784 group("browser_tests_run") {
785 testonly = true
786 data_deps = [
787 ":browser_tests",
788 ]
789 }
790
791 test("browser_tests") { 773 test("browser_tests") {
792 sources = [ 774 sources = [
793 "base/browser_tests_main.cc", 775 "base/browser_tests_main.cc",
794 ] 776 ]
795 sources += 777 sources +=
796 rebase_path(chrome_tests_gypi_values.chrome_browser_tests_sources, 778 rebase_path(chrome_tests_gypi_values.chrome_browser_tests_sources,
797 ".", 779 ".",
798 "//chrome") 780 "//chrome")
799 sources += rebase_path( 781 sources += rebase_path(
800 chrome_tests_gypi_values.chrome_browser_extensions_test_support_sour ces, 782 chrome_tests_gypi_values.chrome_browser_extensions_test_support_sour ces,
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
1268 chrome_tests_gypi_values.chrome_browser_tests_remoting_sources, 1250 chrome_tests_gypi_values.chrome_browser_tests_remoting_sources,
1269 ".", 1251 ".",
1270 "//chrome") 1252 "//chrome")
1271 #deps += [ "//remoting:remoting_webapp" ] TODO(GYP) 1253 #deps += [ "//remoting:remoting_webapp" ] TODO(GYP)
1272 } 1254 }
1273 if (use_x11) { 1255 if (use_x11) {
1274 deps += [ "//tools/xdisplaycheck" ] 1256 deps += [ "//tools/xdisplaycheck" ]
1275 } 1257 }
1276 } 1258 }
1277 1259
1278 # TODO(GYP): Delete this after we've converted everything to GN.
1279 # The _run targets exist only for compatibility w/ GYP.
1280 group("sync_integration_tests_run") {
1281 testonly = true
1282 deps = [
1283 ":sync_integration_tests",
1284 ]
1285 }
1286
1287 test("sync_integration_tests") { 1260 test("sync_integration_tests") {
1288 sources = 1261 sources =
1289 rebase_path(chrome_tests_gypi_values.sync_integration_tests_sources, 1262 rebase_path(chrome_tests_gypi_values.sync_integration_tests_sources,
1290 ".", 1263 ".",
1291 "//chrome") 1264 "//chrome")
1292 1265
1293 data = [ 1266 data = [
1294 "//chrome/test/data/sync/", 1267 "//chrome/test/data/sync/",
1295 "//net/tools/testserver/", 1268 "//net/tools/testserver/",
1296 "//sync/tools/testserver/", 1269 "//sync/tools/testserver/",
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1475 chrome_tests_unit_gypi_values.chrome_unit_tests_chromeos_gtestjs_sou rces, 1448 chrome_tests_unit_gypi_values.chrome_unit_tests_chromeos_gtestjs_sou rces,
1476 ".", 1449 ".",
1477 "//chrome") 1450 "//chrome")
1478 extra_js_files += rebase_path( 1451 extra_js_files += rebase_path(
1479 chrome_tests_unit_gypi_values.chrome_unit_tests_chromeos_js_sources, 1452 chrome_tests_unit_gypi_values.chrome_unit_tests_chromeos_js_sources,
1480 ".", 1453 ".",
1481 "//chrome") 1454 "//chrome")
1482 } 1455 }
1483 } 1456 }
1484 1457
1485 # TODO(GYP): Delete this after we've converted everything to GN.
1486 # The _run targets exist only for compatibility w/ GYP.
1487 group("unit_tests_run") {
1488 testonly = true
1489 deps = [
1490 ":unit_tests",
1491 ]
1492 }
1493
1494 test("unit_tests") { 1458 test("unit_tests") {
1495 sources = rebase_path(chrome_tests_unit_gypi_values.chrome_unit_tests_sources, 1459 sources = rebase_path(chrome_tests_unit_gypi_values.chrome_unit_tests_sources,
1496 ".", 1460 ".",
1497 "//chrome") 1461 "//chrome")
1498 1462
1499 configs += [ "//build/config:precompiled_headers" ] 1463 configs += [ "//build/config:precompiled_headers" ]
1500 1464
1501 data = [ 1465 data = [
1502 "data/", 1466 "data/",
1503 "//base/test/data/", 1467 "//base/test/data/",
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
2225 if (is_android) { 2189 if (is_android) {
2226 android_library("unit_tests_java") { 2190 android_library("unit_tests_java") {
2227 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" 2191 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src"
2228 deps = [ 2192 deps = [
2229 "//base:base_java", 2193 "//base:base_java",
2230 "//chrome/android:chrome_java", 2194 "//chrome/android:chrome_java",
2231 "//content/public/android:content_java", 2195 "//content/public/android:content_java",
2232 ] 2196 ]
2233 } 2197 }
2234 } 2198 }
OLDNEW
« no previous file with comments | « cc/BUILD.gn ('k') | chrome/test/chromedriver/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698