| 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 = [ "-Wl,-ObjC" ] # Always load Objective-C categories and class. |
| 43 } |
| OLD | NEW |