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

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

Issue 1573323002: [Chromecast] Don't use system libexpat. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Added comment for GN chromecast case. Created 4 years, 11 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
« no previous file with comments | « third_party/expat/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'variables': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 # On Linux, we implicitly already depend on expat via fontconfig; 8 # On Linux, we implicitly already depend on expat via fontconfig;
9 # let's not pull it in twice. 9 # let's not pull it in twice.
10 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { 10 ['os_posix==1 and OS!="mac" and OS!="ios" and OS!="android" and chromecast !=1', {
11 'use_system_expat%': 1, 11 'use_system_expat%': 1,
12 }, { 12 }, {
13 'use_system_expat%': 0, 13 'use_system_expat%': 0,
14 }], 14 }],
15 ], 15 ],
16 }, 16 },
17 'target_defaults': { 17 'target_defaults': {
18 'defines': [ 18 'defines': [
19 '_LIB', 19 '_LIB',
20 'XML_STATIC', # Compile for static linkage. 20 'XML_STATIC', # Compile for static linkage.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 'defines': [ 59 'defines': [
60 'XML_STATIC', # Tell dependants to expect static linkage. 60 'XML_STATIC', # Tell dependants to expect static linkage.
61 ], 61 ],
62 }, 62 },
63 'conditions': [ 63 'conditions': [
64 ['OS=="win"', { 64 ['OS=="win"', {
65 'defines': [ 65 'defines': [
66 'COMPILED_FROM_DSP', 66 'COMPILED_FROM_DSP',
67 ], 67 ],
68 }], 68 }],
69 ['OS=="mac" or OS=="ios" or OS=="android" or os_bsd==1', { 69 ['OS=="mac" or OS=="ios" or OS=="android" or os_bsd==1 or chromecast ==1', {
70 'defines': [ 70 'defines': [
71 'HAVE_EXPAT_CONFIG_H', 71 'HAVE_EXPAT_CONFIG_H',
72 ], 72 ],
73 }], 73 }],
74 ], 74 ],
75 }, 75 },
76 ], 76 ],
77 }], 77 }],
78 ], 78 ],
79 } 79 }
OLDNEW
« no previous file with comments | « third_party/expat/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698