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

Unified Diff: tools/gn/secondary/testing/BUILD.gn

Issue 25698002: (mostly) working wtf / wtf_unittests gn targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: formatting Created 7 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 | « tools/gn/secondary/skia/BUILD.gn ('k') | tools/gn/secondary/third_party/WebKit/Source/wtf/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/secondary/testing/BUILD.gn
diff --git a/tools/gn/secondary/testing/BUILD.gn b/tools/gn/secondary/testing/BUILD.gn
index 38b992c338259992f7b523cc651cd925da35d830..70910b3faa1f6313b071a882ea544be708a7953e 100644
--- a/tools/gn/secondary/testing/BUILD.gn
+++ b/tools/gn/secondary/testing/BUILD.gn
@@ -49,8 +49,19 @@ static_library("gtest") {
"platform_test.h",
]
+ if (is_mac) {
+ sources += [
+ "gtest_mac.h",
+ "gtest_mac.mm",
+ "platform_test_mac.mm",
+ ]
+ }
+
include_dirs = [ "gtest" ]
direct_dependent_configs = [ ":gtest_config" ]
+
+ configs -= "//build/config/compiler:chromium_code"
+ configs += "//build/config/compiler:no_chromium_code"
}
# TODO(brettw) move to testing/gmock/BUILD.gn
« no previous file with comments | « tools/gn/secondary/skia/BUILD.gn ('k') | tools/gn/secondary/third_party/WebKit/Source/wtf/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698