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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « webrtc/build/ios/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 import("//build/config/features.gni") 10 import("//build/config/features.gni")
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 # We need absolute paths for all configs in templates as they are shared in 165 # We need absolute paths for all configs in templates as they are shared in
166 # different subdirectories. 166 # different subdirectories.
167 webrtc_root = get_path_info("../", "abspath") 167 webrtc_root = get_path_info("../", "abspath")
168 168
169 # Global configuration that should be applied to all WebRTC targets. 169 # Global configuration that should be applied to all WebRTC targets.
170 # You normally shouldn't need to include this in your target as it's 170 # You normally shouldn't need to include this in your target as it's
171 # automatically included when using the rtc_* templates. 171 # automatically included when using the rtc_* templates.
172 # It sets defines, include paths and compilation warnings accordingly, 172 # It sets defines, include paths and compilation warnings accordingly,
173 # both for WebRTC stand-alone builds and for the scenario when WebRTC 173 # both for WebRTC stand-alone builds and for the scenario when WebRTC
174 # native code is built as part of Chromium. 174 # native code is built as part of Chromium.
175 rtc_common_config = webrtc_root + ":common_config" 175 rtc_common_configs = [ webrtc_root + ":common_config" ]
176 176
177 # Global public configuration that should be applied to all WebRTC targets. You 177 # Global public configuration that should be applied to all WebRTC targets. You
178 # normally shouldn't need to include this in your target as it's automatically 178 # normally shouldn't need to include this in your target as it's automatically
179 # included when using the rtc_* templates. It set the defines, include paths and 179 # included when using the rtc_* templates. It set the defines, include paths and
180 # compilation warnings that should be propagated to dependents of the targets 180 # compilation warnings that should be propagated to dependents of the targets
181 # depending on the target having this config. 181 # depending on the target having this config.
182 rtc_common_inherited_config = webrtc_root + ":common_inherited_config" 182 rtc_common_inherited_config = webrtc_root + ":common_inherited_config"
183 183
184 if (is_ios) {
185 rtc_common_configs += [ webrtc_root + "/build/ios:rtc_ios_common_config" ]
186 }
187
184 # Common configs to remove or add in all rtc targets. 188 # Common configs to remove or add in all rtc targets.
185 rtc_remove_configs = [] 189 rtc_remove_configs = []
186 rtc_add_configs = [ rtc_common_config ] 190 rtc_add_configs = rtc_common_configs
187 191
188 set_defaults("rtc_test") { 192 set_defaults("rtc_test") {
189 configs = rtc_add_configs 193 configs = rtc_add_configs
190 suppressed_configs = [] 194 suppressed_configs = []
191 } 195 }
192 196
193 set_defaults("rtc_source_set") { 197 set_defaults("rtc_source_set") {
194 configs = rtc_add_configs 198 configs = rtc_add_configs
195 suppressed_configs = [] 199 suppressed_configs = []
196 } 200 }
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 ]) 306 ])
303 configs += invoker.configs 307 configs += invoker.configs
304 configs -= rtc_remove_configs 308 configs -= rtc_remove_configs
305 configs -= invoker.suppressed_configs 309 configs -= invoker.suppressed_configs
306 public_configs = [ rtc_common_inherited_config ] 310 public_configs = [ rtc_common_inherited_config ]
307 if (defined(invoker.public_configs)) { 311 if (defined(invoker.public_configs)) {
308 public_configs += invoker.public_configs 312 public_configs += invoker.public_configs
309 } 313 }
310 } 314 }
311 } 315 }
OLDNEW
« 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