summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_shell.gypi
diff options
context:
space:
mode:
authormstrum <mstrum@amazon.com>2015-01-14 10:24:14 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-14 18:25:07 +0000
commit8c70705f1cb3d9726c3ba8f782209173193f8d3e (patch)
tree7fd1d339d14b28489812023172efb9fe4fee97fa /chrome/chrome_shell.gypi
parent3e53fe55d93d5557ffd6c99b2d1c3ea34dbbaad8 (diff)
downloadchromium_src-8c70705f1cb3d9726c3ba8f782209173193f8d3e.zip
chromium_src-8c70705f1cb3d9726c3ba8f782209173193f8d3e.tar.gz
chromium_src-8c70705f1cb3d9726c3ba8f782209173193f8d3e.tar.bz2
Remove redundant OS checks in chrome_shell.gypi
chrome_shell.gypi is only included if OS=="android" so there is no reason to test it again. BUG=none Review URL: https://codereview.chromium.org/810193006 Cr-Commit-Position: refs/heads/master@{#311517}
Diffstat (limited to 'chrome/chrome_shell.gypi')
-rw-r--r--chrome/chrome_shell.gypi22
1 files changed, 8 insertions, 14 deletions
diff --git a/chrome/chrome_shell.gypi b/chrome/chrome_shell.gypi
index 83bbb95..dd7c110 100644
--- a/chrome/chrome_shell.gypi
+++ b/chrome/chrome_shell.gypi
@@ -28,13 +28,16 @@
'include_dirs': [
'../skia/config',
],
+ 'direct_dependent_settings': {
+ 'ldflags': [
+ # Some android targets still depend on --gc-sections to link.
+ # TODO: remove --gc-sections for Debug builds (crbug.com/159847).
+ '-Wl,--gc-sections',
+ ],
+ },
'conditions': [
[ 'order_profiling!=0', {
- 'conditions': [
- [ 'OS=="android"', {
- 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ],
- }],
- ],
+ 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ],
}],
[ 'use_allocator!="none"', {
'dependencies': [
@@ -45,15 +48,6 @@
# Chrome shell should always use the statically-linked CLD data.
'<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_static', ],
}],
- ['OS=="android"', {
- 'direct_dependent_settings': {
- 'ldflags': [
- # Some android targets still depend on --gc-sections to link.
- # TODO: remove --gc-sections for Debug builds (crbug.com/159847).
- '-Wl,--gc-sections',
- ],
- },
- }],
],
},
{