OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ios/ios_sdk.gni") | 5 import("//build/config/ios/ios_sdk.gni") |
6 import("//build/config/mac/base_rules.gni") | 6 import("//build/config/mac/base_rules.gni") |
7 import("//build/config/mac/symbols.gni") | 7 import("//build/config/mac/symbols.gni") |
8 | 8 |
9 # Invokes lipo on multiple arch-specific binaries to create a fat binary. | 9 # Invokes lipo on multiple arch-specific binaries to create a fat binary. |
10 # | 10 # |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 _info_plist = _info_plist_target_output[0] | 288 _info_plist = _info_plist_target_output[0] |
289 } | 289 } |
290 | 290 |
291 info_plist(target_name) { | 291 info_plist(target_name) { |
292 format = "binary1" | 292 format = "binary1" |
293 extra_substitutions = [] | 293 extra_substitutions = [] |
294 if (defined(invoker.extra_substitutions)) { | 294 if (defined(invoker.extra_substitutions)) { |
295 extra_substitutions = invoker.extra_substitutions | 295 extra_substitutions = invoker.extra_substitutions |
296 } | 296 } |
297 extra_substitutions += [ | 297 extra_substitutions += [ |
| 298 "IOS_BUNDLE_ID_PREFIX=$ios_app_bundle_id_prefix", |
298 "IOS_DEPLOYMENT_TARGET=$ios_deployment_target", | 299 "IOS_DEPLOYMENT_TARGET=$ios_deployment_target", |
299 "IOS_PLATFORM_BUILD=$ios_platform_build", | 300 "IOS_PLATFORM_BUILD=$ios_platform_build", |
300 "IOS_PLATFORM_NAME=$ios_sdk_name", | 301 "IOS_PLATFORM_NAME=$ios_sdk_name", |
301 "IOS_PLATFORM_VERSION=$ios_sdk_version", | 302 "IOS_PLATFORM_VERSION=$ios_sdk_version", |
302 "IOS_SDK_BUILD=$ios_sdk_build", | 303 "IOS_SDK_BUILD=$ios_sdk_build", |
303 "IOS_SDK_NAME=$ios_sdk_name$ios_sdk_version", | 304 "IOS_SDK_NAME=$ios_sdk_name$ios_sdk_version", |
304 "IOS_SUPPORTED_PLATFORM=$ios_sdk_platform", | 305 "IOS_SUPPORTED_PLATFORM=$ios_sdk_platform", |
305 ] | 306 ] |
306 plist_templates = [ | 307 plist_templates = [ |
307 "//build/config/ios/BuildInfo.plist", | 308 "//build/config/ios/BuildInfo.plist", |
(...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1341 "-rpath", | 1342 "-rpath", |
1342 "-Xlinker", | 1343 "-Xlinker", |
1343 "@loader_path/Frameworks", | 1344 "@loader_path/Frameworks", |
1344 ] | 1345 ] |
1345 } | 1346 } |
1346 } | 1347 } |
1347 | 1348 |
1348 set_defaults("ios_xctest_test") { | 1349 set_defaults("ios_xctest_test") { |
1349 configs = default_executable_configs | 1350 configs = default_executable_configs |
1350 } | 1351 } |
OLD | NEW |