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" ] |
+ } |
} |