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

Side by Side Diff: build/config/ios/BUILD.gn

Issue 2166663003: [iOS] Define build/config/ios:ios_dynamic_flags for default linker flags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove -Xlinker -objc_abi_version -Xlinker 2. Created 4 years, 5 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/BUILD.gn ('k') | build/config/ios/rules.gni » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/sysroot.gni") 6 import("//build/config/sysroot.gni")
7 import("//build/toolchain/toolchain.gni") 7 import("//build/toolchain/toolchain.gni")
8 8
9 # This is included by reference in the //build/config/compiler:runtime_library 9 # This is included by reference in the //build/config/compiler:runtime_library
10 # config that is applied to all targets. It is here to separate out the logic 10 # config that is applied to all targets. It is here to separate out the logic
(...skipping 19 matching lines...) Expand all
30 30
31 # TODO(ios): Remove once Xcode's libc++ has LLVM r256325. 31 # TODO(ios): Remove once Xcode's libc++ has LLVM r256325.
32 if (use_xcode_clang) { 32 if (use_xcode_clang) {
33 cflags += [ 33 cflags += [
34 "-isystem", 34 "-isystem",
35 rebase_path("//third_party/llvm-build/Release+Asserts/include/c++/v1", 35 rebase_path("//third_party/llvm-build/Release+Asserts/include/c++/v1",
36 root_build_dir), 36 root_build_dir),
37 ] 37 ]
38 } 38 }
39 } 39 }
40
41 config("ios_dynamic_flags") {
42 ldflags = [ "-Wl,-ObjC" ] # Always load Objective-C categories and class.
43 }
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | build/config/ios/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698