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 22 matching lines...) Expand all Loading... |
33 'conditions': [ | 33 'conditions': [ |
34 [ 'OS=="android"', { | 34 [ 'OS=="android"', { |
35 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile',
], | 35 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile',
], |
36 }], | 36 }], |
37 ], | 37 ], |
38 }], | 38 }], |
39 [ 'use_allocator!="none"', { | 39 [ 'use_allocator!="none"', { |
40 'dependencies': [ | 40 'dependencies': [ |
41 '../base/allocator/allocator.gyp:allocator', ], | 41 '../base/allocator/allocator.gyp:allocator', ], |
42 }], | 42 }], |
| 43 [ 'cld_version==0 or cld_version==2', { |
| 44 'dependencies': [ |
| 45 # Chrome shell should always use the statically-linked CLD data. |
| 46 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_static', ], |
| 47 }], |
43 ['OS=="android"', { | 48 ['OS=="android"', { |
44 'direct_dependent_settings': { | 49 'direct_dependent_settings': { |
45 'ldflags': [ | 50 'ldflags': [ |
46 # Some android targets still depend on --gc-sections to link. | 51 # Some android targets still depend on --gc-sections to link. |
47 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). | 52 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). |
48 '-Wl,--gc-sections', | 53 '-Wl,--gc-sections', |
49 ], | 54 ], |
50 }, | 55 }, |
51 }], | 56 }], |
52 ], | 57 ], |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 'target_name': 'chrome_sync_shell_apk_java', | 188 'target_name': 'chrome_sync_shell_apk_java', |
184 'type': 'none', | 189 'type': 'none', |
185 'dependencies': [ | 190 'dependencies': [ |
186 'chrome_sync_shell_apk', | 191 'chrome_sync_shell_apk', |
187 ], | 192 ], |
188 'includes': [ '../build/apk_fake_jar.gypi' ], | 193 'includes': [ '../build/apk_fake_jar.gypi' ], |
189 }, | 194 }, |
190 ], | 195 ], |
191 | 196 |
192 } | 197 } |
OLD | NEW |