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': 'libwebview', | 10 'target_name': 'libwebview', |
11 'type': 'shared_library', | 11 'type': 'shared_library', |
12 'dependencies': [ | 12 'dependencies': [ |
13 '<(DEPTH)/chrome/chrome.gyp:browser', | 13 '<(DEPTH)/chrome/chrome.gyp:browser', |
14 '<(DEPTH)/chrome/chrome.gyp:renderer', | 14 '<(DEPTH)/chrome/chrome.gyp:renderer', |
15 '<(DEPTH)/content/content.gyp:content', | 15 '<(DEPTH)/content/content.gyp:content', |
16 '<(DEPTH)/android_webview/native/webview_native.gyp:webview_native', | 16 '<(DEPTH)/android_webview/native/webview_native.gyp:webview_native', |
17 '<(DEPTH)/chrome/browser/component/components.gyp:web_contents_delegate_
android', | 17 '<(DEPTH)/chrome/browser/component/components.gyp:web_contents_delegate_
android', |
18 '<(DEPTH)/chrome/browser/component/components.gyp:browser_component_jni_
headers', | 18 '<(DEPTH)/chrome/browser/component/components.gyp:browser_component_jni_
headers', |
19 ], | 19 ], |
20 'include_dirs': [ | 20 'include_dirs': [ |
21 '../..', | 21 '<(DEPTH)', |
22 '../../skia/config', | 22 '<(DEPTH)/skia/config', |
23 ], | 23 ], |
24 'sources': [ | 24 'sources': [ |
25 'aw_browser_dependency_factory_impl.cc', | 25 'browser/renderer_host/aw_resource_dispatcher_host_delegate.cc', |
26 'aw_browser_dependency_factory_impl.h', | 26 'browser/renderer_host/aw_resource_dispatcher_host_delegate.h', |
27 'aw_content_browser_client.cc', | 27 'lib/aw_browser_dependency_factory_impl.cc', |
28 'aw_content_browser_client.h', | 28 'lib/aw_browser_dependency_factory_impl.h', |
29 'main/webview_entry_point.cc', | 29 'lib/aw_content_browser_client.cc', |
30 'main/webview_main_delegate.cc', | 30 'lib/aw_content_browser_client.h', |
31 'main/webview_main_delegate.h', | 31 'lib/main/aw_main_delegate.cc', |
32 'main/webview_stubs.cc', | 32 'lib/main/aw_main_delegate.h', |
33 ], | 33 'lib/main/webview_entry_point.cc', |
34 'includes': [ | 34 'lib/main/webview_stubs.cc', |
35 '../aw_browser.gypi', | |
36 ], | 35 ], |
37 }, | 36 }, |
38 { | 37 { |
39 'target_name': 'android_webview', | 38 'target_name': 'android_webview', |
40 'type' : 'none', | 39 'type' : 'none', |
41 'dependencies': [ | 40 'dependencies': [ |
42 'libwebview', | 41 'libwebview', |
43 ], | 42 ], |
44 'variables': { | 43 'variables': { |
45 'install_binary_script': '../build/install_binary', | 44 'install_binary_script': 'build/install_binary', |
46 }, | 45 }, |
47 'actions': [ | 46 'actions': [ |
48 { | 47 { |
49 'action_name': 'libwebview_strip_and_install_in_android', | 48 'action_name': 'libwebview_strip_and_install_in_android', |
50 'inputs': [ | 49 'inputs': [ |
51 '<(SHARED_LIB_DIR)/libwebview.so', | 50 '<(SHARED_LIB_DIR)/libwebview.so', |
52 ], | 51 ], |
53 'outputs': [ | 52 'outputs': [ |
54 '<(android_product_out)/obj/lib/libwebview.so', | 53 '<(android_product_out)/obj/lib/libwebview.so', |
55 '<(android_product_out)/system/lib/libwebview.so', | 54 '<(android_product_out)/system/lib/libwebview.so', |
(...skipping 11 matching lines...) Expand all Loading... |
67 'target_name': 'android_webview_java', | 66 'target_name': 'android_webview_java', |
68 'type': 'none', | 67 'type': 'none', |
69 'dependencies': [ | 68 'dependencies': [ |
70 '<(DEPTH)/content/content.gyp:content_java', | 69 '<(DEPTH)/content/content.gyp:content_java', |
71 '<(DEPTH)/chrome/browser/component/components.gyp:web_contents_delegate_
android_java', | 70 '<(DEPTH)/chrome/browser/component/components.gyp:web_contents_delegate_
android_java', |
72 ], | 71 ], |
73 'variables': { | 72 'variables': { |
74 'package_name': 'android_webview_java', | 73 'package_name': 'android_webview_java', |
75 'java_in_dir': '<(DEPTH)/android_webview/java', | 74 'java_in_dir': '<(DEPTH)/android_webview/java', |
76 }, | 75 }, |
77 'includes': [ '../../build/java.gypi' ], | 76 'includes': [ '../build/java.gypi' ], |
78 }, | 77 }, |
79 { | 78 { |
80 'target_name': 'android_webview_javatests', | 79 'target_name': 'android_webview_javatests', |
81 'type': 'none', | 80 'type': 'none', |
82 'dependencies': [ | 81 'dependencies': [ |
83 'android_webview_java', | 82 'android_webview_java', |
84 '<(DEPTH)/base/base.gyp:base_java_test_support', | 83 '<(DEPTH)/base/base.gyp:base_java_test_support', |
85 '<(DEPTH)/content/content.gyp:content_java', | 84 '<(DEPTH)/content/content.gyp:content_java', |
86 '<(DEPTH)/content/content.gyp:content_javatests', | 85 '<(DEPTH)/content/content.gyp:content_javatests', |
87 '<(DEPTH)/chrome/browser/component/components.gyp:web_contents_delegate_
android_java', | 86 '<(DEPTH)/chrome/browser/component/components.gyp:web_contents_delegate_
android_java', |
88 ], | 87 ], |
89 'variables': { | 88 'variables': { |
90 'package_name': 'android_webview_javatests', | 89 'package_name': 'android_webview_javatests', |
91 'java_in_dir': '<(DEPTH)/android_webview/javatests', | 90 'java_in_dir': '<(DEPTH)/android_webview/javatests', |
92 }, | 91 }, |
93 'includes': [ '../../build/java.gypi' ], | 92 'includes': [ '../build/java.gypi' ], |
94 }, | 93 }, |
95 | 94 |
96 { | 95 { |
97 'target_name': 'android_webview_apk', | 96 'target_name': 'android_webview_apk', |
98 'type': 'none', | 97 'type': 'none', |
99 'actions': [ | 98 'actions': [ |
100 { | 99 { |
101 'action_name': 'copy_base_jar', | 100 'action_name': 'copy_base_jar', |
102 'inputs': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar'], | 101 'inputs': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar'], |
103 'outputs': ['<(PRODUCT_DIR)/android_webview/java/libs/chromium_base.jar'
], | 102 'outputs': ['<(PRODUCT_DIR)/android_webview/java/libs/chromium_base.jar'
], |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 '-DANDROID_SDK_VERSION=<(android_sdk_version)', | 292 '-DANDROID_SDK_VERSION=<(android_sdk_version)', |
294 '-DANDROID_TOOLCHAIN=<(android_toolchain)', | 293 '-DANDROID_TOOLCHAIN=<(android_toolchain)', |
295 '-buildfile', | 294 '-buildfile', |
296 '<(DEPTH)/android_webview/javatests/android_webview_test_apk.xml', | 295 '<(DEPTH)/android_webview/javatests/android_webview_test_apk.xml', |
297 ] | 296 ] |
298 } | 297 } |
299 ], | 298 ], |
300 }, | 299 }, |
301 ], | 300 ], |
302 } | 301 } |
OLD | NEW |