| 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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 } | 320 } |
| 321 | 321 |
| 322 test("interactive_ui_tests") { | 322 test("interactive_ui_tests") { |
| 323 sources = | 323 sources = |
| 324 rebase_path(chrome_tests_gypi_values.chrome_interactive_ui_test_sources, | 324 rebase_path(chrome_tests_gypi_values.chrome_interactive_ui_test_sources, |
| 325 ".", | 325 ".", |
| 326 "//chrome") | 326 "//chrome") |
| 327 | 327 |
| 328 configs += [ "//build/config:precompiled_headers" ] | 328 configs += [ "//build/config:precompiled_headers" ] |
| 329 | 329 |
| 330 data_deps = [] |
| 331 |
| 330 data = [ | 332 data = [ |
| 331 "data/", | 333 "data/", |
| 332 "//content/test/data/", | 334 "//content/test/data/", |
| 333 "//net/data/ssl/certificates/", | 335 "//net/data/ssl/certificates/", |
| 334 "//net/tools/testserver/", | 336 "//net/tools/testserver/", |
| 335 "//ppapi/tests/test_case.html", | 337 "//ppapi/tests/test_case.html", |
| 336 "//ppapi/tests/test_case.html.mock-http-headers", | 338 "//ppapi/tests/test_case.html.mock-http-headers", |
| 337 "//ppapi/tests/test_page.css", | 339 "//ppapi/tests/test_page.css", |
| 338 "//ppapi/tests/test_page.css.mock-http-headers", | 340 "//ppapi/tests/test_page.css.mock-http-headers", |
| 339 "//third_party/pyftpdlib/", | 341 "//third_party/pyftpdlib/", |
| 340 "//third_party/pywebsocket/", | 342 "//third_party/pywebsocket/", |
| 341 "//third_party/tlslite/", | 343 "//third_party/tlslite/", |
| 342 "//third_party/zlib/google/test/data/", | 344 "//third_party/zlib/google/test/data/", |
| 343 "//tools/metrics/histograms/histograms.xml", | 345 "//tools/metrics/histograms/histograms.xml", |
| 344 "$root_out_dir/pyproto/google/", | 346 "$root_out_dir/pyproto/google/", |
| 345 "$root_out_dir/resources.pak", | |
| 346 "$root_out_dir/ui_test.pak", | 347 "$root_out_dir/ui_test.pak", |
| 347 ] | 348 ] |
| 348 if (is_linux || is_win) { | 349 if (is_linux || is_win) { |
| 349 data += [ | 350 data += [ |
| 350 "$root_out_dir/chrome_100_percent.pak", | 351 "$root_out_dir/chrome_100_percent.pak", |
| 351 "$root_out_dir/chrome_material_100_percent.pak", | 352 "$root_out_dir/chrome_material_100_percent.pak", |
| 352 "$root_out_dir/chrome_200_percent.pak", | 353 "$root_out_dir/chrome_200_percent.pak", |
| 353 "$root_out_dir/chrome_material_200_percent.pak", | 354 "$root_out_dir/chrome_material_200_percent.pak", |
| 354 "$root_out_dir/locales/en-US.pak", | 355 "$root_out_dir/locales/en-US.pak", |
| 355 "$root_out_dir/locales/fr.pak", | 356 "$root_out_dir/locales/fr.pak", |
| 356 ] | 357 ] |
| 357 } | 358 } |
| 358 if (is_linux) { | 359 if (is_linux) { |
| 359 data += [ "$root_out_dir/libppapi_tests.so" ] | 360 data += [ "$root_out_dir/libppapi_tests.so" ] |
| 360 } | 361 } |
| 362 if (!is_mac) { |
| 363 data_deps += [ "//chrome:packed_extra_resources" ] |
| 364 } |
| 361 | 365 |
| 362 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 366 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 363 ldflags = [] | 367 ldflags = [] |
| 364 | 368 |
| 365 deps = [ | 369 deps = [ |
| 366 ":test_support", | 370 ":test_support", |
| 367 ":test_support_ui", | 371 ":test_support_ui", |
| 368 "//chrome:packed_extra_resources", | 372 "//chrome:packed_extra_resources", |
| 369 "//chrome:packed_resources", | 373 "//chrome:packed_resources", |
| 370 "//chrome:resources", | 374 "//chrome:resources", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 394 "//ui/resources:ui_test_pak", | 398 "//ui/resources:ui_test_pak", |
| 395 "//ui/web_dialogs:test_support", | 399 "//ui/web_dialogs:test_support", |
| 396 ] | 400 ] |
| 397 | 401 |
| 398 # TODO(rockot) bug 505926: The chrome_extensions_interactive_uitests target | 402 # TODO(rockot) bug 505926: The chrome_extensions_interactive_uitests target |
| 399 # should be deleted and this line removed. See the | 403 # should be deleted and this line removed. See the |
| 400 # chrome_extensions_interactive_uitests target for more. | 404 # chrome_extensions_interactive_uitests target for more. |
| 401 deps += [ "//extensions:chrome_extensions_interactive_uitests" ] | 405 deps += [ "//extensions:chrome_extensions_interactive_uitests" ] |
| 402 | 406 |
| 403 # Runtime dependencies | 407 # Runtime dependencies |
| 404 data_deps = [ | 408 data_deps += [ |
| 405 "//ppapi:ppapi_tests", | 409 "//ppapi:ppapi_tests", |
| 406 "//third_party/mesa:osmesa", | 410 "//third_party/mesa:osmesa", |
| 407 ] | 411 ] |
| 408 | 412 |
| 409 if (toolkit_views) { | 413 if (toolkit_views) { |
| 410 sources += rebase_path( | 414 sources += rebase_path( |
| 411 chrome_tests_gypi_values.chrome_interactive_ui_test_views_sources, | 415 chrome_tests_gypi_values.chrome_interactive_ui_test_views_sources, |
| 412 ".", | 416 ".", |
| 413 "//chrome") | 417 "//chrome") |
| 414 deps += [ | 418 deps += [ |
| (...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 866 "//third_party/tlslite/", | 870 "//third_party/tlslite/", |
| 867 "//ui/webui/resources/js/", | 871 "//ui/webui/resources/js/", |
| 868 "$root_out_dir/pyproto/", | 872 "$root_out_dir/pyproto/", |
| 869 "$root_out_dir/browser_tests.pak", | 873 "$root_out_dir/browser_tests.pak", |
| 870 "$root_out_dir/chrome_100_percent.pak", | 874 "$root_out_dir/chrome_100_percent.pak", |
| 871 "$root_out_dir/chrome_material_100_percent.pak", | 875 "$root_out_dir/chrome_material_100_percent.pak", |
| 872 "$root_out_dir/chrome_200_percent.pak", | 876 "$root_out_dir/chrome_200_percent.pak", |
| 873 "$root_out_dir/chrome_material_200_percent.pak", | 877 "$root_out_dir/chrome_material_200_percent.pak", |
| 874 "$root_out_dir/locales/", | 878 "$root_out_dir/locales/", |
| 875 "$root_out_dir/remoting/unittests/", | 879 "$root_out_dir/remoting/unittests/", |
| 876 "$root_out_dir/resources.pak", | |
| 877 "$root_out_dir/resources/extension/", | 880 "$root_out_dir/resources/extension/", |
| 878 "$root_out_dir/test_case.html", | 881 "$root_out_dir/test_case.html", |
| 879 "$root_out_dir/test_case.html.mock-http-headers", | 882 "$root_out_dir/test_case.html.mock-http-headers", |
| 880 "$root_out_dir/test_data/", | 883 "$root_out_dir/test_data/", |
| 881 "$root_out_dir/test_page.css", | 884 "$root_out_dir/test_page.css", |
| 882 "$root_out_dir/test_page.css.mock-http-headers", | 885 "$root_out_dir/test_page.css.mock-http-headers", |
| 883 "$root_out_dir/test_url_loader_data/", | 886 "$root_out_dir/test_url_loader_data/", |
| 884 ] | 887 ] |
| 885 if (is_win) { | 888 if (is_win) { |
| 886 data += [ "$root_out_dir/chrome_200_percent.pak" ] | 889 data += [ "$root_out_dir/chrome_200_percent.pak" ] |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 958 # Runtime dependencies | 961 # Runtime dependencies |
| 959 data_deps = [ | 962 data_deps = [ |
| 960 "//ppapi:ppapi_tests", | 963 "//ppapi:ppapi_tests", |
| 961 "//ppapi:power_saver_test_plugin", | 964 "//ppapi:power_saver_test_plugin", |
| 962 "//remoting/webapp:browser_test_resources", | 965 "//remoting/webapp:browser_test_resources", |
| 963 "//remoting/webapp:unit_tests", | 966 "//remoting/webapp:unit_tests", |
| 964 "//third_party/mesa:osmesa", | 967 "//third_party/mesa:osmesa", |
| 965 "//third_party/widevine/cdm:widevine_test_license_server", | 968 "//third_party/widevine/cdm:widevine_test_license_server", |
| 966 ] | 969 ] |
| 967 | 970 |
| 971 if (!is_mac) { |
| 972 data_deps += [ "//chrome:packed_extra_resources" ] |
| 973 } |
| 974 |
| 968 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 975 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 969 | 976 |
| 970 # TODO(GYP) if (is_win) { | 977 # TODO(GYP) if (is_win) { |
| 971 # ['incremental_chrome_dll==1', { | 978 # ['incremental_chrome_dll==1', { |
| 972 # 'UseLibraryDependencyInputs': "true", | 979 # 'UseLibraryDependencyInputs': "true", |
| 973 # } | 980 # } |
| 974 | 981 |
| 975 if (!enable_one_click_signin) { | 982 if (!enable_one_click_signin) { |
| 976 sources -= [ "../browser/ui/sync/one_click_signin_links_delegate_impl_brow
sertest.cc" ] | 983 sources -= [ "../browser/ui/sync/one_click_signin_links_delegate_impl_brow
sertest.cc" ] |
| 977 } | 984 } |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1386 "//chrome") | 1393 "//chrome") |
| 1387 | 1394 |
| 1388 data = [ | 1395 data = [ |
| 1389 "//chrome/test/data/sync/", | 1396 "//chrome/test/data/sync/", |
| 1390 "//net/tools/testserver/", | 1397 "//net/tools/testserver/", |
| 1391 "//sync/tools/testserver/", | 1398 "//sync/tools/testserver/", |
| 1392 "//third_party/pyftpdlib/", | 1399 "//third_party/pyftpdlib/", |
| 1393 "//third_party/pywebsocket/", | 1400 "//third_party/pywebsocket/", |
| 1394 "//third_party/tlslite/", | 1401 "//third_party/tlslite/", |
| 1395 "$root_out_dir/pyproto/", | 1402 "$root_out_dir/pyproto/", |
| 1396 "$root_out_dir/resources.pak", | |
| 1397 ] | 1403 ] |
| 1398 | 1404 |
| 1399 if (is_linux || is_win) { | 1405 if (is_linux || is_win) { |
| 1400 data += [ | 1406 data += [ |
| 1401 "$root_out_dir/chrome_100_percent.pak", | 1407 "$root_out_dir/chrome_100_percent.pak", |
| 1402 "$root_out_dir/chrome_material_100_percent.pak", | 1408 "$root_out_dir/chrome_material_100_percent.pak", |
| 1403 "$root_out_dir/chrome_200_percent.pak", | 1409 "$root_out_dir/chrome_200_percent.pak", |
| 1404 "$root_out_dir/chrome_material_200_percent.pak", | 1410 "$root_out_dir/chrome_material_200_percent.pak", |
| 1405 "$root_out_dir/locales/en-US.pak", | 1411 "$root_out_dir/locales/en-US.pak", |
| 1406 ] | 1412 ] |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1429 # implementation for CLD2. Dynamic is smaller, so go with dynamic. | 1435 # implementation for CLD2. Dynamic is smaller, so go with dynamic. |
| 1430 "//third_party/cld_2:cld2_dynamic", | 1436 "//third_party/cld_2:cld2_dynamic", |
| 1431 "//third_party/icu", | 1437 "//third_party/icu", |
| 1432 "//third_party/leveldatabase", | 1438 "//third_party/leveldatabase", |
| 1433 ] | 1439 ] |
| 1434 | 1440 |
| 1435 data_deps = [ | 1441 data_deps = [ |
| 1436 "//third_party/mesa:osmesa", | 1442 "//third_party/mesa:osmesa", |
| 1437 ] | 1443 ] |
| 1438 | 1444 |
| 1445 if (!is_mac) { |
| 1446 data_deps += [ "//chrome:packed_extra_resources" ] |
| 1447 } |
| 1448 |
| 1439 if (is_mac) { | 1449 if (is_mac) { |
| 1440 # Dictionary sync is disabled on Mac. | 1450 # Dictionary sync is disabled on Mac. |
| 1441 sources -= [ | 1451 sources -= [ |
| 1442 "../browser/sync/test/integration/single_client_dictionary_sync_test.cc"
, | 1452 "../browser/sync/test/integration/single_client_dictionary_sync_test.cc"
, |
| 1443 "../browser/sync/test/integration/two_client_dictionary_sync_test.cc", | 1453 "../browser/sync/test/integration/two_client_dictionary_sync_test.cc", |
| 1444 ] | 1454 ] |
| 1445 | 1455 |
| 1446 # The sync_integration_tests do not run on mac without this flag. | 1456 # The sync_integration_tests do not run on mac without this flag. |
| 1447 # Search for comments about "xcode_settings" elsewhere in this file. | 1457 # Search for comments about "xcode_settings" elsewhere in this file. |
| 1448 ldflags = [ "-Wl,-ObjC" ] | 1458 ldflags = [ "-Wl,-ObjC" ] |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1594 "//net/tools/testserver/", | 1604 "//net/tools/testserver/", |
| 1595 "//third_party/accessibility-audit/axs_testing.js", | 1605 "//third_party/accessibility-audit/axs_testing.js", |
| 1596 "//third_party/chaijs/chai.js", | 1606 "//third_party/chaijs/chai.js", |
| 1597 "//third_party/hunspell_dictionaries/", | 1607 "//third_party/hunspell_dictionaries/", |
| 1598 "//third_party/pyftpdlib/", | 1608 "//third_party/pyftpdlib/", |
| 1599 "//third_party/pywebsocket/", | 1609 "//third_party/pywebsocket/", |
| 1600 "//third_party/tlslite/", | 1610 "//third_party/tlslite/", |
| 1601 "//third_party/zlib/google/test/data/", | 1611 "//third_party/zlib/google/test/data/", |
| 1602 "//tools/metrics/histograms/histograms.xml", | 1612 "//tools/metrics/histograms/histograms.xml", |
| 1603 "$root_out_dir/pyproto/google/", | 1613 "$root_out_dir/pyproto/google/", |
| 1604 "$root_out_dir/resources.pak", | |
| 1605 ] | 1614 ] |
| 1606 if (is_android || is_linux || is_win) { | 1615 if (is_android || is_linux || is_win) { |
| 1607 data += [ | 1616 data += [ |
| 1608 "$root_out_dir/chrome_100_percent.pak", | 1617 "$root_out_dir/chrome_100_percent.pak", |
| 1609 "$root_out_dir/locales/en-US.pak", | 1618 "$root_out_dir/locales/en-US.pak", |
| 1610 ] | 1619 ] |
| 1611 } | 1620 } |
| 1612 if (is_linux || is_win) { | 1621 if (is_linux || is_win) { |
| 1613 data += [ | 1622 data += [ |
| 1614 "$root_out_dir/chrome_200_percent.pak", | 1623 "$root_out_dir/chrome_200_percent.pak", |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1694 "//third_party/libaddressinput", | 1703 "//third_party/libaddressinput", |
| 1695 "//third_party/libjingle", | 1704 "//third_party/libjingle", |
| 1696 "//third_party/libphonenumber", | 1705 "//third_party/libphonenumber", |
| 1697 "//third_party/webrtc/modules/desktop_capture", | 1706 "//third_party/webrtc/modules/desktop_capture", |
| 1698 "//tools/json_schema_compiler/test", | 1707 "//tools/json_schema_compiler/test", |
| 1699 "//ui/gl", | 1708 "//ui/gl", |
| 1700 "//v8", | 1709 "//v8", |
| 1701 ] | 1710 ] |
| 1702 } | 1711 } |
| 1703 | 1712 |
| 1713 if (is_mac) { |
| 1714 data_deps += [ "//chrome:chrome_framework" ] |
| 1715 data += [ "$root_out_dir/Chromium Framework.framework/" ] |
| 1716 } else { |
| 1717 data_deps += [ "//chrome:packed_extra_resources" ] |
| 1718 } |
| 1719 |
| 1704 if (is_android) { | 1720 if (is_android) { |
| 1705 sources += rebase_path( | 1721 sources += rebase_path( |
| 1706 chrome_tests_unit_gypi_values.chrome_unit_tests_offline_pages_source
s, | 1722 chrome_tests_unit_gypi_values.chrome_unit_tests_offline_pages_source
s, |
| 1707 ".", | 1723 ".", |
| 1708 "//chrome") | 1724 "//chrome") |
| 1709 sources -= [ "../browser/policy/policy_path_parser_unittest.cc" ] | 1725 sources -= [ "../browser/policy/policy_path_parser_unittest.cc" ] |
| 1710 deps += [ | 1726 deps += [ |
| 1711 ":unit_tests_java", | 1727 ":unit_tests_java", |
| 1712 "//components/offline_pages:test_support", | 1728 "//components/offline_pages:test_support", |
| 1713 "//v8:v8_external_startup_data_assets", | 1729 "//v8:v8_external_startup_data_assets", |
| (...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2331 if (is_android) { | 2347 if (is_android) { |
| 2332 android_library("unit_tests_java") { | 2348 android_library("unit_tests_java") { |
| 2333 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] | 2349 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] |
| 2334 deps = [ | 2350 deps = [ |
| 2335 "//base:base_java", | 2351 "//base:base_java", |
| 2336 "//chrome/android:chrome_java", | 2352 "//chrome/android:chrome_java", |
| 2337 "//content/public/android:content_java", | 2353 "//content/public/android:content_java", |
| 2338 ] | 2354 ] |
| 2339 } | 2355 } |
| 2340 } | 2356 } |
| OLD | NEW |