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': 'static_library', | 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_browser', |
23 ], | 23 ], |
24 'sources': [ | |
25 'android/shell/chrome_shell_google_location_settings_helper.cc', | |
26 'android/shell/chrome_shell_google_location_settings_helper.h', | |
27 ], | |
28 'include_dirs': [ | |
29 '../skia/config', | |
30 ], | |
31 'direct_dependent_settings': { | 24 'direct_dependent_settings': { |
32 'ldflags': [ | 25 'ldflags': [ |
33 # Some android targets still depend on --gc-sections to link. | 26 # Some android targets still depend on --gc-sections to link. |
34 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). | 27 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). |
35 '-Wl,--gc-sections', | 28 '-Wl,--gc-sections', |
36 ], | 29 ], |
37 }, | 30 }, |
38 'conditions': [ | 31 'conditions': [ |
39 [ 'order_profiling!=0', { | 32 [ 'order_profiling!=0', { |
40 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], | 33 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 'target_name': 'chrome_sync_shell_apk_java', | 190 'target_name': 'chrome_sync_shell_apk_java', |
198 'type': 'none', | 191 'type': 'none', |
199 'dependencies': [ | 192 'dependencies': [ |
200 'chrome_sync_shell_apk', | 193 'chrome_sync_shell_apk', |
201 ], | 194 ], |
202 'includes': [ '../build/apk_fake_jar.gypi' ], | 195 'includes': [ '../build/apk_fake_jar.gypi' ], |
203 }, | 196 }, |
204 ], | 197 ], |
205 | 198 |
206 } | 199 } |
OLD | NEW |