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

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

Issue 1964393002: [GN] New template convert_plist to convert a plist file to another format. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | build/config/mac/base_rules.gni » ('j') | 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 #
(...skipping 21 matching lines...) Expand all
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
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 }
OLDNEW
« no previous file with comments | « no previous file | build/config/mac/base_rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698