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

Unified Diff: ios/chrome/common/BUILD.gn

Issue 2681353002: [ObjC ARC] Converts ios/chrome/common:unit_tests to ARC. (Closed)
Patch Set: comments Created 3 years, 10 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 | « no previous file | ios/chrome/common/ns_regular_expression_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/common/BUILD.gn
diff --git a/ios/chrome/common/BUILD.gn b/ios/chrome/common/BUILD.gn
index 077d33ac5f5bcc707d59e049b93ca45b86484af0..49a2cf1ee826b286360c8f6ff36d4d18156a4d3f 100644
--- a/ios/chrome/common/BUILD.gn
+++ b/ios/chrome/common/BUILD.gn
@@ -30,16 +30,29 @@ source_set("common") {
libs = [ "QuartzCore.framework" ]
}
-source_set("unit_tests") {
+source_set("noarc_unit_tests") {
testonly = true
sources = [
"block_unittest.mm",
+ ]
+ deps = [
+ ":common",
+ "//base",
+ "//testing/gtest",
+ ]
+}
+
+source_set("unit_tests") {
+ configs += [ "//build/config/compiler:enable_arc" ]
+ testonly = true
+ sources = [
"ns_regular_expression_unittest.mm",
"string_util_unittest.mm",
"x_callback_url_unittest.cc",
]
deps = [
":common",
+ ":noarc_unit_tests",
"//base",
"//testing/gtest",
]
« no previous file with comments | « no previous file | ios/chrome/common/ns_regular_expression_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698