OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 { | 4 { |
5 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 }, | 7 }, |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'webview_native', | 10 'target_name': 'webview_native', |
11 'type': 'static_library', | 11 'type': 'static_library', |
12 'dependencies': [ | 12 'dependencies': [ |
13 '../../base/base.gyp:base_static', | 13 '../../base/base.gyp:base_static', |
14 '../../chrome/browser/component/components.gyp:web_contents_delegate_and
roid', | 14 '../../chrome/browser/component/components.gyp:web_contents_delegate_and
roid', |
15 'android_webview_native_jni', | 15 'android_webview_native_jni', |
16 ], | 16 ], |
17 'include_dirs': [ | 17 'include_dirs': [ |
18 '../..', | 18 '../..', |
19 '../../skia/config', | 19 '../../skia/config', |
20 '<(SHARED_INTERMEDIATE_DIR)/android_webview', | 20 '<(SHARED_INTERMEDIATE_DIR)/android_webview', |
21 ], | 21 ], |
22 'sources': [ | 22 'sources': [ |
23 'android_webview_jni_registrar.cc', | 23 'android_webview_jni_registrar.cc', |
24 'android_webview_jni_registrar.h', | 24 'android_webview_jni_registrar.h', |
| 25 'android_web_view_util.cc', |
| 26 'android_web_view_util.h', |
| 27 'aw_browser_dependency_factory.cc', |
| 28 'aw_browser_dependency_factory.h', |
| 29 'aw_contents_container.h', |
| 30 'aw_contents.cc', |
| 31 'aw_contents.h', |
25 'aw_web_contents_delegate.cc', | 32 'aw_web_contents_delegate.cc', |
26 'aw_web_contents_delegate.h', | 33 'aw_web_contents_delegate.h', |
| 34 'intercepted_request_data.cc', |
| 35 'intercepted_request_data.h', |
27 ], | 36 ], |
28 }, | 37 }, |
29 { | 38 { |
30 'target_name': 'android_webview_native_jni', | 39 'target_name': 'android_webview_native_jni', |
31 'type': 'none', | 40 'type': 'none', |
32 'sources': [ | 41 'sources': [ |
| 42 '../java/src/org/chromium/android_webview/AndroidWebViewUtil.java', |
| 43 '../java/src/org/chromium/android_webview/AwContents.java', |
| 44 '../java/src/org/chromium/android_webview/InterceptedRequestData.java'
, |
33 ], | 45 ], |
34 'variables': { | 46 'variables': { |
35 'jni_gen_dir': 'android_webview', | 47 'jni_gen_dir': 'android_webview', |
36 }, | 48 }, |
37 'includes': [ '../../build/jni_generator.gypi' ], | 49 'includes': [ '../../build/jni_generator.gypi' ], |
38 }, | 50 }, |
39 ], | 51 ], |
40 } | 52 } |
OLD | NEW |