| 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") |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| 288 test("interactive_ui_tests") { | 297 test("interactive_ui_tests") { |
| 289 sources = | 298 sources = |
| 290 rebase_path(chrome_tests_gypi_values.chrome_interactive_ui_test_sources, | 299 rebase_path(chrome_tests_gypi_values.chrome_interactive_ui_test_sources, |
| 291 ".", | 300 ".", |
| 292 "//chrome") | 301 "//chrome") |
| 293 | 302 |
| 294 configs += [ "//build/config:precompiled_headers" ] | 303 configs += [ "//build/config:precompiled_headers" ] |
| 295 | 304 |
| 296 data = [ | 305 data = [ |
| 297 "data/", | 306 "data/", |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 762 } | 771 } |
| 763 | 772 |
| 764 # TODO(GYP): Delete this after we've converted everything to GN. | 773 # TODO(GYP): Delete this after we've converted everything to GN. |
| 765 # The _run targets exist only for compatibility w/ GYP. | 774 # The _run targets exist only for compatibility w/ GYP. |
| 766 group("tab_capture_end2end_tests_run") { | 775 group("tab_capture_end2end_tests_run") { |
| 767 testonly = true | 776 testonly = true |
| 768 deps = [ | 777 deps = [ |
| 769 ":browser_tests", | 778 ":browser_tests", |
| 770 ] | 779 ] |
| 771 } | 780 } |
| 781 |
| 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 } |
| 772 | 790 |
| 773 test("browser_tests") { | 791 test("browser_tests") { |
| 774 sources = [ | 792 sources = [ |
| 775 "base/browser_tests_main.cc", | 793 "base/browser_tests_main.cc", |
| 776 ] | 794 ] |
| 777 sources += | 795 sources += |
| 778 rebase_path(chrome_tests_gypi_values.chrome_browser_tests_sources, | 796 rebase_path(chrome_tests_gypi_values.chrome_browser_tests_sources, |
| 779 ".", | 797 ".", |
| 780 "//chrome") | 798 "//chrome") |
| 781 sources += rebase_path( | 799 sources += rebase_path( |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1250 chrome_tests_gypi_values.chrome_browser_tests_remoting_sources, | 1268 chrome_tests_gypi_values.chrome_browser_tests_remoting_sources, |
| 1251 ".", | 1269 ".", |
| 1252 "//chrome") | 1270 "//chrome") |
| 1253 #deps += [ "//remoting:remoting_webapp" ] TODO(GYP) | 1271 #deps += [ "//remoting:remoting_webapp" ] TODO(GYP) |
| 1254 } | 1272 } |
| 1255 if (use_x11) { | 1273 if (use_x11) { |
| 1256 deps += [ "//tools/xdisplaycheck" ] | 1274 deps += [ "//tools/xdisplaycheck" ] |
| 1257 } | 1275 } |
| 1258 } | 1276 } |
| 1259 | 1277 |
| 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 |
| 1260 test("sync_integration_tests") { | 1287 test("sync_integration_tests") { |
| 1261 sources = | 1288 sources = |
| 1262 rebase_path(chrome_tests_gypi_values.sync_integration_tests_sources, | 1289 rebase_path(chrome_tests_gypi_values.sync_integration_tests_sources, |
| 1263 ".", | 1290 ".", |
| 1264 "//chrome") | 1291 "//chrome") |
| 1265 | 1292 |
| 1266 data = [ | 1293 data = [ |
| 1267 "//chrome/test/data/sync/", | 1294 "//chrome/test/data/sync/", |
| 1268 "//net/tools/testserver/", | 1295 "//net/tools/testserver/", |
| 1269 "//sync/tools/testserver/", | 1296 "//sync/tools/testserver/", |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1448 chrome_tests_unit_gypi_values.chrome_unit_tests_chromeos_gtestjs_sou
rces, | 1475 chrome_tests_unit_gypi_values.chrome_unit_tests_chromeos_gtestjs_sou
rces, |
| 1449 ".", | 1476 ".", |
| 1450 "//chrome") | 1477 "//chrome") |
| 1451 extra_js_files += rebase_path( | 1478 extra_js_files += rebase_path( |
| 1452 chrome_tests_unit_gypi_values.chrome_unit_tests_chromeos_js_sources, | 1479 chrome_tests_unit_gypi_values.chrome_unit_tests_chromeos_js_sources, |
| 1453 ".", | 1480 ".", |
| 1454 "//chrome") | 1481 "//chrome") |
| 1455 } | 1482 } |
| 1456 } | 1483 } |
| 1457 | 1484 |
| 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 |
| 1458 test("unit_tests") { | 1494 test("unit_tests") { |
| 1459 sources = rebase_path(chrome_tests_unit_gypi_values.chrome_unit_tests_sources, | 1495 sources = rebase_path(chrome_tests_unit_gypi_values.chrome_unit_tests_sources, |
| 1460 ".", | 1496 ".", |
| 1461 "//chrome") | 1497 "//chrome") |
| 1462 | 1498 |
| 1463 configs += [ "//build/config:precompiled_headers" ] | 1499 configs += [ "//build/config:precompiled_headers" ] |
| 1464 | 1500 |
| 1465 data = [ | 1501 data = [ |
| 1466 "data/", | 1502 "data/", |
| 1467 "//base/test/data/", | 1503 "//base/test/data/", |
| (...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2189 if (is_android) { | 2225 if (is_android) { |
| 2190 android_library("unit_tests_java") { | 2226 android_library("unit_tests_java") { |
| 2191 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" | 2227 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" |
| 2192 deps = [ | 2228 deps = [ |
| 2193 "//base:base_java", | 2229 "//base:base_java", |
| 2194 "//chrome/android:chrome_java", | 2230 "//chrome/android:chrome_java", |
| 2195 "//content/public/android:content_java", | 2231 "//content/public/android:content_java", |
| 2196 ] | 2232 ] |
| 2197 } | 2233 } |
| 2198 } | 2234 } |
| OLD | NEW |