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 'libstandalonelibwebviewchromium', | 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,dat,bin', | 20 'extensions_to_not_compress': '.lpak,.pak,.dat,.bin', |
21 'asset_location': '<(PRODUCT_DIR)/android_webview_apk/assets', | 21 'asset_location': '<(PRODUCT_DIR)/android_webview_apk/assets', |
22 'extra_native_libs': ['<(SHARED_LIB_DIR)/libdrawgl.>(android_product_ext
ension)'], | 22 'extra_native_libs': ['<(SHARED_LIB_DIR)/libdrawgl.>(android_product_ext
ension)'], |
23 'snapshot_copy_files': '<(snapshot_copy_files)', | 23 'snapshot_copy_files': '<(snapshot_copy_files)', |
24 'additional_input_paths': [ | 24 'additional_input_paths': [ |
25 '<(asset_location)/webviewchromium.pak', | 25 '<(asset_location)/webviewchromium.pak', |
26 '<(asset_location)/en-US.pak', | |
27 '<(asset_location)/asset_file.html', | 26 '<(asset_location)/asset_file.html', |
28 '<(asset_location)/cookie_test.html', | 27 '<(asset_location)/cookie_test.html', |
29 '<(asset_location)/asset_icon.png', | 28 '<(asset_location)/asset_icon.png', |
30 '<(asset_location)/full_screen_video.js', | 29 '<(asset_location)/full_screen_video.js', |
31 '<(asset_location)/full_screen_video_test.html', | 30 '<(asset_location)/full_screen_video_test.html', |
32 '<(asset_location)/full_screen_video_inside_div_test.html', | 31 '<(asset_location)/full_screen_video_inside_div_test.html', |
33 '<(asset_location)/multiple_videos_test.html', | 32 '<(asset_location)/multiple_videos_test.html', |
34 '<(asset_location)/video.mp4', | 33 '<(asset_location)/video.mp4', |
35 '<(asset_location)/visual_state_during_fullscreen_test.html', | 34 '<(asset_location)/visual_state_during_fullscreen_test.html', |
36 '<(asset_location)/visual_state_waits_for_js_test.html', | 35 '<(asset_location)/visual_state_waits_for_js_test.html', |
37 '<(asset_location)/visual_state_on_page_commit_visible_test.html', | 36 '<(asset_location)/visual_state_on_page_commit_visible_test.html', |
38 '<@(snapshot_additional_input_paths)', | 37 '<@(snapshot_additional_input_paths)', |
39 ], | 38 ], |
40 'conditions': [ | 39 'conditions': [ |
41 ['icu_use_data_file_flag==1', { | 40 ['icu_use_data_file_flag==1', { |
42 'additional_input_paths': [ | 41 'additional_input_paths': [ |
43 '<(asset_location)/icudtl.dat', | 42 '<(asset_location)/icudtl.dat', |
44 ], | 43 ], |
45 }], | 44 }], |
46 ], | 45 ], |
47 'includes': [ 'snapshot_copying.gypi' ], | 46 'includes': [ 'snapshot_copying.gypi' ], |
48 }, | 47 }, |
49 'copies': [ | 48 'copies': [ |
50 { | 49 { |
51 'destination': '<(asset_location)', | 50 'destination': '<(asset_location)', |
52 'files': [ | 51 'files': [ |
53 '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak', | 52 '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak', |
54 '<(PRODUCT_DIR)/android_webview_assets/locales/en-US.pak', | |
55 '<(java_in_dir)/assets/asset_file.html', | 53 '<(java_in_dir)/assets/asset_file.html', |
56 '<(java_in_dir)/assets/asset_icon.png', | 54 '<(java_in_dir)/assets/asset_icon.png', |
57 '<(java_in_dir)/assets/cookie_test.html', | 55 '<(java_in_dir)/assets/cookie_test.html', |
58 '<(java_in_dir)/assets/full_screen_video.js', | 56 '<(java_in_dir)/assets/full_screen_video.js', |
59 '<(java_in_dir)/assets/full_screen_video_test.html', | 57 '<(java_in_dir)/assets/full_screen_video_test.html', |
60 '<(java_in_dir)/assets/full_screen_video_inside_div_test.html', | 58 '<(java_in_dir)/assets/full_screen_video_inside_div_test.html', |
61 '<(java_in_dir)/assets/multiple_videos_test.html', | 59 '<(java_in_dir)/assets/multiple_videos_test.html', |
62 '<(java_in_dir)/assets/video.mp4', | 60 '<(java_in_dir)/assets/video.mp4', |
63 '<(java_in_dir)/assets/visual_state_during_fullscreen_test.html', | 61 '<(java_in_dir)/assets/visual_state_during_fullscreen_test.html', |
64 '<(java_in_dir)/assets/visual_state_waits_for_js_test.html', | 62 '<(java_in_dir)/assets/visual_state_waits_for_js_test.html', |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 ], | 213 ], |
216 }, | 214 }, |
217 { | 215 { |
218 'target_name': 'libstandalonelibwebviewchromium', | 216 'target_name': 'libstandalonelibwebviewchromium', |
219 'includes': [ | 217 'includes': [ |
220 'libwebviewchromium.gypi', | 218 'libwebviewchromium.gypi', |
221 ], | 219 ], |
222 }, | 220 }, |
223 ], | 221 ], |
224 } | 222 } |
OLD | NEW |