Chromium Code Reviews| Index: build/config/libc++/BUILD.gn |
| diff --git a/build/config/libc++/BUILD.gn b/build/config/libc++/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..fd3b40e8c44441574fedb3ecedfdabdb392f88e0 |
| --- /dev/null |
| +++ b/build/config/libc++/BUILD.gn |
| @@ -0,0 +1,13 @@ |
| +import("//build/config/libc++/libc++.gni") |
|
brettw
2017/06/12 17:55:18
This file and the next one need the copyright head
Tom Anderson
2017/06/16 20:49:50
Done.
|
| + |
| +config("libc++flags") { |
| + if (use_custom_libcxx) { |
| + prefix = "//buildtools/third_party" |
| + include = "trunk/include" |
| + cflags_cc = [ |
| + "-nostdinc++", |
| + "-isystem" + rebase_path("$prefix/libc++/$include", root_build_dir), |
| + "-isystem" + rebase_path("$prefix/libc++abi/$include", root_build_dir), |
| + ] |
| + } |
| +} |