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

Side by Side Diff: base/android/jni_generator/jni_generator.py

Issue 10963041: Revert "Revert 158067 - Remove native side of content_view_client" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add additional_input_paths as a variable and input to java.gypi Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # TODO (qinmin): Need to refactor this file as base should not know about 6 # TODO (qinmin): Need to refactor this file as base should not know about
7 # higher level concepts. Currently this file has knowledge about higher level 7 # higher level concepts. Currently this file has knowledge about higher level
8 # java classes. 8 # java classes.
9 9
10 """Extracts native methods from a Java file and generates the JNI bindings. 10 """Extracts native methods from a Java file and generates the JNI bindings.
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 'Lorg/chromium/android_webview/JsResultReceiver', 171 'Lorg/chromium/android_webview/JsResultReceiver',
172 'Lorg/chromium/base/SystemMessageHandler', 172 'Lorg/chromium/base/SystemMessageHandler',
173 'Lorg/chromium/chrome/browser/ChromeBrowserProvider$BookmarkNode', 173 'Lorg/chromium/chrome/browser/ChromeBrowserProvider$BookmarkNode',
174 'Lorg/chromium/chrome/browser/ChromeWebContentsDelegateAndroid', 174 'Lorg/chromium/chrome/browser/ChromeWebContentsDelegateAndroid',
175 'Lorg/chromium/chrome/browser/FindMatchRectsDetails', 175 'Lorg/chromium/chrome/browser/FindMatchRectsDetails',
176 'Lorg/chromium/chrome/browser/FindNotificationDetails', 176 'Lorg/chromium/chrome/browser/FindNotificationDetails',
177 'Lorg/chromium/chrome/browser/JavascriptAppModalDialog', 177 'Lorg/chromium/chrome/browser/JavascriptAppModalDialog',
178 'Lorg/chromium/chrome/browser/ProcessUtils', 178 'Lorg/chromium/chrome/browser/ProcessUtils',
179 'Lorg/chromium/chrome/browser/component/web_contents_delegate_android/WebC ontentsDelegateAndroid', 179 'Lorg/chromium/chrome/browser/component/web_contents_delegate_android/WebC ontentsDelegateAndroid',
180 'Lorg/chromium/content/browser/ContentVideoView', 180 'Lorg/chromium/content/browser/ContentVideoView',
181 'Lorg/chromium/content/browser/ContentViewClient',
182 'Lorg/chromium/content/browser/ContentViewCore', 181 'Lorg/chromium/content/browser/ContentViewCore',
183 'Lorg/chromium/content/browser/DeviceOrientation', 182 'Lorg/chromium/content/browser/DeviceOrientation',
184 'Lorg/chromium/content/browser/FindNotificationDetails', 183 'Lorg/chromium/content/browser/FindNotificationDetails',
185 'Lorg/chromium/content/browser/JavaInputStream', 184 'Lorg/chromium/content/browser/JavaInputStream',
186 'Lorg/chromium/content/browser/LocationProvider', 185 'Lorg/chromium/content/browser/LocationProvider',
187 'Lorg/chromium/content/browser/SandboxedProcessArgs', 186 'Lorg/chromium/content/browser/SandboxedProcessArgs',
188 'Lorg/chromium/content/browser/SandboxedProcessConnection', 187 'Lorg/chromium/content/browser/SandboxedProcessConnection',
189 'Lorg/chromium/content/app/SandboxedProcessService', 188 'Lorg/chromium/content/app/SandboxedProcessService',
190 'Lorg/chromium/content/browser/TouchPoint', 189 'Lorg/chromium/content/browser/TouchPoint',
191 'Lorg/chromium/content/browser/WaitableNativeEvent', 190 'Lorg/chromium/content/browser/WaitableNativeEvent',
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 input_file = options.input_file 989 input_file = options.input_file
991 output_file = None 990 output_file = None
992 if options.output_dir: 991 if options.output_dir:
993 root_name = os.path.splitext(os.path.basename(input_file))[0] 992 root_name = os.path.splitext(os.path.basename(input_file))[0]
994 output_file = os.path.join(options.output_dir, root_name) + '_jni.h' 993 output_file = os.path.join(options.output_dir, root_name) + '_jni.h'
995 GenerateJNIHeader(input_file, output_file, options.namespace) 994 GenerateJNIHeader(input_file, output_file, options.namespace)
996 995
997 996
998 if __name__ == '__main__': 997 if __name__ == '__main__':
999 sys.exit(main(sys.argv)) 998 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java ('k') | build/java.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698