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

Side by Side Diff: build/config/mac/rules.gni

Issue 2033403003: [iOS/GN] Add support for info_plist_target to ios_info_plist. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tweak_info_plist
Patch Set: Rebase on origin/master Created 4 years, 6 months 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 | « build/config/ios/rules.gni ('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 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 #
11 # info_plist: 11 # info_plist:
12 # string, the path to an plist file that will be included in the final 12 # (optional) string, path to the Info.plist file that will be used for
13 # Info.plist generated. 13 # the bundle.
14 #
15 # info_plist_target:
16 # (optional) string, if the info_plist is generated from an action,
17 # rather than a regular source file, specify the target name in lieu
18 # of info_plist. The two arguments are mutually exclusive.
14 # 19 #
15 # executable_name: 20 # executable_name:
16 # string, name of the generated target used for the product 21 # string, name of the generated target used for the product
17 # and executable name as specified in the output Info.plist. 22 # and executable name as specified in the output Info.plist.
18 # 23 #
19 # extra_substitutions: 24 # extra_substitutions:
20 # (optional) string array, 'key=value' pairs for extra fields which are 25 # (optional) string array, 'key=value' pairs for extra fields which are
21 # specified in a source Info.plist template. 26 # specified in a source Info.plist template.
22 template("mac_info_plist") { 27 template("mac_info_plist") {
23 assert(defined(invoker.info_plist) != defined(invoker.info_plist_target), 28 assert(defined(invoker.info_plist) != defined(invoker.info_plist_target),
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 ]) 363 ])
359 if (!defined(deps)) { 364 if (!defined(deps)) {
360 deps = [] 365 deps = []
361 } 366 }
362 deps += [ ":$_loadable_module_bundle_data" ] 367 deps += [ ":$_loadable_module_bundle_data" ]
363 368
364 bundle_root_dir = "$root_out_dir/$_output_name.plugin/Contents" 369 bundle_root_dir = "$root_out_dir/$_output_name.plugin/Contents"
365 bundle_executable_dir = "$bundle_root_dir/MacOS" 370 bundle_executable_dir = "$bundle_root_dir/MacOS"
366 } 371 }
367 } 372 }
OLDNEW
« no previous file with comments | « build/config/ios/rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698