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

Unified Diff: build/jni_generator.gypi

Issue 953523003: Make combined native/manual JNI registration work for clang. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« build/jar_file_jni_generator.gypi ('K') | « build/jar_file_jni_generator.gypi ('k') | no next file » | 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 853b5f6e789bf11fc3b9310a6bb7cc2da12a6ad0..c2c71e763cf23666465a229a9f89ebaa93182b7e 100644
--- a/build/jni_generator.gypi
+++ b/build/jni_generator.gypi
@@ -36,7 +36,7 @@
'jni_generator_includes%': (
'base/android/jni_generator/jni_generator_helper.h'
),
- 'native_exports%': '',
+ 'native_exports%': '--native_exports_optional',
},
'rules': [
{
@@ -92,14 +92,6 @@
'<(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',
- },
- }],
],
}
« build/jar_file_jni_generator.gypi ('K') | « build/jar_file_jni_generator.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698