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

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

Issue 1927273002: [Mac/GN] Add a BUILD.gn file for //chrome/app_shim. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-chrome-tools
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 | chrome/app_shim/BUILD.gn » ('j') | chrome/app_shim/BUILD.gn » ('J')
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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 visibility = [ ":$_executable_bundle_data" ] 179 visibility = [ ":$_executable_bundle_data" ]
180 forward_variables_from(invoker, 180 forward_variables_from(invoker,
181 "*", 181 "*",
182 [ 182 [
183 "assert_no_deps", 183 "assert_no_deps",
184 "data_deps", 184 "data_deps",
185 "info_plist", 185 "info_plist",
186 "output_name", 186 "output_name",
187 "visibility", 187 "visibility",
188 ]) 188 ])
189 if (defined(add_configs)) {
190 configs += add_configs
191 }
189 output_name = _output_name 192 output_name = _output_name
190 output_dir = "$target_out_dir/$_executable_target" 193 output_dir = "$target_out_dir/$_executable_target"
191 } 194 }
192 195
193 bundle_data(_executable_bundle_data) { 196 bundle_data(_executable_bundle_data) {
194 visibility = [ ":$_target_name" ] 197 visibility = [ ":$_target_name" ]
195 forward_variables_from(invoker, [ "testonly" ]) 198 forward_variables_from(invoker, [ "testonly" ])
196 sources = [ 199 sources = [
197 "$target_out_dir/$_executable_target/$_output_name", 200 "$target_out_dir/$_executable_target/$_output_name",
198 ] 201 ]
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 ]) 305 ])
303 if (!defined(deps)) { 306 if (!defined(deps)) {
304 deps = [] 307 deps = []
305 } 308 }
306 deps += [ ":$_loadable_module_bundle_data" ] 309 deps += [ ":$_loadable_module_bundle_data" ]
307 310
308 bundle_root_dir = "$root_out_dir/$_output_name.plugin/Contents" 311 bundle_root_dir = "$root_out_dir/$_output_name.plugin/Contents"
309 bundle_executable_dir = "$bundle_root_dir/MacOS" 312 bundle_executable_dir = "$bundle_root_dir/MacOS"
310 } 313 }
311 } 314 }
OLDNEW
« no previous file with comments | « no previous file | chrome/app_shim/BUILD.gn » ('j') | chrome/app_shim/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698