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

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

Issue 2055673002: [Mac/GN] Add //build/config/mac/package_framework.py. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments 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 | « no previous file | build/config/mac/package_framework.py » ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 # This file contains rules that are shared between Mac and iOS. 5 # This file contains rules that are shared between Mac and iOS.
6 6
7 import("//build/toolchain/toolchain.gni") 7 import("//build/toolchain/toolchain.gni")
8 8
9 if (is_mac) { 9 if (is_mac) {
10 import("//build/config/mac/mac_sdk.gni") 10 import("//build/config/mac/mac_sdk.gni")
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 305
306 if (defined(_framework_version)) { 306 if (defined(_framework_version)) {
307 action(_target_name) { 307 action(_target_name) {
308 forward_variables_from(invoker, [ "testonly" ]) 308 forward_variables_from(invoker, [ "testonly" ])
309 309
310 if (defined(invoker.visibility)) { 310 if (defined(invoker.visibility)) {
311 visibility = invoker.visibility 311 visibility = invoker.visibility
312 visibility += [ ":$_target_name+link" ] 312 visibility += [ ":$_target_name+link" ]
313 } 313 }
314 314
315 script = "$root_out_dir/gyp-mac-tool" 315 script = "//build/config/mac/package_framework.py"
316 outputs = [ 316 outputs = [
317 "$root_out_dir/$_framework_name/Versions/Current", 317 "$root_out_dir/$_framework_name/Versions/Current",
318 ] 318 ]
319 args = [ 319 args = [
320 "package-framework",
321 "$_framework_name", 320 "$_framework_name",
322 "$_framework_version", 321 "$_framework_version",
323 ] 322 ]
324 public_deps = [ 323 public_deps = [
325 ":$_framework_target", 324 ":$_framework_target",
326 ] 325 ]
327 } 326 }
328 } 327 }
329 328
330 group(_target_name + "+link") { 329 group(_target_name + "+link") {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 "$target_gen_dir/{{source_name_part}}.nib", 369 "$target_gen_dir/{{source_name_part}}.nib",
371 ] 370 ]
372 args = [ 371 args = [
373 "--input", 372 "--input",
374 "{{source}}", 373 "{{source}}",
375 "--output", 374 "--output",
376 rebase_path("$target_gen_dir/{{source_name_part}}.nib"), 375 rebase_path("$target_gen_dir/{{source_name_part}}.nib"),
377 ] + ibtool_flags 376 ] + ibtool_flags
378 } 377 }
379 } 378 }
OLDNEW
« no previous file with comments | « no previous file | build/config/mac/package_framework.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698