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

Unified Diff: ios/third_party/ochamcrest/BUILD.gn

Issue 1806513002: Add config to enable ARC on iOS/OS X to //build/config. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iossim
Patch Set: Remove //build/config/mac:macosx_version_min_10_9 config Created 4 years, 9 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: ios/third_party/ochamcrest/BUILD.gn
diff --git a/ios/third_party/ochamcrest/BUILD.gn b/ios/third_party/ochamcrest/BUILD.gn
index 527e5f29ceedbae87824daf1cf1126160f8c58d2..47f613594b040c2969f3280b041421c18abac4b2 100644
--- a/ios/third_party/ochamcrest/BUILD.gn
+++ b/ios/third_party/ochamcrest/BUILD.gn
@@ -175,25 +175,20 @@ copy("ochamcrest_copy_files") {
]
}
-config("ochamcrest_config") {
+config("config") {
visibility = [ ":ochamcrest" ]
libs = [ "XCTest.framework" ]
include_dirs = [ "$root_gen_dir/ios/third_party/ochamcrest" ]
}
-config("ochamcrest_private_config") {
- visibility = [ ":ochamcrest" ]
- cflags_objc = [ "-fobjc-arc" ]
-}
-
source_set("ochamcrest") {
testonly = true
configs += [
- ":ochamcrest_config",
- ":ochamcrest_private_config",
+ ":config",
+ "//build/config/compiler:enable_arc",
"//build/config/compiler:no_chromium_code",
]
- public_configs = [ ":ochamcrest_config" ]
+ public_configs = [ ":config" ]
public_deps = [
":ochamcrest_copy_files",
]
« ios/third_party/gcdwebserver/BUILD.gn ('K') | « ios/third_party/gcdwebserver/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698