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 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1780 deps += [ | 1780 deps += [ |
1781 "//third_party/google_toolbox_for_mac", | 1781 "//third_party/google_toolbox_for_mac", |
1782 "//third_party/ocmock", | 1782 "//third_party/ocmock", |
1783 ] | 1783 ] |
1784 | 1784 |
1785 # TODO(mark): We really want this for all non-static library targets, | 1785 # TODO(mark): We really want this for all non-static library targets, |
1786 # but when we tried to pull it up to the common.gypi level, it broke | 1786 # but when we tried to pull it up to the common.gypi level, it broke |
1787 # other things like the ui and startup tests. *shrug* | 1787 # other things like the ui and startup tests. *shrug* |
1788 ldflags = [ "-Wl,-ObjC" ] | 1788 ldflags = [ "-Wl,-ObjC" ] |
1789 } | 1789 } |
| 1790 if (is_mac || is_android) { |
| 1791 sources += rebase_path( |
| 1792 chrome_tests_unit_gypi_values.chrome_unit_tests_mac_android_source
s, |
| 1793 ".", |
| 1794 "//chrome") |
| 1795 } |
1790 if (!is_mac && !is_ios) { | 1796 if (!is_mac && !is_ios) { |
1791 deps += [ | 1797 deps += [ |
1792 "//chrome/tools/convert_dict:lib", | 1798 "//chrome/tools/convert_dict:lib", |
1793 "//chrome:packed_extra_resources", | 1799 "//chrome:packed_extra_resources", |
1794 "//chrome:packed_resources", | 1800 "//chrome:packed_resources", |
1795 "//third_party/hunspell", | 1801 "//third_party/hunspell", |
1796 ] | 1802 ] |
1797 } | 1803 } |
1798 if (is_win || is_mac) { | 1804 if (is_win || is_mac) { |
1799 sources += rebase_path( | 1805 sources += rebase_path( |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2009 "//third_party/mojo/src/mojo/edk/system", | 2015 "//third_party/mojo/src/mojo/edk/system", |
2010 ] | 2016 ] |
2011 | 2017 |
2012 if (!is_android && use_ash) { | 2018 if (!is_android && use_ash) { |
2013 sources += rebase_path( | 2019 sources += rebase_path( |
2014 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, | 2020 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, |
2015 ".", | 2021 ".", |
2016 "//chrome") | 2022 "//chrome") |
2017 } | 2023 } |
2018 } | 2024 } |
OLD | NEW |