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

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: 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
Index: tools/gn/secondary/testing/BUILD.gn
diff --git a/tools/gn/secondary/testing/BUILD.gn b/tools/gn/secondary/testing/BUILD.gn
index 08f3c4d22ebd405ee5ed205fee04715b102375e7..ac765a787032750e5e869363f5e4c84dbccd2c13 100644
--- a/tools/gn/secondary/testing/BUILD.gn
+++ b/tools/gn/secondary/testing/BUILD.gn
@@ -48,8 +48,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

Powered by Google App Engine
This is Rietveld 408576698