| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # This GYPI allows independent customization of the chrome shell in a manner | 5 # This GYPI allows independent customization of the chrome shell in a manner |
| 6 # similar to content shell (in content_shell.gypi). Notably, this file does | 6 # similar to content shell (in content_shell.gypi). Notably, this file does |
| 7 # NOT contain chrome_android_core, which is independent of the chrome shell | 7 # NOT contain chrome_android_core, which is independent of the chrome shell |
| 8 # and should be separately customized. | 8 # and should be separately customized. |
| 9 { | 9 { |
| 10 'variables': { | 10 'variables': { |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/chrome_shell_manifest/Androi
dManifest.xml', | 101 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/chrome_shell_manifest/Androi
dManifest.xml', |
| 102 }, | 102 }, |
| 103 'includes': [ '../build/android/jinja_template.gypi' ], | 103 'includes': [ '../build/android/jinja_template.gypi' ], |
| 104 }, | 104 }, |
| 105 { | 105 { |
| 106 # GN: //chrome/android:chrome_shell_apk | 106 # GN: //chrome/android:chrome_shell_apk |
| 107 'target_name': 'chrome_shell_apk', | 107 'target_name': 'chrome_shell_apk', |
| 108 'type': 'none', | 108 'type': 'none', |
| 109 'dependencies': [ | 109 'dependencies': [ |
| 110 'chrome_java', | 110 'chrome_java', |
| 111 'chrome_shell_paks', | 111 'chrome_shell_paks_copy', |
| 112 'libchromeshell', | 112 'libchromeshell', |
| 113 '../media/media.gyp:media_java', | 113 '../media/media.gyp:media_java', |
| 114 ], | 114 ], |
| 115 'variables': { | 115 'variables': { |
| 116 'apk_name': 'ChromeShell', | 116 'apk_name': 'ChromeShell', |
| 117 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/chrome_shell_manife
st/AndroidManifest.xml', | 117 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/chrome_shell_manife
st/AndroidManifest.xml', |
| 118 'native_lib_version_name': '<(version_full)', | 118 'native_lib_version_name': '<(version_full)', |
| 119 'java_in_dir': 'android/shell/java', | 119 'java_in_dir': 'android/shell/java', |
| 120 'resource_dir': 'android/shell/res', | 120 'resource_dir': 'android/shell/res', |
| 121 'asset_location': '<(PRODUCT_DIR)/../assets/<(package_name)', | 121 'asset_location': '<(PRODUCT_DIR)/../assets/<(package_name)', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 135 # This target should only be used by targets which instrument | 135 # This target should only be used by targets which instrument |
| 136 # chrome_shell_apk. | 136 # chrome_shell_apk. |
| 137 'target_name': 'chrome_shell_apk_java', | 137 'target_name': 'chrome_shell_apk_java', |
| 138 'type': 'none', | 138 'type': 'none', |
| 139 'dependencies': [ | 139 'dependencies': [ |
| 140 'chrome_shell_apk', | 140 'chrome_shell_apk', |
| 141 ], | 141 ], |
| 142 'includes': [ '../build/apk_fake_jar.gypi' ], | 142 'includes': [ '../build/apk_fake_jar.gypi' ], |
| 143 }, | 143 }, |
| 144 { | 144 { |
| 145 'target_name': 'chrome_shell_paks', | |
| 146 'type': 'none', | |
| 147 'dependencies': [ | |
| 148 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources', | |
| 149 '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources', | |
| 150 ], | |
| 151 'copies': [ | |
| 152 { | |
| 153 'destination': '<(chrome_android_pak_output_folder)', | |
| 154 'files': [ | |
| 155 '<@(chrome_android_pak_input_resources)', | |
| 156 ], | |
| 157 } | |
| 158 ], | |
| 159 }, | |
| 160 { | |
| 161 # GN: //chrome/android:chrome_sync_shell_manifest | 145 # GN: //chrome/android:chrome_sync_shell_manifest |
| 162 'target_name': 'chrome_sync_shell_manifest', | 146 'target_name': 'chrome_sync_shell_manifest', |
| 163 'type': 'none', | 147 'type': 'none', |
| 164 'variables': { | 148 'variables': { |
| 165 'jinja_inputs': ['android/sync_shell/java/AndroidManifest.xml.jinja2'], | 149 'jinja_inputs': ['android/sync_shell/java/AndroidManifest.xml.jinja2'], |
| 166 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/chrome_sync_shell_manifest/A
ndroidManifest.xml', | 150 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/chrome_sync_shell_manifest/A
ndroidManifest.xml', |
| 167 }, | 151 }, |
| 168 'includes': [ '../build/android/jinja_template.gypi' ], | 152 'includes': [ '../build/android/jinja_template.gypi' ], |
| 169 }, | 153 }, |
| 170 { | 154 { |
| 171 # GN: //chrome/android:chrome_sync_shell_apk | 155 # GN: //chrome/android:chrome_sync_shell_apk |
| 172 'target_name': 'chrome_sync_shell_apk', | 156 'target_name': 'chrome_sync_shell_apk', |
| 173 'type': 'none', | 157 'type': 'none', |
| 174 'dependencies': [ | 158 'dependencies': [ |
| 175 'chrome_java', | 159 'chrome_java', |
| 176 'chrome_shell_paks', | 160 'chrome_shell_paks_copy', |
| 177 'libchromesyncshell', | 161 'libchromesyncshell', |
| 178 '../media/media.gyp:media_java', | 162 '../media/media.gyp:media_java', |
| 179 '../sync/sync.gyp:sync_java_test_support', | 163 '../sync/sync.gyp:sync_java_test_support', |
| 180 ], | 164 ], |
| 181 'variables': { | 165 'variables': { |
| 182 'apk_name': 'ChromeSyncShell', | 166 'apk_name': 'ChromeSyncShell', |
| 183 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/chrome_sync_shell_m
anifest/AndroidManifest.xml', | 167 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/chrome_sync_shell_m
anifest/AndroidManifest.xml', |
| 184 'R_package': 'org.chromium.chrome.shell', | 168 'R_package': 'org.chromium.chrome.shell', |
| 185 'native_lib_version_name': '<(version_full)', | 169 'native_lib_version_name': '<(version_full)', |
| 186 'java_in_dir': 'android/shell/java', | 170 'java_in_dir': 'android/shell/java', |
| (...skipping 16 matching lines...) Expand all Loading... |
| 203 'target_name': 'chrome_sync_shell_apk_java', | 187 'target_name': 'chrome_sync_shell_apk_java', |
| 204 'type': 'none', | 188 'type': 'none', |
| 205 'dependencies': [ | 189 'dependencies': [ |
| 206 'chrome_sync_shell_apk', | 190 'chrome_sync_shell_apk', |
| 207 ], | 191 ], |
| 208 'includes': [ '../build/apk_fake_jar.gypi' ], | 192 'includes': [ '../build/apk_fake_jar.gypi' ], |
| 209 }, | 193 }, |
| 210 ], | 194 ], |
| 211 | 195 |
| 212 } | 196 } |
| OLD | NEW |