| 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/crypto.gni") | 6 import("//build/config/crypto.gni") |
| 7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//chrome/chrome_tests.gni") | 9 import("//chrome/chrome_tests.gni") |
| 10 import("//chrome/test/base/js2gtest.gni") | 10 import("//chrome/test/base/js2gtest.gni") |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 if (!enable_print_preview) { | 577 if (!enable_print_preview) { |
| 578 sources -= [ "data/webui/print_preview.js" ] | 578 sources -= [ "data/webui/print_preview.js" ] |
| 579 } | 579 } |
| 580 deps = [ | 580 deps = [ |
| 581 "//chrome/browser/ui", | 581 "//chrome/browser/ui", |
| 582 "//skia", | 582 "//skia", |
| 583 ] | 583 ] |
| 584 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 584 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 585 } | 585 } |
| 586 | 586 |
| 587 # TODO(GYP): Delete this after we've converted everything to GN. |
| 588 # The _run targets exist only for compatibility w/ GYP. |
| 589 group("browser_tests_run") { |
| 590 testonly = true |
| 591 deps = [ |
| 592 ":browser_tests", |
| 593 ] |
| 594 } |
| 595 |
| 587 test("browser_tests") { | 596 test("browser_tests") { |
| 588 sources = [ | 597 sources = [ |
| 589 "base/browser_tests_main.cc", | 598 "base/browser_tests_main.cc", |
| 590 ] | 599 ] |
| 591 sources += | 600 sources += |
| 592 rebase_path(chrome_tests_gypi_values.chrome_browser_tests_sources, | 601 rebase_path(chrome_tests_gypi_values.chrome_browser_tests_sources, |
| 593 ".", | 602 ".", |
| 594 "//chrome") | 603 "//chrome") |
| 595 sources += rebase_path( | 604 sources += rebase_path( |
| 596 chrome_tests_gypi_values.chrome_browser_extensions_test_support_sour
ces, | 605 chrome_tests_gypi_values.chrome_browser_extensions_test_support_sour
ces, |
| 597 ".", | 606 ".", |
| 598 "//chrome") | 607 "//chrome") |
| 599 | 608 |
| 600 configs += [ "//build/config:precompiled_headers" ] | 609 configs += [ "//build/config:precompiled_headers" ] |
| 601 | 610 |
| 611 data = [ |
| 612 "data/", |
| 613 "//chrome/browser/policy/test/asn1der.py", |
| 614 "//chrome/browser/policy/test/policy_testserver.py", |
| 615 "//chrome/common/extensions/docs/examples/apps/calculator/", |
| 616 "//chrome/third_party/mock4js/", |
| 617 "//content/test/data/", |
| 618 "//google_apis/test/", |
| 619 "//media/test/data/", |
| 620 "//net/data/", |
| 621 "//net/tools/testserver/", |
| 622 "//ppapi/tests/test_case.html", |
| 623 "//ppapi/tests/test_case.html.mock-http-headers", |
| 624 "//ppapi/tests/test_page.css", |
| 625 "//ppapi/tests/test_page.css.mock-http-headers", |
| 626 "//testing/test_env.py", |
| 627 "//third_party/accessibility-audit/axs_testing.js", |
| 628 "//third_party/mocha/mocha.js", |
| 629 "//third_party/pyftpdlib/", |
| 630 "//third_party/pywebsocket/", |
| 631 "//third_party/safe_browsing/", |
| 632 "//third_party/simplejson/", |
| 633 "//third_party/tlslite/", |
| 634 "$root_out_dir/pyproto/", |
| 635 "$root_out_dir/browser_tests.pak", |
| 636 "$root_out_dir/chrome_100_percent.pak", |
| 637 "$root_out_dir/locales/", |
| 638 "$root_out_dir/remoting/unittests/", |
| 639 "$root_out_dir/resources.pak", |
| 640 "$root_out_dir/test_case.html", |
| 641 "$root_out_dir/test_case.html.mock-http-headers", |
| 642 "$root_out_dir/test_data/", |
| 643 "$root_out_dir/test_page.css", |
| 644 "$root_out_dir/test_page.css.mock-http-headers", |
| 645 "$root_out_dir/test_url_loader_data/", |
| 646 ] |
| 647 |
| 602 deps = [ | 648 deps = [ |
| 603 ":browser_tests_js_webui", | 649 ":browser_tests_js_webui", |
| 604 ":sync_integration_test_support", | 650 ":sync_integration_test_support", |
| 605 ":test_support", | 651 ":test_support", |
| 606 "//base", | 652 "//base", |
| 607 "//base:i18n", | 653 "//base:i18n", |
| 608 "//base/allocator", | 654 "//base/allocator", |
| 609 "//base/test:test_support", | 655 "//base/test:test_support", |
| 610 "//chrome:browser_tests_pak", | 656 "//chrome:browser_tests_pak", |
| 611 "//chrome:packed_extra_resources", | 657 "//chrome:packed_extra_resources", |
| (...skipping 1281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1893 "//third_party/mojo/src/mojo/edk/system", | 1939 "//third_party/mojo/src/mojo/edk/system", |
| 1894 ] | 1940 ] |
| 1895 | 1941 |
| 1896 if (!is_android && use_ash) { | 1942 if (!is_android && use_ash) { |
| 1897 sources += rebase_path( | 1943 sources += rebase_path( |
| 1898 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, | 1944 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, |
| 1899 ".", | 1945 ".", |
| 1900 "//chrome") | 1946 "//chrome") |
| 1901 } | 1947 } |
| 1902 } | 1948 } |
| OLD | NEW |