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

Unified Diff: ios/showcase/core/BUILD.gn

Issue 2789433004: Add tools for code coverage support in iOS. (Closed)
Patch Set: Created 3 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/showcase/core/BUILD.gn
diff --git a/ios/showcase/core/BUILD.gn b/ios/showcase/core/BUILD.gn
index 873441185d0b778b9b40efaa227f1b9e95c7d983..30e988292b58b59a22551622f20f094c8458fb9d 100644
--- a/ios/showcase/core/BUILD.gn
+++ b/ios/showcase/core/BUILD.gn
@@ -19,6 +19,10 @@ source_set("core") {
"//ios/third_party/material_roboto_font_loader_ios",
"//ui/base",
]
+ cflags = [
+ "-fprofile-instr-generate",
+ "-fcoverage-mapping",
lpromero 2017/03/31 11:22:06 Can this be added with a config, like enable_arc b
+ ]
libs = [ "UIKit.framework" ]
configs += [ "//build/config/compiler:enable_arc" ]
}

Powered by Google App Engine
This is Rietveld 408576698