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

Unified Diff: webrtc/build/ios/BUILD.gn

Issue 2478663002: Add build flag to enable bitcode on ios (Closed)
Patch Set: Created 4 years, 1 month 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 | webrtc/build/webrtc.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/build/ios/BUILD.gn
diff --git a/webrtc/examples/androidapp/third_party/autobanh/BUILD.gn b/webrtc/build/ios/BUILD.gn
similarity index 64%
copy from webrtc/examples/androidapp/third_party/autobanh/BUILD.gn
copy to webrtc/build/ios/BUILD.gn
index d5f6b0f2d6a043aa2b439e30648e39cbd5bc20d1..4446184bec6c823c67f250e48a6a1963fc39cafd 100644
--- a/webrtc/examples/androidapp/third_party/autobanh/BUILD.gn
+++ b/webrtc/build/ios/BUILD.gn
@@ -6,8 +6,15 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
-import("//build/config/android/rules.gni")
+# this file is only meant to be included on iOS.
kjellander_webrtc 2016/11/07 11:17:35 Start comment with capital letter.
kthelgason 2016/11/09 09:42:40 Done.
+assert(is_ios)
-android_java_prebuilt("autobanh_java") {
- jar_path = "lib/autobanh.jar"
+declare_args() {
+ rtc_ios_enable_bitcode = false
kjellander_webrtc 2016/11/07 11:17:35 Please add a line documenting what this does and w
kthelgason 2016/11/09 09:42:40 Done.
+}
+
+config("rtc_ios_common_config") {
+ if (rtc_ios_enable_bitcode) {
+ cflags = [ "-fembed-bitcode" ]
+ }
}
« no previous file with comments | « no previous file | webrtc/build/webrtc.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698