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

Side by Side Diff: third_party/expat/expat.gyp

Issue 8598010: replace platform conditions with os_posix and os_bsd where applicable (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 9 years 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
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 { 5 {
6 'target_defaults': { 6 'target_defaults': {
7 'defines': [ 7 'defines': [
8 '_LIB', 8 '_LIB',
9 'XML_STATIC', # Compile for static linkage. 9 'XML_STATIC', # Compile for static linkage.
10 ], 10 ],
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 'defines': [ 52 'defines': [
53 'XML_STATIC', # Tell dependants to expect static linkage. 53 'XML_STATIC', # Tell dependants to expect static linkage.
54 ], 54 ],
55 }, 55 },
56 'conditions': [ 56 'conditions': [
57 ['OS=="win"', { 57 ['OS=="win"', {
58 'defines': [ 58 'defines': [
59 'COMPILED_FROM_DSP', 59 'COMPILED_FROM_DSP',
60 ], 60 ],
61 }], 61 }],
62 ['OS=="mac" or OS=="android" or OS=="freebsd" or OS=="openbsd"', { 62 ['OS=="mac" or OS=="android" or os_bsd==1', {
63 'defines': [ 63 'defines': [
64 'HAVE_EXPAT_CONFIG_H', 64 'HAVE_EXPAT_CONFIG_H',
65 ], 65 ],
66 }], 66 }],
67 ], 67 ],
68 }, 68 },
69 ], 69 ],
70 }], 70 }],
71 ], 71 ],
72 } 72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698