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

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

Issue 2363953004: Ensure the sanitizer runtime library is copied to app bundle if enabled. (Closed)
Patch Set: Address reviewers comments. Created 4 years, 2 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 | « build/config/ios/codesign.py ('k') | build/config/sanitizers/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/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
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
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 }
OLDNEW
« no previous file with comments | « build/config/ios/codesign.py ('k') | build/config/sanitizers/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698