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

Unified Diff: third_party/libc++/BUILD.gn

Issue 2946073002: Fix libc++ ARM build (Closed)
Patch Set: Condition on is_linux too 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
« no previous file with comments | « DEPS ('k') | third_party/libc++abi/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libc++/BUILD.gn
diff --git a/third_party/libc++/BUILD.gn b/third_party/libc++/BUILD.gn
index d87f38bd803effb429cd80d24ae4b2e5ba537df1..6966e453eef0143b87a0cd67c3c123d0e93194c3 100644
--- a/third_party/libc++/BUILD.gn
+++ b/third_party/libc++/BUILD.gn
@@ -46,6 +46,10 @@ config("config") {
"-isystem" + rebase_path("../libc++abi/trunk/include", root_build_dir),
"-std=c++11",
]
+ if (is_linux && target_cpu == "arm") {
+ cflags_c = [ "-isystem" + rebase_path("../libunwind/trunk/include", root_build_dir) ]
+ cflags_cc += [ "-isystem" + rebase_path("../libunwind/trunk/include", root_build_dir) ]
+ }
}
config("no_libstdcpp") {
« no previous file with comments | « DEPS ('k') | third_party/libc++abi/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698