| OLD | NEW |
| 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 import("//build/config/mac/symbols.gni") | 8 import("//build/config/mac/symbols.gni") |
| 9 | 9 |
| 10 if (is_mac) { | 10 if (is_mac) { |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 code_signing_sources = [ | 492 code_signing_sources = [ |
| 493 _entitlements_path, | 493 _entitlements_path, |
| 494 "$_shared_library_dir/$_output_name", | 494 "$_shared_library_dir/$_output_name", |
| 495 ] | 495 ] |
| 496 code_signing_outputs = [ | 496 code_signing_outputs = [ |
| 497 "$bundle_root_dir/$_output_name", | 497 "$bundle_root_dir/$_output_name", |
| 498 "$bundle_root_dir/_CodeSignature/CodeResources", | 498 "$bundle_root_dir/_CodeSignature/CodeResources", |
| 499 "$bundle_root_dir/embedded.mobileprovision", | 499 "$bundle_root_dir/embedded.mobileprovision", |
| 500 ] | 500 ] |
| 501 code_signing_args = [ | 501 code_signing_args = [ |
| 502 "-e=" + rebase_path(_entitlements_path, root_build_dir), |
| 503 "code-sign-bundle", |
| 502 "-i=" + ios_code_signing_identity, | 504 "-i=" + ios_code_signing_identity, |
| 503 "-b=" + | 505 "-b=" + |
| 504 rebase_path("$_shared_library_dir/$_output_name", root_build_dir), | 506 rebase_path("$_shared_library_dir/$_output_name", root_build_dir), |
| 505 "-e=" + rebase_path(_entitlements_path, root_build_dir), | |
| 506 rebase_path(bundle_root_dir, root_build_dir), | 507 rebase_path(bundle_root_dir, root_build_dir), |
| 507 ] | 508 ] |
| 508 } | 509 } |
| 509 } | 510 } |
| 510 | 511 |
| 511 if (defined(_framework_version)) { | 512 if (defined(_framework_version)) { |
| 512 action(_target_name) { | 513 action(_target_name) { |
| 513 forward_variables_from(invoker, [ "testonly" ]) | 514 forward_variables_from(invoker, [ "testonly" ]) |
| 514 | 515 |
| 515 if (defined(invoker.visibility)) { | 516 if (defined(invoker.visibility)) { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 ] | 581 ] |
| 581 args = | 582 args = |
| 582 [ | 583 [ |
| 583 "--input", | 584 "--input", |
| 584 "{{source}}", | 585 "{{source}}", |
| 585 "--output", | 586 "--output", |
| 586 rebase_path("$target_gen_dir/$target_name/{{source_name_part}}.nib"), | 587 rebase_path("$target_gen_dir/$target_name/{{source_name_part}}.nib"), |
| 587 ] + ibtool_flags | 588 ] + ibtool_flags |
| 588 } | 589 } |
| 589 } | 590 } |
| OLD | NEW |