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/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//build/module_args/v8.gni") | 8 import("//build/module_args/v8.gni") |
9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 | 10 |
(...skipping 1663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1674 rebase_path(unit_gypi_values.chrome_unit_tests_app_list_sources, | 1674 rebase_path(unit_gypi_values.chrome_unit_tests_app_list_sources, |
1675 ".", | 1675 ".", |
1676 "//chrome") | 1676 "//chrome") |
1677 deps += [ "//ui/app_list:test_support" ] | 1677 deps += [ "//ui/app_list:test_support" ] |
1678 } | 1678 } |
1679 if (!enable_plugin_installation) { | 1679 if (!enable_plugin_installation) { |
1680 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] | 1680 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] |
1681 } | 1681 } |
1682 } | 1682 } |
1683 | 1683 |
1684 if (is_linux && !is_chromeos) { | 1684 if (is_win || (is_linux && !is_chromeos)) { |
1685 # TODO(GYP): Figure out which of these work and are needed on other | 1685 # TODO(GYP): Figure out which of these work and are needed on other |
1686 # platforms. | 1686 # platforms. |
1687 test("chrome_app_unittests") { | 1687 test("chrome_app_unittests") { |
1688 sources = [ | 1688 sources = [ |
1689 "../app/chrome_watcher_client_unittest_win.cc", | 1689 "../app/chrome_watcher_client_unittest_win.cc", |
1690 "../app/chrome_watcher_client_win.cc", | 1690 "../app/chrome_watcher_client_win.cc", |
1691 "../app/chrome_watcher_command_line_unittest_win.cc", | 1691 "../app/chrome_watcher_command_line_unittest_win.cc", |
1692 "../app/chrome_watcher_command_line_win.cc", | 1692 "../app/chrome_watcher_command_line_win.cc", |
1693 "../app/delay_load_hook_unittest_win.cc", | 1693 "../app/delay_load_hook_unittest_win.cc", |
1694 "../app/delay_load_hook_win.cc", | 1694 "../app/delay_load_hook_win.cc", |
1695 "../app/delay_load_hook_win.h", | 1695 "../app/delay_load_hook_win.h", |
1696 "../app/signature_validator_win.cc", | 1696 "../app/signature_validator_win.cc", |
1697 "../app/signature_validator_win.h", | 1697 "../app/signature_validator_win.h", |
1698 "../app/signature_validator_win_unittest.cc", | 1698 "../app/signature_validator_win_unittest.cc", |
1699 "../common/crash_keys.cc", | 1699 "../common/crash_keys.cc", |
1700 "../common/crash_keys.h", | 1700 "../common/crash_keys.h", |
1701 ] | 1701 ] |
1702 | 1702 |
1703 deps = [ | 1703 deps = [ |
1704 ":test_support", | 1704 ":test_support", |
| 1705 "//breakpad:client", |
1705 "//chrome/browser", | 1706 "//chrome/browser", |
1706 "//chrome/child", | 1707 "//chrome/child", |
1707 "//base/test:run_all_unittests", | 1708 "//base/test:run_all_unittests", |
1708 "//base/test:test_support", | 1709 "//base/test:test_support", |
1709 ] | 1710 ] |
1710 if (cld_version == 0 || cld_version == 2) { | 1711 if (cld_version == 0 || cld_version == 2) { |
1711 # Use whatever CLD2 data access mode that the | 1712 # Use whatever CLD2 data access mode that the |
1712 # application embedder is using. | 1713 # application embedder is using. |
1713 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | 1714 deps += [ "//third_party/cld_2:cld2_platform_impl" ] |
1714 } | 1715 } |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1748 } | 1749 } |
1749 | 1750 |
1750 if (cld_version == 0 || cld_version == 2) { | 1751 if (cld_version == 0 || cld_version == 2) { |
1751 # Use whatever CLD2 data access mode that the | 1752 # Use whatever CLD2 data access mode that the |
1752 # application embedder is using. | 1753 # application embedder is using. |
1753 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | 1754 deps += [ "//third_party/cld_2:cld2_platform_impl" ] |
1754 } | 1755 } |
1755 } | 1756 } |
1756 } | 1757 } |
1757 } | 1758 } |
OLD | NEW |