OLD | NEW |
1 # Copyright 2009 The Chromium Authors. All rights reserved. | 1 # Copyright 2009 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': 'android_webview_pak', | 10 'target_name': 'android_webview_pak', |
(...skipping 10 matching lines...) Expand all Loading... |
21 'arch_suffix':'32' | 21 'arch_suffix':'32' |
22 }], | 22 }], |
23 ['target_arch=="arm64" or target_arch=="x64" or target_arch=="mips64el
"', { | 23 ['target_arch=="arm64" or target_arch=="x64" or target_arch=="mips64el
"', { |
24 'arch_suffix':'64' | 24 'arch_suffix':'64' |
25 }], | 25 }], |
26 ], | 26 ], |
27 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/android_webview', | 27 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/android_webview', |
28 }, | 28 }, |
29 'actions': [ | 29 'actions': [ |
30 { | 30 { |
31 'action_name': 'generate_aw_renderer_resources', | 31 'action_name': 'generate_aw_resources', |
32 'variables': { | 32 'variables': { |
33 'grit_grd_file': 'renderer/aw_renderer_resources.grd', | 33 'grit_grd_file': 'ui/aw_resources.grd', |
34 }, | 34 }, |
35 'includes': [ '../build/grit_action.gypi' ], | 35 'includes': [ '../build/grit_action.gypi' ], |
36 }, | 36 }, |
37 { | 37 { |
38 'action_name': 'repack_android_webview_pack', | 38 'action_name': 'repack_android_webview_pack', |
39 'variables': { | 39 'variables': { |
40 'pak_inputs': [ | 40 'pak_inputs': [ |
41 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources
.pak', | 41 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources
.pak', |
42 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_image_res
ources_100_percent.pak', | 42 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_image_res
ources_100_percent.pak', |
43 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resource
s_100_percent.pak', | 43 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resource
s_100_percent.pak', |
44 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', | 44 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', |
45 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', | 45 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
46 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.
pak', | 46 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.
pak', |
47 '<(grit_out_dir)/aw_renderer_resources.pak', | 47 '<(grit_out_dir)/aw_resources.pak', |
48 ], | 48 ], |
49 'pak_output': '<(PRODUCT_DIR)/android_webview_assets/webviewchromium
.pak', | 49 'pak_output': '<(PRODUCT_DIR)/android_webview_assets/webviewchromium
.pak', |
50 }, | 50 }, |
51 'includes': [ '../build/repack_action.gypi' ], | 51 'includes': [ '../build/repack_action.gypi' ], |
52 }, | 52 }, |
53 { | 53 { |
54 'action_name': 'android_webview_locales_rename_paks', | 54 'action_name': 'generate_aw_strings', |
55 'variables': { | 55 'variables': { |
56 'rename_locales': 'tools/webview_locales_rename_paks.py', | 56 'grit_grd_file': 'ui/aw_strings.grd', |
| 57 }, |
| 58 'includes': [ '../build/grit_action.gypi' ], |
| 59 }, |
| 60 { |
| 61 'action_name': 'android_webview_repack_locales', |
| 62 'variables': { |
| 63 'repack_locales': 'tools/webview_repack_locales.py', |
57 }, | 64 }, |
58 'inputs': [ | 65 'inputs': [ |
59 '<(rename_locales)', | 66 '<(repack_locales)', |
60 '<!@pymod_do_main(webview_locales_rename_paks -i -p <(PRODUCT_DIR) -
s <(SHARED_INTERMEDIATE_DIR) <(locales))' | 67 '<!@pymod_do_main(webview_repack_locales -i -p <(PRODUCT_DIR) -s <(S
HARED_INTERMEDIATE_DIR) <(locales))' |
61 ], | 68 ], |
62 'outputs': [ | 69 'outputs': [ |
63 '<!@pymod_do_main(webview_locales_rename_paks -o -p <(PRODUCT_DIR) -
s <(SHARED_INTERMEDIATE_DIR) <(locales))' | 70 '<!@pymod_do_main(webview_repack_locales -o -p <(PRODUCT_DIR) -s <(S
HARED_INTERMEDIATE_DIR) <(locales))' |
64 ], | 71 ], |
65 'action': [ | 72 'action': [ |
66 'python', | 73 'python', |
67 '<(rename_locales)', | 74 '<(repack_locales)', |
68 '-p', '<(PRODUCT_DIR)', | 75 '-p', '<(PRODUCT_DIR)', |
69 '-s', '<(SHARED_INTERMEDIATE_DIR)', | 76 '-s', '<(SHARED_INTERMEDIATE_DIR)', |
70 '<@(locales)', | 77 '<@(locales)', |
71 ], | 78 ], |
72 }, | 79 }, |
73 { | 80 { |
74 'action_name': 'rename_snapshot_blob', | 81 'action_name': 'rename_snapshot_blob', |
75 'inputs': [ | 82 'inputs': [ |
76 '<(PRODUCT_DIR)/snapshot_blob.bin', | 83 '<(PRODUCT_DIR)/snapshot_blob.bin', |
77 ], | 84 ], |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 'java_in_dir': 'glue/java', | 402 'java_in_dir': 'glue/java', |
396 'resource_dir': 'apk/java/res', | 403 'resource_dir': 'apk/java/res', |
397 }, | 404 }, |
398 'includes': [ 'apk/system_webview_apk_common.gypi' ], | 405 'includes': [ 'apk/system_webview_apk_common.gypi' ], |
399 }, | 406 }, |
400 ], | 407 ], |
401 'includes': [ | 408 'includes': [ |
402 'android_webview_tests.gypi', | 409 'android_webview_tests.gypi', |
403 ], | 410 ], |
404 } | 411 } |
OLD | NEW |