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/mac/base_rules.gni") | 5 import("//build/config/mac/base_rules.gni") |
6 | 6 |
7 # Generates Info.plist files for Mac apps and frameworks. | 7 # Generates Info.plist files for Mac apps and frameworks. |
8 # | 8 # |
9 # Arguments | 9 # Arguments |
10 # | 10 # |
(...skipping 21 matching lines...) Expand all Loading... |
32 "IOS_PLATFORM_NAME=$ios_sdk_name", | 32 "IOS_PLATFORM_NAME=$ios_sdk_name", |
33 "IOS_PLATFORM_VERSION=$ios_sdk_version", | 33 "IOS_PLATFORM_VERSION=$ios_sdk_version", |
34 "IOS_SDK_BUILD=$ios_sdk_build", | 34 "IOS_SDK_BUILD=$ios_sdk_build", |
35 "IOS_SDK_NAME=$ios_sdk_name$ios_sdk_version", | 35 "IOS_SDK_NAME=$ios_sdk_name$ios_sdk_version", |
36 "IOS_SUPPORTED_PLATFORM=$ios_sdk_platform", | 36 "IOS_SUPPORTED_PLATFORM=$ios_sdk_platform", |
37 ] | 37 ] |
38 plist_templates = [ | 38 plist_templates = [ |
39 "//build/config/ios/BuildInfo.plist", | 39 "//build/config/ios/BuildInfo.plist", |
40 invoker.info_plist, | 40 invoker.info_plist, |
41 ] | 41 ] |
42 forward_variables_from(invoker, [ "executable_name" ]) | 42 forward_variables_from(invoker, |
| 43 [ |
| 44 "executable_name", |
| 45 "visibility", |
| 46 ]) |
43 } | 47 } |
44 } | 48 } |
45 | 49 |
46 # TODO(crbug.com/297668): refactor this template to extract common behaviour | 50 # TODO(crbug.com/297668): refactor this template to extract common behaviour |
47 # between OS X and iOS bundle generation, then create a generic "app" template | 51 # between OS X and iOS bundle generation, then create a generic "app" template |
48 # that forward to "executable" on all platform except iOS/OS X. | 52 # that forward to "executable" on all platform except iOS/OS X. |
49 | 53 |
50 # Template to build an application bundle for iOS. | 54 # Template to build an application bundle for iOS. |
51 # | 55 # |
52 # This should be used instead of "executable" built-in target type on iOS. | 56 # This should be used instead of "executable" built-in target type on iOS. |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 [ | 427 [ |
424 "testonly", | 428 "testonly", |
425 "visibility", | 429 "visibility", |
426 ]) | 430 ]) |
427 public_deps = [ | 431 public_deps = [ |
428 ":$_framework_target+link", | 432 ":$_framework_target+link", |
429 ] | 433 ] |
430 } | 434 } |
431 } | 435 } |
432 } | 436 } |
OLD | NEW |