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

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

Issue 2412353003: Remove direct references to hermetic mac toolchain. (Closed)
Patch Set: Remove unused import. Created 4 years, 2 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
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 25 matching lines...) Expand all
36 _info_plist = _info_plist_target_output[0] 36 _info_plist = _info_plist_target_output[0]
37 } 37 }
38 38
39 info_plist(target_name) { 39 info_plist(target_name) {
40 format = "xml1" 40 format = "xml1"
41 extra_substitutions = [] 41 extra_substitutions = []
42 if (defined(invoker.extra_substitutions)) { 42 if (defined(invoker.extra_substitutions)) {
43 extra_substitutions = invoker.extra_substitutions 43 extra_substitutions = invoker.extra_substitutions
44 } 44 }
45 extra_substitutions += [ 45 extra_substitutions += [
46 "MAC_SDK_BUILD=$mac_sdk_build", 46 "MAC_SDK_BUILD=$mac_sdk_version",
47 "MAC_SDK_NAME=$mac_sdk_name$mac_sdk_version", 47 "MAC_SDK_NAME=$mac_sdk_name$mac_sdk_version",
48 ] 48 ]
49 plist_templates = [ 49 plist_templates = [
50 "//build/config/mac/BuildInfo.plist", 50 "//build/config/mac/BuildInfo.plist",
51 _info_plist, 51 _info_plist,
52 ] 52 ]
53 if (defined(invoker.info_plist_target)) { 53 if (defined(invoker.info_plist_target)) {
54 deps = [ 54 deps = [
55 invoker.info_plist_target, 55 invoker.info_plist_target,
56 ] 56 ]
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 ]) 632 ])
633 if (!defined(deps)) { 633 if (!defined(deps)) {
634 deps = [] 634 deps = []
635 } 635 }
636 deps += [ ":$_loadable_module_bundle_data" ] 636 deps += [ ":$_loadable_module_bundle_data" ]
637 637
638 bundle_root_dir = "$root_out_dir/$_output_name.plugin/Contents" 638 bundle_root_dir = "$root_out_dir/$_output_name.plugin/Contents"
639 bundle_executable_dir = "$bundle_root_dir/MacOS" 639 bundle_executable_dir = "$bundle_root_dir/MacOS"
640 } 640 }
641 } 641 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698