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

Unified Diff: build/jar_file_jni_generator.gypi

Issue 920883002: Use combined native/manual JNI registration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Factor out common code in test 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/config/android/rules.gni ('k') | build/jni_generator.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/jar_file_jni_generator.gypi
diff --git a/build/jar_file_jni_generator.gypi b/build/jar_file_jni_generator.gypi
index 4c01c8a02c87da28a4cde94af55e52092e3400c9..9472c10be4035acf85209f60648681147304b0e3 100644
--- a/build/jar_file_jni_generator.gypi
+++ b/build/jar_file_jni_generator.gypi
@@ -73,5 +73,13 @@
'<(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/config/android/rules.gni ('k') | build/jni_generator.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698