| 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 "//third_party/pywebsocket/", | 343 "//third_party/pywebsocket/", |
| 344 "//third_party/tlslite/", | 344 "//third_party/tlslite/", |
| 345 "//third_party/zlib/google/test/data/", | 345 "//third_party/zlib/google/test/data/", |
| 346 "//tools/metrics/histograms/histograms.xml", | 346 "//tools/metrics/histograms/histograms.xml", |
| 347 "$root_out_dir/pyproto/google/", | 347 "$root_out_dir/pyproto/google/", |
| 348 "$root_out_dir/ui_test.pak", | 348 "$root_out_dir/ui_test.pak", |
| 349 ] | 349 ] |
| 350 if (is_linux || is_win) { | 350 if (is_linux || is_win) { |
| 351 data += [ | 351 data += [ |
| 352 "$root_out_dir/chrome_100_percent.pak", | 352 "$root_out_dir/chrome_100_percent.pak", |
| 353 "$root_out_dir/chrome_material_100_percent.pak", | |
| 354 "$root_out_dir/chrome_200_percent.pak", | 353 "$root_out_dir/chrome_200_percent.pak", |
| 355 "$root_out_dir/chrome_material_200_percent.pak", | |
| 356 "$root_out_dir/locales/en-US.pak", | 354 "$root_out_dir/locales/en-US.pak", |
| 357 "$root_out_dir/locales/fr.pak", | 355 "$root_out_dir/locales/fr.pak", |
| 358 ] | 356 ] |
| 359 } | 357 } |
| 360 if (is_linux) { | 358 if (is_linux) { |
| 361 data += [ "$root_out_dir/libppapi_tests.so" ] | 359 data += [ "$root_out_dir/libppapi_tests.so" ] |
| 362 } | 360 } |
| 363 if (!is_mac) { | 361 if (!is_mac) { |
| 364 data_deps += [ "//chrome:packed_extra_resources" ] | 362 data_deps += [ "//chrome:packed_extra_resources" ] |
| 365 } | 363 } |
| (...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 880 "//third_party/mocha/mocha.js", | 878 "//third_party/mocha/mocha.js", |
| 881 "//third_party/pyftpdlib/", | 879 "//third_party/pyftpdlib/", |
| 882 "//third_party/pywebsocket/", | 880 "//third_party/pywebsocket/", |
| 883 "//third_party/safe_browsing/", | 881 "//third_party/safe_browsing/", |
| 884 "//third_party/simplejson/", | 882 "//third_party/simplejson/", |
| 885 "//third_party/tlslite/", | 883 "//third_party/tlslite/", |
| 886 "//ui/webui/resources/js/", | 884 "//ui/webui/resources/js/", |
| 887 "$root_out_dir/pyproto/", | 885 "$root_out_dir/pyproto/", |
| 888 "$root_out_dir/browser_tests.pak", | 886 "$root_out_dir/browser_tests.pak", |
| 889 "$root_out_dir/chrome_100_percent.pak", | 887 "$root_out_dir/chrome_100_percent.pak", |
| 890 "$root_out_dir/chrome_material_100_percent.pak", | |
| 891 "$root_out_dir/chrome_200_percent.pak", | 888 "$root_out_dir/chrome_200_percent.pak", |
| 892 "$root_out_dir/chrome_material_200_percent.pak", | |
| 893 "$root_out_dir/remoting/unittests/", | 889 "$root_out_dir/remoting/unittests/", |
| 894 "$root_out_dir/resources/extension/", | 890 "$root_out_dir/resources/extension/", |
| 895 "$root_out_dir/test_case.html", | 891 "$root_out_dir/test_case.html", |
| 896 "$root_out_dir/test_case.html.mock-http-headers", | 892 "$root_out_dir/test_case.html.mock-http-headers", |
| 897 "$root_out_dir/test_data/", | 893 "$root_out_dir/test_data/", |
| 898 "$root_out_dir/test_page.css", | 894 "$root_out_dir/test_page.css", |
| 899 "$root_out_dir/test_page.css.mock-http-headers", | 895 "$root_out_dir/test_page.css.mock-http-headers", |
| 900 "$root_out_dir/test_url_loader_data/", | 896 "$root_out_dir/test_url_loader_data/", |
| 901 ] | 897 ] |
| 902 if (is_win) { | 898 if (is_win) { |
| 903 data += [ "$root_out_dir/chrome_200_percent.pak" ] | 899 data += [ "$root_out_dir/chrome_200_percent.pak" ] |
| 904 } | 900 } |
| 901 if (is_mac) { |
| 902 data += [ |
| 903 "$root_out_dir/chrome_material_100_percent.pak", |
| 904 "$root_out_dir/chrome_material_200_percent.pak", |
| 905 ] |
| 906 } |
| 905 | 907 |
| 906 deps = [ | 908 deps = [ |
| 907 ":browser_tests_js_webui", | 909 ":browser_tests_js_webui", |
| 908 ":sync_integration_test_support", | 910 ":sync_integration_test_support", |
| 909 ":test_support", | 911 ":test_support", |
| 910 ":test_support_ui", | 912 ":test_support_ui", |
| 911 "//base", | 913 "//base", |
| 912 "//base:i18n", | 914 "//base:i18n", |
| 913 "//base/test:test_support", | 915 "//base/test:test_support", |
| 914 "//chrome:browser_tests_pak", | 916 "//chrome:browser_tests_pak", |
| (...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1445 "//sync/tools/testserver/", | 1447 "//sync/tools/testserver/", |
| 1446 "//third_party/pyftpdlib/", | 1448 "//third_party/pyftpdlib/", |
| 1447 "//third_party/pywebsocket/", | 1449 "//third_party/pywebsocket/", |
| 1448 "//third_party/tlslite/", | 1450 "//third_party/tlslite/", |
| 1449 "$root_out_dir/pyproto/", | 1451 "$root_out_dir/pyproto/", |
| 1450 ] | 1452 ] |
| 1451 | 1453 |
| 1452 if (is_linux || is_win) { | 1454 if (is_linux || is_win) { |
| 1453 data += [ | 1455 data += [ |
| 1454 "$root_out_dir/chrome_100_percent.pak", | 1456 "$root_out_dir/chrome_100_percent.pak", |
| 1455 "$root_out_dir/chrome_material_100_percent.pak", | |
| 1456 "$root_out_dir/chrome_200_percent.pak", | 1457 "$root_out_dir/chrome_200_percent.pak", |
| 1457 "$root_out_dir/chrome_material_200_percent.pak", | |
| 1458 "$root_out_dir/locales/en-US.pak", | 1458 "$root_out_dir/locales/en-US.pak", |
| 1459 ] | 1459 ] |
| 1460 } | 1460 } |
| 1461 | 1461 |
| 1462 # TODO(phajdan.jr): Only temporary, to make transition easier. | 1462 # TODO(phajdan.jr): Only temporary, to make transition easier. |
| 1463 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 1463 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 1464 | 1464 |
| 1465 deps = [ | 1465 deps = [ |
| 1466 ":sync_integration_test_support", | 1466 ":sync_integration_test_support", |
| 1467 ":test_support", | 1467 ":test_support", |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1669 "//tools/metrics/histograms/histograms.xml", | 1669 "//tools/metrics/histograms/histograms.xml", |
| 1670 "$root_out_dir/pyproto/google/", | 1670 "$root_out_dir/pyproto/google/", |
| 1671 ] | 1671 ] |
| 1672 if (is_android || is_linux || is_win) { | 1672 if (is_android || is_linux || is_win) { |
| 1673 data += [ | 1673 data += [ |
| 1674 "$root_out_dir/chrome_100_percent.pak", | 1674 "$root_out_dir/chrome_100_percent.pak", |
| 1675 "$root_out_dir/locales/en-US.pak", | 1675 "$root_out_dir/locales/en-US.pak", |
| 1676 ] | 1676 ] |
| 1677 } | 1677 } |
| 1678 if (is_linux || is_win) { | 1678 if (is_linux || is_win) { |
| 1679 data += [ | 1679 data += [ "$root_out_dir/chrome_200_percent.pak" ] |
| 1680 "$root_out_dir/chrome_200_percent.pak", | |
| 1681 "$root_out_dir/chrome_material_100_percent.pak", | |
| 1682 "$root_out_dir/chrome_material_200_percent.pak", | |
| 1683 ] | |
| 1684 } | 1680 } |
| 1685 | 1681 |
| 1686 defines = [] | 1682 defines = [] |
| 1687 | 1683 |
| 1688 deps = [ | 1684 deps = [ |
| 1689 # NOTE: New dependencies should generally be added in the OS!="ios" | 1685 # NOTE: New dependencies should generally be added in the OS!="ios" |
| 1690 # dependencies block below, rather than here. | 1686 # dependencies block below, rather than here. |
| 1691 # Unit tests should only depend on: | 1687 # Unit tests should only depend on: |
| 1692 # 1) everything that the chrome binaries depend on: | 1688 # 1) everything that the chrome binaries depend on: |
| 1693 "//chrome:browser_dependencies", | 1689 "//chrome:browser_dependencies", |
| (...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2390 if (is_android) { | 2386 if (is_android) { |
| 2391 android_library("unit_tests_java") { | 2387 android_library("unit_tests_java") { |
| 2392 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] | 2388 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] |
| 2393 deps = [ | 2389 deps = [ |
| 2394 "//base:base_java", | 2390 "//base:base_java", |
| 2395 "//chrome/android:chrome_java", | 2391 "//chrome/android:chrome_java", |
| 2396 "//content/public/android:content_java", | 2392 "//content/public/android:content_java", |
| 2397 ] | 2393 ] |
| 2398 } | 2394 } |
| 2399 } | 2395 } |
| OLD | NEW |