Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 = [ | |
| 43 "-Wl,-ObjC", # Always load Objective-C categories and class. | |
| 44 "-Xlinker", | |
| 45 "-objc_abi_version", | |
|
Robert Sesek
2016/07/20 16:21:07
I'm not familiar with this. Why is it required?
| |
| 46 "-Xlinker", | |
| 47 "2", | |
| 48 ] | |
| 49 } | |
| OLD | NEW |