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

Unified Diff: remoting/remoting.gyp

Issue 29583003: Use jni_generator in Chromoting Android client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Created 7 years, 2 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 | « remoting/client/jni/jni_interface.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/remoting.gyp
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp
index 49abcf7609e187cf4fc6447f6edac42a9b38f857..57f1c7cdce8df3fce5878f87ebb4a1d15499f87f 100644
--- a/remoting/remoting.gyp
+++ b/remoting/remoting.gyp
@@ -1799,25 +1799,40 @@
['OS=="android"', {
'targets': [
{
+ 'target_name': 'remoting_jni_headers',
+ 'type': 'none',
+ 'sources': [
+ 'android/java/src/org/chromium/chromoting/jni/JniInterface.java',
+ ],
+ 'variables': {
+ 'jni_gen_package': 'remoting',
+ },
+ 'includes': [ '../build/jni_generator.gypi' ],
+ }, # end of target 'remoting_jni_headers'
+ {
'target_name': 'remoting_client_jni',
'type': 'shared_library',
'dependencies': [
'remoting_base',
'remoting_client',
'remoting_jingle_glue',
+ 'remoting_jni_headers',
'remoting_protocol',
'../google_apis/google_apis.gyp:google_apis',
],
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)/remoting',
+ ],
'sources': [
'client/jni/android_keymap.cc',
'client/jni/android_keymap.h',
'client/jni/chromoting_jni_instance.cc',
'client/jni/chromoting_jni_instance.h',
+ 'client/jni/chromoting_jni_onload.cc',
'client/jni/chromoting_jni_runtime.cc',
'client/jni/chromoting_jni_runtime.h',
'client/jni/jni_frame_consumer.cc',
'client/jni/jni_frame_consumer.h',
- 'client/jni/jni_interface.cc',
],
}, # end of target 'remoting_client_jni'
{
« no previous file with comments | « remoting/client/jni/jni_interface.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698