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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 'apk_name': 'ChromeShell', | 100 'apk_name': 'ChromeShell', |
101 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/chrome_shell_manife
st/AndroidManifest.xml', | 101 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/chrome_shell_manife
st/AndroidManifest.xml', |
102 'native_lib_version_name': '<(version_full)', | 102 'native_lib_version_name': '<(version_full)', |
103 'java_in_dir': 'android/shell/java', | 103 'java_in_dir': 'android/shell/java', |
104 'resource_dir': 'android/shell/res', | 104 'resource_dir': 'android/shell/res', |
105 'asset_location': '<(PRODUCT_DIR)/../assets/<(package_name)', | 105 'asset_location': '<(PRODUCT_DIR)/../assets/<(package_name)', |
106 'native_lib_target': 'libchromeshell', | 106 'native_lib_target': 'libchromeshell', |
107 'additional_input_paths': [ | 107 'additional_input_paths': [ |
108 '<@(chrome_android_pak_output_resources)', | 108 '<@(chrome_android_pak_output_resources)', |
109 ], | 109 ], |
| 110 'proguard_enabled': 'true', |
| 111 'proguard_flags_paths': ['android/shell/java/proguard.flags'], |
110 }, | 112 }, |
111 'includes': [ '../build/java_apk.gypi', ], | 113 'includes': [ '../build/java_apk.gypi', ], |
112 }, | 114 }, |
113 { | 115 { |
114 # GN: N/A | 116 # GN: N/A |
115 # chrome_shell_apk creates a .jar as a side effect. Any java targets | 117 # chrome_shell_apk creates a .jar as a side effect. Any java targets |
116 # that need that .jar in their classpath should depend on this target, | 118 # that need that .jar in their classpath should depend on this target, |
117 # chrome_shell_apk_java. Dependents of chrome_shell_apk receive its | 119 # chrome_shell_apk_java. Dependents of chrome_shell_apk receive its |
118 # jar path in the variable 'apk_output_jar_path'. | 120 # jar path in the variable 'apk_output_jar_path'. |
119 # This target should only be used by targets which instrument | 121 # This target should only be used by targets which instrument |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 'target_name': 'chrome_sync_shell_apk_java', | 173 'target_name': 'chrome_sync_shell_apk_java', |
172 'type': 'none', | 174 'type': 'none', |
173 'dependencies': [ | 175 'dependencies': [ |
174 'chrome_sync_shell_apk', | 176 'chrome_sync_shell_apk', |
175 ], | 177 ], |
176 'includes': [ '../build/apk_fake_jar.gypi' ], | 178 'includes': [ '../build/apk_fake_jar.gypi' ], |
177 }, | 179 }, |
178 ], | 180 ], |
179 | 181 |
180 } | 182 } |
OLD | NEW |