| 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 '../chrome/chrome.gyp:browser', | 13 '../chrome/chrome.gyp:browser', |
| 14 '../chrome/chrome.gyp:renderer', | 14 '../chrome/chrome.gyp:renderer', |
| 15 '../content/content.gyp:content', | 15 '../content/content.gyp:content', |
| 16 '../android_webview/native/webview_native.gyp:webview_native', | 16 '../android_webview/native/webview_native.gyp:webview_native', |
| 17 '../chrome/browser/component/components.gyp:navigation_interception', |
| 17 '../chrome/browser/component/components.gyp:web_contents_delegate_androi
d', | 18 '../chrome/browser/component/components.gyp:web_contents_delegate_androi
d', |
| 18 '../chrome/browser/component/components.gyp:browser_component_jni_header
s', | 19 '../chrome/browser/component/components.gyp:browser_component_jni_header
s', |
| 19 ], | 20 ], |
| 20 'include_dirs': [ | 21 'include_dirs': [ |
| 21 '..', | 22 '..', |
| 22 '../skia/config', | 23 '../skia/config', |
| 23 ], | 24 ], |
| 24 'sources': [ | 25 'sources': [ |
| 25 'common/android_webview_message_generator.cc', | 26 'common/android_webview_message_generator.cc', |
| 26 'common/android_webview_message_generator.h', | 27 'common/android_webview_message_generator.h', |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 '<@(_outputs)', | 89 '<@(_outputs)', |
| 89 ], | 90 ], |
| 90 }, | 91 }, |
| 91 ], | 92 ], |
| 92 }, | 93 }, |
| 93 { | 94 { |
| 94 'target_name': 'android_webview_java', | 95 'target_name': 'android_webview_java', |
| 95 'type': 'none', | 96 'type': 'none', |
| 96 'dependencies': [ | 97 'dependencies': [ |
| 97 '../content/content.gyp:content_java', | 98 '../content/content.gyp:content_java', |
| 99 '../chrome/browser/component/components.gyp:navigation_interception_java
', |
| 98 '../chrome/browser/component/components.gyp:web_contents_delegate_androi
d_java', | 100 '../chrome/browser/component/components.gyp:web_contents_delegate_androi
d_java', |
| 99 '../ui/ui.gyp:ui_java', | 101 '../ui/ui.gyp:ui_java', |
| 100 ], | 102 ], |
| 101 'variables': { | 103 'variables': { |
| 102 'package_name': 'android_webview_java', | 104 'package_name': 'android_webview_java', |
| 103 'java_in_dir': '../android_webview/java', | 105 'java_in_dir': '../android_webview/java', |
| 104 }, | 106 }, |
| 105 'includes': [ '../build/java.gypi' ], | 107 'includes': [ '../build/java.gypi' ], |
| 106 }, | 108 }, |
| 107 { | 109 { |
| 108 'target_name': 'android_webview_apk', | 110 'target_name': 'android_webview_apk', |
| 109 'type': 'none', | 111 'type': 'none', |
| 110 'dependencies': [ | 112 'dependencies': [ |
| 111 '../base/base.gyp:base_java', | 113 '../base/base.gyp:base_java', |
| 114 '../chrome/browser/component/components.gyp:navigation_interception_java
', |
| 112 '../chrome/browser/component/components.gyp:web_contents_delegate_androi
d_java', | 115 '../chrome/browser/component/components.gyp:web_contents_delegate_androi
d_java', |
| 113 '../chrome/chrome_resources.gyp:packed_extra_resources', | 116 '../chrome/chrome_resources.gyp:packed_extra_resources', |
| 114 '../chrome/chrome_resources.gyp:packed_resources', | 117 '../chrome/chrome_resources.gyp:packed_resources', |
| 115 '../content/content.gyp:content_java', | 118 '../content/content.gyp:content_java', |
| 116 '../media/media.gyp:media_java', | 119 '../media/media.gyp:media_java', |
| 117 '../net/net.gyp:net_java', | 120 '../net/net.gyp:net_java', |
| 118 '../ui/ui.gyp:ui_java', | 121 '../ui/ui.gyp:ui_java', |
| 119 'libwebview', | 122 'libwebview', |
| 120 ], | 123 ], |
| 121 'variables': { | 124 'variables': { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 }, | 162 }, |
| 160 ], | 163 ], |
| 161 'includes': [ '../build/java_apk.gypi' ], | 164 'includes': [ '../build/java_apk.gypi' ], |
| 162 }, | 165 }, |
| 163 { | 166 { |
| 164 'target_name': 'android_webview_test_apk', | 167 'target_name': 'android_webview_test_apk', |
| 165 'type': 'none', | 168 'type': 'none', |
| 166 'dependencies': [ | 169 'dependencies': [ |
| 167 '../base/base.gyp:base_java', | 170 '../base/base.gyp:base_java', |
| 168 '../base/base.gyp:base_java_test_support', | 171 '../base/base.gyp:base_java_test_support', |
| 172 '../chrome/browser/component/components.gyp:navigation_interception_java
', |
| 169 '../chrome/browser/component/components.gyp:web_contents_delegate_androi
d_java', | 173 '../chrome/browser/component/components.gyp:web_contents_delegate_androi
d_java', |
| 170 '../chrome/chrome_resources.gyp:packed_extra_resources', | 174 '../chrome/chrome_resources.gyp:packed_extra_resources', |
| 171 '../chrome/chrome_resources.gyp:packed_resources', | 175 '../chrome/chrome_resources.gyp:packed_resources', |
| 172 '../content/content.gyp:content_java', | 176 '../content/content.gyp:content_java', |
| 173 '../content/content.gyp:content_java_test_support', | 177 '../content/content.gyp:content_java_test_support', |
| 174 '../media/media.gyp:media_java', | 178 '../media/media.gyp:media_java', |
| 175 '../net/net.gyp:net_java', | 179 '../net/net.gyp:net_java', |
| 176 '../ui/ui.gyp:ui_java', | 180 '../ui/ui.gyp:ui_java', |
| 177 'android_webview_java', | 181 'android_webview_java', |
| 178 'libwebview', | 182 'libwebview', |
| 179 ], | 183 ], |
| 180 'variables': { | 184 'variables': { |
| 181 'package_name': 'android_webview_test', | 185 'package_name': 'android_webview_test', |
| 182 'apk_name': 'AndroidWebViewTest', | 186 'apk_name': 'AndroidWebViewTest', |
| 183 'java_in_dir': '../android_webview/javatests', | 187 'java_in_dir': '../android_webview/javatests', |
| 184 'resource_dir': 'res', | 188 'resource_dir': 'res', |
| 185 }, | 189 }, |
| 186 'copies': [ | 190 'copies': [ |
| 187 { | 191 { |
| 188 'destination': '<(PRODUCT_DIR)/android_webview_test/assets', | 192 'destination': '<(PRODUCT_DIR)/android_webview_test/assets', |
| 189 'files': [ '<!@(find <(java_in_dir)/assets -type f -name "*")' ] | 193 'files': [ '<!@(find <(java_in_dir)/assets -type f -name "*")' ] |
| 190 }, | 194 }, |
| 191 ], | 195 ], |
| 192 'includes': [ '../build/java_apk.gypi' ], | 196 'includes': [ '../build/java_apk.gypi' ], |
| 193 }, | 197 }, |
| 194 ], | 198 ], |
| 195 } | 199 } |
| OLD | NEW |