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

Unified Diff: build/jni_generator.gypi

Issue 952893003: Update from https://crrev.com/317530 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix gn for nacl Created 5 years, 10 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 | « build/jar_file_jni_generator.gypi ('k') | build/json_schema_api.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/jni_generator.gypi
diff --git a/build/jni_generator.gypi b/build/jni_generator.gypi
index 6edc512ecf4db7bd7700ab7399fcc088a5ae3e31..853b5f6e789bf11fc3b9310a6bb7cc2da12a6ad0 100644
--- a/build/jni_generator.gypi
+++ b/build/jni_generator.gypi
@@ -92,6 +92,14 @@
'<(DEPTH)/build/android/android_exports.gyp:android_exports',
],
}],
+ ['clang==0', {
+ # Clang builds currently fail with --native_exports_optional due to
+ # http://llvm.org/bugs/show_bug.cgi?id=22602 - only enable for gcc.
+ # http://crbug.com/442327
+ 'variables': {
+ 'native_exports%': '--native_exports_optional',
+ },
+ }],
],
}
« no previous file with comments | « build/jar_file_jni_generator.gypi ('k') | build/json_schema_api.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698