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("//build/module_args/v8.gni") | 9 import("//build/module_args/v8.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 1651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1662 defines += [ "CLD_WINDOWS" ] | 1662 defines += [ "CLD_WINDOWS" ] |
1663 deps += [ "//third_party/cld" ] | 1663 deps += [ "//third_party/cld" ] |
1664 } | 1664 } |
1665 if (enable_app_list) { | 1665 if (enable_app_list) { |
1666 sources += | 1666 sources += |
1667 rebase_path(unit_gypi_values.chrome_unit_tests_app_list_sources, | 1667 rebase_path(unit_gypi_values.chrome_unit_tests_app_list_sources, |
1668 ".", | 1668 ".", |
1669 "//chrome") | 1669 "//chrome") |
1670 deps += [ "//ui/app_list:test_support" ] | 1670 deps += [ "//ui/app_list:test_support" ] |
1671 } | 1671 } |
| 1672 if (enable_app_list && is_chromeos) { |
| 1673 sources += rebase_path( |
| 1674 unit_gypi_values.chrome_unit_tests_app_list_chromeos_sources, |
| 1675 ".", |
| 1676 "//chrome") |
| 1677 } |
1672 if (!enable_plugin_installation) { | 1678 if (!enable_plugin_installation) { |
1673 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] | 1679 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] |
1674 } | 1680 } |
1675 } | 1681 } |
1676 | 1682 |
1677 if (is_win || (is_linux && !is_chromeos)) { | 1683 if (is_win || (is_linux && !is_chromeos)) { |
1678 # TODO(GYP): Figure out which of these work and are needed on other | 1684 # TODO(GYP): Figure out which of these work and are needed on other |
1679 # platforms. | 1685 # platforms. |
1680 test("chrome_app_unittests") { | 1686 test("chrome_app_unittests") { |
1681 sources = [ | 1687 sources = [ |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1746 } | 1752 } |
1747 | 1753 |
1748 if (cld_version == 0 || cld_version == 2) { | 1754 if (cld_version == 0 || cld_version == 2) { |
1749 # Use whatever CLD2 data access mode that the | 1755 # Use whatever CLD2 data access mode that the |
1750 # application embedder is using. | 1756 # application embedder is using. |
1751 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | 1757 deps += [ "//third_party/cld_2:cld2_platform_impl" ] |
1752 } | 1758 } |
1753 } | 1759 } |
1754 } | 1760 } |
1755 } | 1761 } |
OLD | NEW |