Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2818)

Unified Diff: chrome/test/BUILD.gn

Issue 1417673004: Make unit_tests compile in Mac GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mac
Patch Set: . Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/chrome_manifest_url_handlers.cc ('k') | chrome/utility/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/BUILD.gn
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
index adb114f1a6bc5af54446dc0cf7bfc5f3c3271263..8e036a93e1dbf6ee7e6948679de6c32d014a18f9 100644
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -181,7 +181,15 @@ source_set("test_support") {
deps += [ "//crypto:platform" ]
}
if (is_mac) {
- # deps += [ '../third_party/ocmock/ocmock.gyp:ocmock' ] TODO(GYP)
+ sources += [
+ "//chrome/app/chrome_crash_reporter_client.cc",
+ "//chrome/app/chrome_crash_reporter_client_mac.mm",
+ ]
+ deps += [
+ "//breakpad",
+ "//components/crash/content/app",
+ "//third_party/ocmock",
+ ]
}
if (is_win) {
deps += [ "//third_party/wtl" ]
@@ -1873,7 +1881,13 @@ if (!is_android) {
".",
"//chrome")
sources -= [
+ # This tests the function GetSpellCheckLanguages which is not used on
+ # Mac.
+ "../browser/spellchecker/spellcheck_service_unittest.cc",
"../browser/ui/tests/ui_gfx_image_unittest.cc",
+
+ # This tests Chrome's spellchecker which Mac doesn't use.
+ "../renderer/spellchecker/spellcheck_multilingual_unittest.cc",
"../renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc",
"../tools/convert_dict/convert_dict_unittest.cc",
]
« no previous file with comments | « chrome/common/extensions/chrome_manifest_url_handlers.cc ('k') | chrome/utility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698