| 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 'conditions': [ | 8 'conditions': [ |
| 9 ['android_webview_build==0', { | 9 ['android_webview_build==0', { |
| 10 'includes': [ | 10 'includes': [ |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 }, | 44 }, |
| 45 { | 45 { |
| 46 'target_name': 'android_webview_pak', | 46 'target_name': 'android_webview_pak', |
| 47 'type': 'none', | 47 'type': 'none', |
| 48 'dependencies': [ | 48 'dependencies': [ |
| 49 '<(DEPTH)/content/content_resources.gyp:content_resources', | 49 '<(DEPTH)/content/content_resources.gyp:content_resources', |
| 50 '<(DEPTH)/net/net.gyp:net_resources', | 50 '<(DEPTH)/net/net.gyp:net_resources', |
| 51 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', | 51 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', |
| 52 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources', | 52 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources', |
| 53 ], | 53 ], |
| 54 'variables': { | |
| 55 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py', | |
| 56 }, | |
| 57 'actions': [ | 54 'actions': [ |
| 58 { | 55 { |
| 59 'action_name': 'repack_android_webview_pack', | 56 'action_name': 'repack_android_webview_pack', |
| 60 'variables': { | 57 'variables': { |
| 61 'pak_inputs': [ | 58 'pak_inputs': [ |
| 62 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', | 59 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', |
| 63 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', | 60 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
| 64 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_perce
nt.pak', | 61 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_perce
nt.pak', |
| 65 '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.pak', | 62 '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.pak', |
| 66 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pa
k', | 63 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pa
k', |
| 67 ], | 64 ], |
| 65 'pak_output': '<(PRODUCT_DIR)/android_webview_apk/assets/webviewchro
mium.pak', |
| 68 }, | 66 }, |
| 69 'inputs': [ | 67 'includes': [ '../build/repack_action.gypi' ], |
| 70 '<(repack_path)', | |
| 71 '<@(pak_inputs)', | |
| 72 ], | |
| 73 'outputs': [ | |
| 74 '<(PRODUCT_DIR)/android_webview_apk/assets/webviewchromium.pak', | |
| 75 ], | |
| 76 'action': ['python', '<(repack_path)', '<@(_outputs)', | |
| 77 '<@(pak_inputs)'], | |
| 78 } | 68 } |
| 79 ], | 69 ], |
| 80 }, | 70 }, |
| 81 { | 71 { |
| 82 'target_name': 'android_webview_common', | 72 'target_name': 'android_webview_common', |
| 83 'type': 'static_library', | 73 'type': 'static_library', |
| 84 'dependencies': [ | 74 'dependencies': [ |
| 85 '../android_webview/native/webview_native.gyp:webview_native', | 75 '../android_webview/native/webview_native.gyp:webview_native', |
| 86 '../components/components.gyp:auto_login_parser', | 76 '../components/components.gyp:auto_login_parser', |
| 87 '../components/components.gyp:autofill_content_renderer', | 77 '../components/components.gyp:autofill_content_renderer', |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 '../content/content.gyp:content_java', | 219 '../content/content.gyp:content_java', |
| 230 '../ui/android/ui_android.gyp:ui_java', | 220 '../ui/android/ui_android.gyp:ui_java', |
| 231 ], | 221 ], |
| 232 'variables': { | 222 'variables': { |
| 233 'java_in_dir': '../android_webview/java', | 223 'java_in_dir': '../android_webview/java', |
| 234 }, | 224 }, |
| 235 'includes': [ '../build/java.gypi' ], | 225 'includes': [ '../build/java.gypi' ], |
| 236 }, | 226 }, |
| 237 ], | 227 ], |
| 238 } | 228 } |
| OLD | NEW |