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

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

Issue 2024673002: [iOS] Always pass "-ObjC" when linking iOS executables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@{1}
Patch Set: Rebase on top of https://codereview.chromium.org/2019403002 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 | no next file » | 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/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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 "output_name", 134 "output_name",
135 "product_type", 135 "product_type",
136 "visibility", 136 "visibility",
137 ]) 137 ])
138 138
139 output_name = rebase_path("$target_gen_dir/$_output_name", root_out_dir) 139 output_name = rebase_path("$target_gen_dir/$_output_name", root_out_dir)
140 if (!defined(libs)) { 140 if (!defined(libs)) {
141 libs = [] 141 libs = []
142 } 142 }
143 libs += [ "UIKit.framework" ] 143 libs += [ "UIKit.framework" ]
144 if (!defined(ldflags)) {
145 ldflags = []
146 }
147 ldflags += [ "-ObjC" ]
144 } 148 }
145 149
146 bundle_data(_bundle_data_executable) { 150 bundle_data(_bundle_data_executable) {
147 forward_variables_from(invoker, [ "testonly" ]) 151 forward_variables_from(invoker, [ "testonly" ])
148 visibility = [ ":$_target_name" ] 152 visibility = [ ":$_target_name" ]
149 sources = [ 153 sources = [
150 "$target_gen_dir/$_output_name", 154 "$target_gen_dir/$_output_name",
151 ] 155 ]
152 outputs = [ 156 outputs = [
153 "{{bundle_executable_dir}}/$_output_name", 157 "{{bundle_executable_dir}}/$_output_name",
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 [ 497 [
494 "testonly", 498 "testonly",
495 "visibility", 499 "visibility",
496 ]) 500 ])
497 public_deps = [ 501 public_deps = [
498 ":$_framework_target+link", 502 ":$_framework_target+link",
499 ] 503 ]
500 } 504 }
501 } 505 }
502 } 506 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698