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

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

Issue 1871143002: [Mac/GN] Use the right output name for Mac frameworks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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 | ui/base/BUILD.gn » ('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/toolchain/toolchain.gni") 5 import("//build/toolchain/toolchain.gni")
6 6
7 # This is used as the base template for both iOS and Mac frameworks.. 7 # This is used as the base template for both iOS and Mac frameworks..
8 # 8 #
9 # Arguments 9 # Arguments
10 # 10 #
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 visibility = [ ":$_shared_library_bundle_data" ] 47 visibility = [ ":$_shared_library_bundle_data" ]
48 forward_variables_from(invoker, 48 forward_variables_from(invoker,
49 "*", 49 "*",
50 [ 50 [
51 "assert_no_deps", 51 "assert_no_deps",
52 "data_deps", 52 "data_deps",
53 "info_plist", 53 "info_plist",
54 "output_name", 54 "output_name",
55 "visibility", 55 "visibility",
56 ]) 56 ])
57 output_name = _output_name
58 output_prefix_override = true
59 output_extension = ""
57 } 60 }
58 61
59 bundle_data(_shared_library_bundle_data) { 62 bundle_data(_shared_library_bundle_data) {
60 visibility = [ ":$_framework_target" ] 63 visibility = [ ":$_framework_target" ]
61 forward_variables_from(invoker, [ "testonly" ]) 64 forward_variables_from(invoker, [ "testonly" ])
62 sources = [ 65 sources = [
63 "$root_out_dir/${shlib_prefix}${_shared_library_target}${shlib_extension}" , 66 "$root_out_dir/${_output_name}",
64 ] 67 ]
65 outputs = [ 68 outputs = [
66 "{{bundle_executable_dir}}/$_output_name", 69 "{{bundle_executable_dir}}/$_output_name",
67 ] 70 ]
68 public_deps = [ 71 public_deps = [
69 ":$_shared_library_target", 72 ":$_shared_library_target",
70 ] 73 ]
71 } 74 }
72 75
73 create_bundle(_framework_target) { 76 create_bundle(_framework_target) {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 164
162 framework_bundle(target_name) { 165 framework_bundle(target_name) {
163 forward_variables_from(invoker, "*", [ "info_plist" ]) 166 forward_variables_from(invoker, "*", [ "info_plist" ])
164 167
165 if (!defined(deps)) { 168 if (!defined(deps)) {
166 deps = [] 169 deps = []
167 } 170 }
168 deps += [ ":$_info_plist_bundle_data" ] 171 deps += [ ":$_info_plist_bundle_data" ]
169 } 172 }
170 } 173 }
OLDNEW
« no previous file with comments | « no previous file | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698