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

Unified Diff: webrtc/build/webrtc.gni

Issue 2478663002: Add build flag to enable bitcode on ios (Closed)
Patch Set: Add clarifying comment 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 | « webrtc/build/ios/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/build/webrtc.gni
diff --git a/webrtc/build/webrtc.gni b/webrtc/build/webrtc.gni
index e6cf3387a61288ab2d9f534cd02f07d1c42575cd..2198792cef26dc0dd27d81a3e69eb19613c88748 100644
--- a/webrtc/build/webrtc.gni
+++ b/webrtc/build/webrtc.gni
@@ -172,7 +172,7 @@ webrtc_root = get_path_info("../", "abspath")
# It sets defines, include paths and compilation warnings accordingly,
# both for WebRTC stand-alone builds and for the scenario when WebRTC
# native code is built as part of Chromium.
-rtc_common_config = webrtc_root + ":common_config"
+rtc_common_configs = [ webrtc_root + ":common_config" ]
# Global public configuration that should be applied to all WebRTC targets. You
# normally shouldn't need to include this in your target as it's automatically
@@ -181,9 +181,13 @@ rtc_common_config = webrtc_root + ":common_config"
# depending on the target having this config.
rtc_common_inherited_config = webrtc_root + ":common_inherited_config"
+if (is_ios) {
+ rtc_common_configs += [ webrtc_root + "/build/ios:rtc_ios_common_config" ]
+}
+
# Common configs to remove or add in all rtc targets.
rtc_remove_configs = []
-rtc_add_configs = [ rtc_common_config ]
+rtc_add_configs = rtc_common_configs
set_defaults("rtc_test") {
configs = rtc_add_configs
« no previous file with comments | « webrtc/build/ios/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698