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

Unified Diff: build/config/compiler/BUILD.gn

Issue 132833002: Improves GN's make_global_settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « no previous file | build/toolchain/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 623e81693617b97c0c7b55c396feef3be6d5b86f..87f7f53dfece8cdd3d129d1eebc146b05f9d71c9 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -173,8 +173,11 @@ config("compiler") {
"-ffunction-sections",
"-funwind-tables",
"-fno-short-enums",
- "-finline-limit=64",
]
+ if (!is_clang) {
+ # Clang doesn't support this one.
+ cflags += [ "-finline-limit=64" ]
+ }
if (is_android_webview_build) {
# Android predefines this as 1; undefine it here so Chromium can redefine
# it later to be 2 for chromium code and unset for third party code. This
« no previous file with comments | « no previous file | build/toolchain/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698