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': { |
11 'package_name': 'chrome_shell_apk', | 11 'package_name': 'chrome_shell_apk', |
12 }, | 12 }, |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 # GN: //chrome/android:chrome_shell_base | 15 # GN: //chrome/android:chrome_shell_base |
16 'target_name': 'libchromeshell_base', | 16 'target_name': 'libchromeshell_base', |
17 'type': 'none', | 17 'type': 'none', |
18 'dependencies': [ | 18 'dependencies': [ |
19 '../base/base.gyp:base', | 19 '../base/base.gyp:base', |
20 'chrome_android_core', | 20 'chrome_android_core', |
21 'chrome.gyp:browser_ui', | 21 'chrome.gyp:browser_ui', |
22 '../content/content.gyp:content_app_browser', | 22 '../content/content.gyp:content_app_both', |
23 ], | 23 ], |
24 'direct_dependent_settings': { | 24 'direct_dependent_settings': { |
25 'ldflags': [ | 25 'ldflags': [ |
26 # Some android targets still depend on --gc-sections to link. | 26 # Some android targets still depend on --gc-sections to link. |
27 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). | 27 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). |
28 '-Wl,--gc-sections', | 28 '-Wl,--gc-sections', |
29 ], | 29 ], |
30 }, | 30 }, |
31 'conditions': [ | 31 'conditions': [ |
32 [ 'order_profiling!=0', { | 32 [ 'order_profiling!=0', { |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 'target_name': 'chrome_sync_shell_apk_java', | 168 'target_name': 'chrome_sync_shell_apk_java', |
169 'type': 'none', | 169 'type': 'none', |
170 'dependencies': [ | 170 'dependencies': [ |
171 'chrome_sync_shell_apk', | 171 'chrome_sync_shell_apk', |
172 ], | 172 ], |
173 'includes': [ '../build/apk_fake_jar.gypi' ], | 173 'includes': [ '../build/apk_fake_jar.gypi' ], |
174 }, | 174 }, |
175 ], | 175 ], |
176 | 176 |
177 } | 177 } |
OLD | NEW |