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 'targets': [ | 5 'targets': [ |
6 { | 6 { |
7 'target_name': 'android_webview_apk', | 7 'target_name': 'android_webview_apk', |
8 'type': 'none', | 8 'type': 'none', |
9 'dependencies': [ | 9 'dependencies': [ |
10 'libwebviewchromium', | 10 'libstandalonelibwebviewchromium', |
11 'android_webview_java', | 11 'android_webview_java', |
12 'android_webview_pak', | 12 'android_webview_pak', |
13 'libdrawgl', | 13 'libdrawgl', |
14 ], | 14 ], |
15 'variables': { | 15 'variables': { |
16 'apk_name': 'AndroidWebView', | 16 'apk_name': 'AndroidWebView', |
17 'java_in_dir': 'test/shell', | 17 'java_in_dir': 'test/shell', |
18 'native_lib_target': 'libstandalonelibwebviewchromium', | 18 'native_lib_target': 'libstandalonelibwebviewchromium', |
19 'resource_dir': 'test/shell/res', | 19 'resource_dir': 'test/shell/res', |
20 'extensions_to_not_compress': 'pak', | 20 'extensions_to_not_compress': 'pak', |
21 'extra_native_libs': ['<(SHARED_LIB_DIR)/libdrawgl.>(android_product_ext
ension)'], | 21 'extra_native_libs': ['<(SHARED_LIB_DIR)/libdrawgl.>(android_product_ext
ension)'], |
22 'additional_input_paths': [ | 22 'additional_input_paths': [ |
23 '<(PRODUCT_DIR)/android_webview_apk/assets/webviewchromium.pak', | 23 '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak', |
24 '<(PRODUCT_DIR)/android_webview_apk/assets/en-US.pak', | 24 '<(PRODUCT_DIR)/android_webview_assets/en-US.pak', |
25 '<(PRODUCT_DIR)/android_webview_apk/assets/asset_file.html', | 25 '<(PRODUCT_DIR)/android_webview_apk/assets/asset_file.html', |
26 '<(PRODUCT_DIR)/android_webview_apk/assets/cookie_test.html', | 26 '<(PRODUCT_DIR)/android_webview_apk/assets/cookie_test.html', |
27 '<(PRODUCT_DIR)/android_webview_apk/assets/asset_icon.png', | 27 '<(PRODUCT_DIR)/android_webview_apk/assets/asset_icon.png', |
28 '<(PRODUCT_DIR)/android_webview_apk/assets/full_screen_video_test.html
', | 28 '<(PRODUCT_DIR)/android_webview_apk/assets/full_screen_video_test.html
', |
29 ], | 29 ], |
30 'conditions': [ | 30 'conditions': [ |
31 ['icu_use_data_file_flag==1', { | 31 ['icu_use_data_file_flag==1', { |
32 'additional_input_paths': [ | 32 'additional_input_paths': [ |
33 '<(PRODUCT_DIR)/icudtl.dat', | 33 '<(PRODUCT_DIR)/icudtl.dat', |
34 ], | 34 ], |
35 }], | 35 }], |
36 ], | 36 ], |
37 }, | 37 }, |
38 'copies': [ | 38 'copies': [ |
39 { | 39 { |
40 'destination': '<(PRODUCT_DIR)/android_webview_apk/assets', | 40 'destination': '<(PRODUCT_DIR)/android_webview_apk/assets', |
41 'files': [ | 41 'files': [ |
| 42 '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak', |
| 43 '<(PRODUCT_DIR)/android_webview_assets/en-US.pak', |
42 '<(java_in_dir)/assets/asset_file.html', | 44 '<(java_in_dir)/assets/asset_file.html', |
43 '<(java_in_dir)/assets/asset_icon.png', | 45 '<(java_in_dir)/assets/asset_icon.png', |
44 '<(java_in_dir)/assets/cookie_test.html', | 46 '<(java_in_dir)/assets/cookie_test.html', |
45 '<(java_in_dir)/assets/full_screen_video_test.html', | 47 '<(java_in_dir)/assets/full_screen_video_test.html', |
46 ], | 48 ], |
47 'conditions': [ | 49 'conditions': [ |
48 ['icu_use_data_file_flag==1', { | 50 ['icu_use_data_file_flag==1', { |
49 'files': [ | 51 'files': [ |
50 '<(PRODUCT_DIR)/icudtl.dat', | 52 '<(PRODUCT_DIR)/icudtl.dat', |
51 ], | 53 ], |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 'type': 'shared_library', | 171 'type': 'shared_library', |
170 # Do not depend on any other component here, since this target | 172 # Do not depend on any other component here, since this target |
171 # builds a separate shared library! | 173 # builds a separate shared library! |
172 'include_dirs': [ | 174 'include_dirs': [ |
173 '..', | 175 '..', |
174 ], | 176 ], |
175 'sources': [ | 177 'sources': [ |
176 '../android_webview/test/shell/src/draw_gl/draw_gl.cc', | 178 '../android_webview/test/shell/src/draw_gl/draw_gl.cc', |
177 ], | 179 ], |
178 }, | 180 }, |
| 181 { |
| 182 'target_name': 'libstandalonelibwebviewchromium', |
| 183 'includes': [ |
| 184 'libwebviewchromium.gypi', |
| 185 ], |
| 186 }, |
179 ], | 187 ], |
180 } | 188 } |
OLD | NEW |