Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Side by Side Diff: chrome/chrome_shell.gypi

Issue 461633002: Refactor language detection logic to allow non-static CLD data sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge error in chrome/browser/BUILD.gn Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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==2', {
44 'dependencies': [
45 # Chrome shell should always use the statically-linked CLD data.
46 '../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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 'target_name': 'chrome_sync_shell_apk_java', 177 'target_name': 'chrome_sync_shell_apk_java',
173 'type': 'none', 178 'type': 'none',
174 'dependencies': [ 179 'dependencies': [
175 'chrome_sync_shell_apk', 180 'chrome_sync_shell_apk',
176 ], 181 ],
177 'includes': [ '../build/apk_fake_jar.gypi' ], 182 'includes': [ '../build/apk_fake_jar.gypi' ],
178 }, 183 },
179 ], 184 ],
180 185
181 } 186 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698