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 1839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1850 "//chrome") | 1850 "//chrome") |
1851 } | 1851 } |
1852 if (enable_plugins && !enable_plugin_installation) { | 1852 if (enable_plugins && !enable_plugin_installation) { |
1853 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] | 1853 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] |
1854 } | 1854 } |
1855 } | 1855 } |
1856 | 1856 |
1857 if (is_win || (is_linux && !is_chromeos)) { | 1857 if (is_win || (is_linux && !is_chromeos)) { |
1858 # TODO(GYP): Figure out which of these work and are needed on other | 1858 # TODO(GYP): Figure out which of these work and are needed on other |
1859 # platforms. | 1859 # platforms. |
1860 test("chrome_app_unittests") { | |
1861 sources = [ | |
1862 "../app/chrome_watcher_client_unittest_win.cc", | |
1863 "../app/chrome_watcher_client_win.cc", | |
1864 "../app/chrome_watcher_command_line_unittest_win.cc", | |
1865 "../app/chrome_watcher_command_line_win.cc", | |
1866 "../app/delay_load_hook_unittest_win.cc", | |
1867 "../app/delay_load_hook_win.cc", | |
1868 "../app/delay_load_hook_win.h", | |
1869 "../app/signature_validator_win.cc", | |
1870 "../app/signature_validator_win.h", | |
1871 "../app/signature_validator_win_unittest.cc", | |
1872 "../common/crash_keys.cc", | |
1873 "../common/crash_keys.h", | |
1874 ] | |
1875 | |
1876 deps = [ | |
1877 ":test_support", | |
1878 "//breakpad:client", | |
1879 "//chrome/browser", | |
1880 "//chrome/child", | |
1881 "//base/test:run_all_unittests", | |
1882 "//base/test:test_support", | |
1883 ] | |
1884 if (cld_version == 2) { | |
1885 # Use whatever CLD2 data access mode that the | |
1886 # application embedder is using. | |
1887 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | |
1888 } | |
1889 } | |
1890 | |
1891 test("performance_browser_tests") { | 1860 test("performance_browser_tests") { |
1892 sources = rebase_path( | 1861 sources = rebase_path( |
1893 chrome_tests_gypi_values.performance_browser_tests_sources, | 1862 chrome_tests_gypi_values.performance_browser_tests_sources, |
1894 ".", | 1863 ".", |
1895 "//chrome") | 1864 "//chrome") |
1896 | 1865 |
1897 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 1866 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
1898 | 1867 |
1899 deps = [ | 1868 deps = [ |
1900 ":test_support", | 1869 ":test_support", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1957 "//third_party/mojo/src/mojo/edk/system", | 1926 "//third_party/mojo/src/mojo/edk/system", |
1958 ] | 1927 ] |
1959 | 1928 |
1960 if (!is_android && use_ash) { | 1929 if (!is_android && use_ash) { |
1961 sources += rebase_path( | 1930 sources += rebase_path( |
1962 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, | 1931 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, |
1963 ".", | 1932 ".", |
1964 "//chrome") | 1933 "//chrome") |
1965 } | 1934 } |
1966 } | 1935 } |
OLD | NEW |