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

Unified Diff: build/config/libc++/BUILD.gn

Issue 2931983003: Move libc++ configs and flags out of //build/config/sanitizers (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
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),
+ ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698