| 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 'system_webview_package_name%': 'com.android.webview', | 7 'system_webview_package_name%': 'com.android.webview', |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 }, | 29 }, |
| 30 'actions': [ | 30 'actions': [ |
| 31 # GN version: //android_webview:generate_aw_resources | 31 # GN version: //android_webview:generate_aw_resources |
| 32 { | 32 { |
| 33 'action_name': 'generate_aw_resources', | 33 'action_name': 'generate_aw_resources', |
| 34 'variables': { | 34 'variables': { |
| 35 'grit_grd_file': 'ui/aw_resources.grd', | 35 'grit_grd_file': 'ui/aw_resources.grd', |
| 36 }, | 36 }, |
| 37 'includes': [ '../build/grit_action.gypi' ], | 37 'includes': [ '../build/grit_action.gypi' ], |
| 38 }, | 38 }, |
| 39 # GN version: //android_webview:repack_pack |
| 39 { | 40 { |
| 40 'action_name': 'repack_android_webview_pack', | 41 'action_name': 'repack_android_webview_pack', |
| 41 'variables': { | 42 'variables': { |
| 42 'pak_inputs': [ | 43 'pak_inputs': [ |
| 43 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources
.pak', | 44 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources
.pak', |
| 44 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_image_res
ources_100_percent.pak', | 45 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_image_res
ources_100_percent.pak', |
| 45 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resource
s_100_percent.pak', | 46 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resource
s_100_percent.pak', |
| 46 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', | 47 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', |
| 47 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', | 48 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
| 48 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.
pak', | 49 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.
pak', |
| (...skipping 16 matching lines...) Expand all Loading... |
| 65 'action_name': 'generate_components_strings', | 66 'action_name': 'generate_components_strings', |
| 66 'variables': { | 67 'variables': { |
| 67 # components_strings contains strings from all components. WebView | 68 # components_strings contains strings from all components. WebView |
| 68 # will never display most of them, so we try to limit the included | 69 # will never display most of them, so we try to limit the included |
| 69 # strings | 70 # strings |
| 70 'grit_whitelist': 'ui/grit_components_whitelist.txt', | 71 'grit_whitelist': 'ui/grit_components_whitelist.txt', |
| 71 'grit_grd_file': '../components/components_strings.grd', | 72 'grit_grd_file': '../components/components_strings.grd', |
| 72 }, | 73 }, |
| 73 'includes': [ '../build/grit_action.gypi' ], | 74 'includes': [ '../build/grit_action.gypi' ], |
| 74 }, | 75 }, |
| 76 # GN Version: //android_webview:repack_locales |
| 75 { | 77 { |
| 76 'action_name': 'android_webview_repack_locales', | 78 'action_name': 'android_webview_repack_locales', |
| 77 'variables': { | 79 'variables': { |
| 78 'repack_locales': 'tools/webview_repack_locales.py', | 80 'repack_locales': 'tools/webview_repack_locales.py', |
| 79 }, | 81 }, |
| 80 'inputs': [ | 82 'inputs': [ |
| 81 '<(repack_locales)', | 83 '<(repack_locales)', |
| 82 '<!@pymod_do_main(webview_repack_locales -i -p <(PRODUCT_DIR) -s <(S
HARED_INTERMEDIATE_DIR) <(locales))' | 84 '<!@pymod_do_main(webview_repack_locales -i -p <(PRODUCT_DIR) -s <(S
HARED_INTERMEDIATE_DIR) <(locales))' |
| 83 ], | 85 ], |
| 84 'outputs': [ | 86 'outputs': [ |
| 85 '<!@pymod_do_main(webview_repack_locales -o -p <(PRODUCT_DIR) -s <(S
HARED_INTERMEDIATE_DIR) <(locales))' | 87 '<!@pymod_do_main(webview_repack_locales -o -p <(PRODUCT_DIR) -s <(S
HARED_INTERMEDIATE_DIR) <(locales))' |
| 86 ], | 88 ], |
| 87 'action': [ | 89 'action': [ |
| 88 'python', | 90 'python', |
| 89 '<(repack_locales)', | 91 '<(repack_locales)', |
| 90 '-p', '<(PRODUCT_DIR)', | 92 '-p', '<(PRODUCT_DIR)', |
| 91 '-s', '<(SHARED_INTERMEDIATE_DIR)', | 93 '-s', '<(SHARED_INTERMEDIATE_DIR)', |
| 92 '<@(locales)', | 94 '<@(locales)', |
| 93 ], | 95 ], |
| 94 }, | 96 }, |
| 97 # GN version: //android_webview/rename_snapshot_blob |
| 95 { | 98 { |
| 96 'action_name': 'rename_snapshot_blob', | 99 'action_name': 'rename_snapshot_blob', |
| 97 'inputs': [ | 100 'inputs': [ |
| 98 '<(PRODUCT_DIR)/snapshot_blob.bin', | 101 '<(PRODUCT_DIR)/snapshot_blob.bin', |
| 99 ], | 102 ], |
| 100 'outputs': [ | 103 'outputs': [ |
| 101 '<(PRODUCT_DIR)/snapshot_blob_<(arch_suffix).bin', | 104 '<(PRODUCT_DIR)/snapshot_blob_<(arch_suffix).bin', |
| 102 ], | 105 ], |
| 103 'action': [ | 106 'action': [ |
| 104 'python', | 107 'python', |
| 105 '<(DEPTH)/build/cp.py', | 108 '<(DEPTH)/build/cp.py', |
| 106 '<@(_inputs)', | 109 '<@(_inputs)', |
| 107 '<@(_outputs)', | 110 '<@(_outputs)', |
| 108 ], | 111 ], |
| 109 }, | 112 }, |
| 113 # GN version: //android_webview/rename_natives_blob |
| 110 { | 114 { |
| 111 'action_name': 'rename_natives_blob', | 115 'action_name': 'rename_natives_blob', |
| 112 'inputs': [ | 116 'inputs': [ |
| 113 '<(PRODUCT_DIR)/natives_blob.bin', | 117 '<(PRODUCT_DIR)/natives_blob.bin', |
| 114 ], | 118 ], |
| 115 'outputs': [ | 119 'outputs': [ |
| 116 '<(PRODUCT_DIR)/natives_blob_<(arch_suffix).bin', | 120 '<(PRODUCT_DIR)/natives_blob_<(arch_suffix).bin', |
| 117 ], | 121 ], |
| 118 'action': [ | 122 'action': [ |
| 119 'python', | 123 'python', |
| 120 '<(DEPTH)/build/cp.py', | 124 '<(DEPTH)/build/cp.py', |
| 121 '<@(_inputs)', | 125 '<@(_inputs)', |
| 122 '<@(_outputs)', | 126 '<@(_outputs)', |
| 123 ], | 127 ], |
| 124 }, | 128 }, |
| 125 ], | 129 ], |
| 126 }, | 130 }, |
| 131 # GN version: //android_webview/locale_paks |
| 127 { | 132 { |
| 128 'target_name': 'android_webview_locale_paks', | 133 'target_name': 'android_webview_locale_paks', |
| 129 'type': 'none', | 134 'type': 'none', |
| 130 'variables': { | 135 'variables': { |
| 131 'locale_pak_files': [ | 136 'locale_pak_files': [ |
| 132 '<@(webview_locales_input_common_paks)', | 137 '<@(webview_locales_input_common_paks)', |
| 133 '<@(webview_locales_input_individual_paks)', | 138 '<@(webview_locales_input_individual_paks)', |
| 134 ], | 139 ], |
| 135 }, | 140 }, |
| 136 'includes': [ | 141 'includes': [ |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 'android_manifest_template_vars': ['package=<(system_webview_package_nam
e)'], | 461 'android_manifest_template_vars': ['package=<(system_webview_package_nam
e)'], |
| 457 }, | 462 }, |
| 458 'includes': [ 'apk/system_webview_apk_common.gypi' ], | 463 'includes': [ 'apk/system_webview_apk_common.gypi' ], |
| 459 }, | 464 }, |
| 460 ], | 465 ], |
| 461 'includes': [ | 466 'includes': [ |
| 462 'android_webview_tests.gypi', | 467 'android_webview_tests.gypi', |
| 463 'apk/system_webview_paks.gypi', | 468 'apk/system_webview_paks.gypi', |
| 464 ], | 469 ], |
| 465 } | 470 } |
| OLD | NEW |