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

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

Issue 10206014: Upstream Android proxy config service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Ryan's comments Created 8 years, 7 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 'Lorg/chromium/chromeview/ChromeVideoView', 165 'Lorg/chromium/chromeview/ChromeVideoView',
166 'Lorg/chromium/chromeview/ChromeView', 166 'Lorg/chromium/chromeview/ChromeView',
167 'Lorg/chromium/chromeview/ChromeView$ChromeViewContextMenuInfo', 167 'Lorg/chromium/chromeview/ChromeView$ChromeViewContextMenuInfo',
168 ('Lorg/chromium/chromeview/ChromeView$' 168 ('Lorg/chromium/chromeview/ChromeView$'
169 'FindResultReceivedListener$FindNotificationDetails'), 169 'FindResultReceivedListener$FindNotificationDetails'),
170 'Lorg/chromium/chromeview/ChromeViewClient', 170 'Lorg/chromium/chromeview/ChromeViewClient',
171 'Lorg/chromium/chromeview/DeviceInfo', 171 'Lorg/chromium/chromeview/DeviceInfo',
172 'Lorg/chromium/chromeview/DeviceOrientation', 172 'Lorg/chromium/chromeview/DeviceOrientation',
173 'Lorg/chromium/chromeview/JavaInputStream', 173 'Lorg/chromium/chromeview/JavaInputStream',
174 'Lorg/chromium/chromeview/LocationProvider', 174 'Lorg/chromium/chromeview/LocationProvider',
175 'Lorg/chromium/chromeview/net/ProxyChangeListener',
175 'Lorg/chromium/chromeview/SandboxedProcessArgs', 176 'Lorg/chromium/chromeview/SandboxedProcessArgs',
176 'Lorg/chromium/chromeview/SandboxedProcessConnection', 177 'Lorg/chromium/chromeview/SandboxedProcessConnection',
177 'Lorg/chromium/chromeview/SandboxedProcessService', 178 'Lorg/chromium/chromeview/SandboxedProcessService',
178 'Lorg/chromium/chromeview/SelectFileDialog', 179 'Lorg/chromium/chromeview/SelectFileDialog',
179 'Lorg/chromium/chromeview/SurfaceTextureListener', 180 'Lorg/chromium/chromeview/SurfaceTextureListener',
180 'Lorg/chromium/chromeview/TouchPoint', 181 'Lorg/chromium/chromeview/TouchPoint',
181 'Lorg/chromium/media/MediaPlayerListener', 182 'Lorg/chromium/media/MediaPlayerListener',
182 'Lorg/chromium/net/NetworkChangeNotifier', 183 'Lorg/chromium/net/NetworkChangeNotifier',
183 ] 184 ]
184 if param == 'byte[][]': 185 if param == 'byte[][]':
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 if options.output_files: 944 if options.output_files:
944 output_files = input_files[len(input_files) / 2:] 945 output_files = input_files[len(input_files) / 2:]
945 input_files = input_files[:len(input_files) / 2] 946 input_files = input_files[:len(input_files) / 2]
946 CheckFilenames(input_files, output_files) 947 CheckFilenames(input_files, output_files)
947 GenerateJNIHeaders(input_files, output_files, options.javap_class, 948 GenerateJNIHeaders(input_files, output_files, options.javap_class,
948 options.namespace) 949 options.namespace)
949 950
950 951
951 if __name__ == '__main__': 952 if __name__ == '__main__':
952 sys.exit(main(sys.argv)) 953 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | net/android/java/org/chromium/net/ProxyChangeListener.java » ('j') | net/proxy/proxy_config_service_android.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698