OLD | NEW |
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/ios/ios_sdk.gni") | 5 import("//build/config/ios/ios_sdk.gni") |
6 import("//build/config/mac/base_rules.gni") | 6 import("//build/config/mac/base_rules.gni") |
7 import("//build/config/mac/symbols.gni") | 7 import("//build/config/mac/symbols.gni") |
8 | 8 |
9 # Invokes lipo on multiple arch-specific binaries to create a fat binary. | 9 # Invokes lipo on multiple arch-specific binaries to create a fat binary. |
10 # | 10 # |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 code_signing_sources = [ | 216 code_signing_sources = [ |
217 _entitlements_path, | 217 _entitlements_path, |
218 get_label_info(_bundle_binary_target, "target_out_dir") + | 218 get_label_info(_bundle_binary_target, "target_out_dir") + |
219 "/$_bundle_binary_output", | 219 "/$_bundle_binary_output", |
220 ] | 220 ] |
221 code_signing_outputs = [ "$_bundle_root_dir/$_output_name" ] | 221 code_signing_outputs = [ "$_bundle_root_dir/$_output_name" ] |
222 if (_enable_code_signing) { | 222 if (_enable_code_signing) { |
223 code_signing_outputs += | 223 code_signing_outputs += |
224 [ "$_bundle_root_dir/_CodeSignature/CodeResources" ] | 224 [ "$_bundle_root_dir/_CodeSignature/CodeResources" ] |
225 } | 225 } |
226 if (ios_code_signing_identity != "" && ios_sdk_name != "iphonesimulator") { | 226 if (ios_code_signing_identity != "" && !use_ios_simulator) { |
227 code_signing_outputs += [ "$_bundle_root_dir/embedded.mobileprovision" ] | 227 code_signing_outputs += [ "$_bundle_root_dir/embedded.mobileprovision" ] |
228 } | 228 } |
229 | 229 |
230 if (defined(invoker.extra_system_frameworks)) { | 230 if (defined(invoker.extra_system_frameworks)) { |
231 foreach(_framework, invoker.extra_system_frameworks) { | 231 foreach(_framework, invoker.extra_system_frameworks) { |
232 code_signing_outputs += [ "$bundle_root_dir/Frameworks/" + | 232 code_signing_outputs += [ "$bundle_root_dir/Frameworks/" + |
233 get_path_info(_framework, "file") ] | 233 get_path_info(_framework, "file") ] |
234 } | 234 } |
235 } | 235 } |
236 | 236 |
(...skipping 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1341 "-rpath", | 1341 "-rpath", |
1342 "-Xlinker", | 1342 "-Xlinker", |
1343 "@loader_path/Frameworks", | 1343 "@loader_path/Frameworks", |
1344 ] | 1344 ] |
1345 } | 1345 } |
1346 } | 1346 } |
1347 | 1347 |
1348 set_defaults("ios_xctest_test") { | 1348 set_defaults("ios_xctest_test") { |
1349 configs = default_executable_configs | 1349 configs = default_executable_configs |
1350 } | 1350 } |
OLD | NEW |