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

Unified Diff: ios/web_view/BUILD.gn

Issue 2665333002: Add a BUILD target and a script to build a public static library for ios/web_view. (Closed)
Patch Set: Created 3 years, 11 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/web_view/internal/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/BUILD.gn
diff --git a/ios/web_view/BUILD.gn b/ios/web_view/BUILD.gn
index 1755748783f025fd9447a2945e68dbeaa39c27f5..84d7c7b1e7d0c466be798d600487ec90f281d5e1 100644
--- a/ios/web_view/BUILD.gn
+++ b/ios/web_view/BUILD.gn
@@ -12,3 +12,18 @@ group("web_view") {
"//ios/web_view/internal",
]
}
+
+# Build and use this .a file to use this library in apps outside Chromium
+# code base. This is a complete static library (containing all dependencies),
+# and it doesn't expose internal symbols to reduce risk of symbol conflict.
+copy("web_view_public") {
michaeldo 2017/02/03 17:27:52 I think lib_web_view is a better name for now. Pub
ichikawa 2017/02/06 05:46:37 Done.
+ deps = [
+ "//ios/web_view/internal:web_view_public",
+ ]
+ sources = [
+ "$target_out_dir/internal/libweb_view_public.a",
+ ]
+ outputs = [
+ "$target_out_dir/libweb_view_public.a",
+ ]
+}
« no previous file with comments | « no previous file | ios/web_view/internal/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698