| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 deps += [ | 174 deps += [ |
| 175 "//chrome/common/extensions/api", | 175 "//chrome/common/extensions/api", |
| 176 "//extensions:test_support", | 176 "//extensions:test_support", |
| 177 ] | 177 ] |
| 178 } | 178 } |
| 179 | 179 |
| 180 if (is_linux) { | 180 if (is_linux) { |
| 181 deps += [ "//crypto:platform" ] | 181 deps += [ "//crypto:platform" ] |
| 182 } | 182 } |
| 183 if (is_mac) { | 183 if (is_mac) { |
| 184 # deps += [ '../third_party/ocmock/ocmock.gyp:ocmock' ] TODO(GYP) | 184 sources += [ |
| 185 "//chrome/app/chrome_crash_reporter_client.cc", |
| 186 "//chrome/app/chrome_crash_reporter_client_mac.mm", |
| 187 ] |
| 188 deps += [ |
| 189 "//breakpad", |
| 190 "//components/crash/content/app", |
| 191 "//third_party/ocmock", |
| 192 ] |
| 185 } | 193 } |
| 186 if (is_win) { | 194 if (is_win) { |
| 187 deps += [ "//third_party/wtl" ] | 195 deps += [ "//third_party/wtl" ] |
| 188 if (use_aura) { | 196 if (use_aura) { |
| 189 deps += [ | 197 deps += [ |
| 190 "//win8:test_registrar_constants", | 198 "//win8:test_registrar_constants", |
| 191 "//win8:test_support_win8", | 199 "//win8:test_support_win8", |
| 192 ] | 200 ] |
| 193 } | 201 } |
| 194 } | 202 } |
| (...skipping 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1866 } | 1874 } |
| 1867 if (is_linux && is_chrome_branded && current_cpu == "x86") { | 1875 if (is_linux && is_chrome_branded && current_cpu == "x86") { |
| 1868 ldflags = [ "-Wl,--strip-debug" ] | 1876 ldflags = [ "-Wl,--strip-debug" ] |
| 1869 } | 1877 } |
| 1870 if (is_mac) { | 1878 if (is_mac) { |
| 1871 sources += rebase_path( | 1879 sources += rebase_path( |
| 1872 chrome_tests_unit_gypi_values.chrome_unit_tests_mac_sources, | 1880 chrome_tests_unit_gypi_values.chrome_unit_tests_mac_sources, |
| 1873 ".", | 1881 ".", |
| 1874 "//chrome") | 1882 "//chrome") |
| 1875 sources -= [ | 1883 sources -= [ |
| 1884 # This tests the function GetSpellCheckLanguages which is not used on |
| 1885 # Mac. |
| 1886 "../browser/spellchecker/spellcheck_service_unittest.cc", |
| 1876 "../browser/ui/tests/ui_gfx_image_unittest.cc", | 1887 "../browser/ui/tests/ui_gfx_image_unittest.cc", |
| 1888 |
| 1889 # This tests Chrome's spellchecker which Mac doesn't use. |
| 1890 "../renderer/spellchecker/spellcheck_multilingual_unittest.cc", |
| 1877 "../renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc", | 1891 "../renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc", |
| 1878 "../tools/convert_dict/convert_dict_unittest.cc", | 1892 "../tools/convert_dict/convert_dict_unittest.cc", |
| 1879 ] | 1893 ] |
| 1880 | 1894 |
| 1881 # The test fetches resources which means Mac need the app bundle to exist | 1895 # The test fetches resources which means Mac need the app bundle to exist |
| 1882 # on disk so it can pull from it. | 1896 # on disk so it can pull from it. |
| 1883 deps += [ | 1897 deps += [ |
| 1884 "//third_party/google_toolbox_for_mac", | 1898 "//third_party/google_toolbox_for_mac", |
| 1885 "//third_party/ocmock", | 1899 "//third_party/ocmock", |
| 1886 ] | 1900 ] |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2135 "//third_party/mojo/src/mojo/edk/system", | 2149 "//third_party/mojo/src/mojo/edk/system", |
| 2136 ] | 2150 ] |
| 2137 | 2151 |
| 2138 if (!is_android && use_ash) { | 2152 if (!is_android && use_ash) { |
| 2139 sources += rebase_path( | 2153 sources += rebase_path( |
| 2140 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, | 2154 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, |
| 2141 ".", | 2155 ".", |
| 2142 "//chrome") | 2156 "//chrome") |
| 2143 } | 2157 } |
| 2144 } | 2158 } |
| OLD | NEW |