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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 'sources': [ | 50 'sources': [ |
51 'android/shell/chrome_shell_entry_point.cc', | 51 'android/shell/chrome_shell_entry_point.cc', |
52 'android/shell/chrome_main_delegate_chrome_shell_android.cc', | 52 'android/shell/chrome_main_delegate_chrome_shell_android.cc', |
53 'android/shell/chrome_main_delegate_chrome_shell_android.h', | 53 'android/shell/chrome_main_delegate_chrome_shell_android.h', |
54 ], | 54 ], |
55 'dependencies': [ | 55 'dependencies': [ |
56 'libchromeshell_base', | 56 'libchromeshell_base', |
57 ], | 57 ], |
58 }, | 58 }, |
59 { | 59 { |
| 60 # GN: //chrome/android:chrome_sync_shell |
| 61 'target_name': 'libchromesyncshell', |
| 62 'type': 'shared_library', |
| 63 'sources': [ |
| 64 'android/shell/chrome_shell_entry_point.cc', |
| 65 'android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc', |
| 66 'android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.h', |
| 67 ], |
| 68 'dependencies': [ |
| 69 'libchromeshell_base', |
| 70 '../sync/sync.gyp:sync_core', |
| 71 '../sync/sync.gyp:test_support_sync_fake_server_android', |
| 72 ], |
| 73 }, |
| 74 { |
60 # GN: //chrome/android:chrome_shell_manifest | 75 # GN: //chrome/android:chrome_shell_manifest |
61 'target_name': 'chrome_shell_manifest', | 76 'target_name': 'chrome_shell_manifest', |
62 'type': 'none', | 77 'type': 'none', |
63 'variables': { | 78 'variables': { |
64 'jinja_inputs': ['android/shell/java/AndroidManifest.xml.jinja2'], | 79 'jinja_inputs': ['android/shell/java/AndroidManifest.xml.jinja2'], |
65 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/chrome_shell_manifest/Androi
dManifest.xml', | 80 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/chrome_shell_manifest/Androi
dManifest.xml', |
66 }, | 81 }, |
67 'includes': [ '../build/android/jinja_template.gypi' ], | 82 'includes': [ '../build/android/jinja_template.gypi' ], |
68 }, | 83 }, |
69 { | 84 { |
(...skipping 30 matching lines...) Expand all Loading... |
100 # jar path in the variable 'apk_output_jar_path'. | 115 # jar path in the variable 'apk_output_jar_path'. |
101 # This target should only be used by targets which instrument | 116 # This target should only be used by targets which instrument |
102 # chrome_shell_apk. | 117 # chrome_shell_apk. |
103 'target_name': 'chrome_shell_apk_java', | 118 'target_name': 'chrome_shell_apk_java', |
104 'type': 'none', | 119 'type': 'none', |
105 'dependencies': [ | 120 'dependencies': [ |
106 'chrome_shell_apk', | 121 'chrome_shell_apk', |
107 ], | 122 ], |
108 'includes': [ '../build/apk_fake_jar.gypi' ], | 123 'includes': [ '../build/apk_fake_jar.gypi' ], |
109 }, | 124 }, |
| 125 { |
| 126 # GN: //chrome/android:chrome_sync_shell_manifest |
| 127 'target_name': 'chrome_sync_shell_manifest', |
| 128 'type': 'none', |
| 129 'variables': { |
| 130 'jinja_inputs': ['android/sync_shell/java/AndroidManifest.xml.jinja2'], |
| 131 'jinja_output': '<(SHARED_INTERMEDIATE_DIR)/chrome_sync_shell_manifest/A
ndroidManifest.xml', |
| 132 }, |
| 133 'includes': [ '../build/android/jinja_template.gypi' ], |
| 134 }, |
| 135 { |
| 136 # GN: //chrome/android:chrome_sync_shell_apk |
| 137 'target_name': 'chrome_sync_shell_apk', |
| 138 'type': 'none', |
| 139 'dependencies': [ |
| 140 'chrome_java', |
| 141 'chrome_android_paks_copy', |
| 142 'libchromesyncshell', |
| 143 '../media/media.gyp:media_java', |
| 144 '../sync/sync.gyp:sync_java_test_support', |
| 145 ], |
| 146 'variables': { |
| 147 'apk_name': 'ChromeSyncShell', |
| 148 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/chrome_sync_shell_m
anifest/AndroidManifest.xml', |
| 149 'R_package': 'org.chromium.chrome.shell', |
| 150 'native_lib_version_name': '<(version_full)', |
| 151 'java_in_dir': 'android/shell/java', |
| 152 'resource_dir': 'android/shell/res', |
| 153 'asset_location': '<(PRODUCT_DIR)/assets/<(package_name)', |
| 154 'native_lib_target': 'libchromesyncshell', |
| 155 'additional_input_paths': [ |
| 156 '<@(chrome_android_pak_output_resources)', |
| 157 ], |
| 158 }, |
| 159 'includes': [ '../build/java_apk.gypi', ], |
| 160 }, |
| 161 { |
| 162 # GN: N/A |
| 163 # chrome_sync_shell_apk creates a .jar as a side effect. Any java |
| 164 # targets that need that .jar in their classpath should depend on this |
| 165 # target. Dependents of chrome_sync_shell_apk receive its jar path in the |
| 166 # variable 'apk_output_jar_path'. This target should only be used by |
| 167 # targets which instrument chrome_sync_shell_apk. |
| 168 'target_name': 'chrome_sync_shell_apk_java', |
| 169 'type': 'none', |
| 170 'dependencies': [ |
| 171 'chrome_sync_shell_apk', |
| 172 ], |
| 173 'includes': [ '../build/apk_fake_jar.gypi' ], |
| 174 }, |
110 ], | 175 ], |
111 | 176 |
112 } | 177 } |
OLD | NEW |