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

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

Issue 550113003: Remove android system expat support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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"', {
(...skipping 16 matching lines...) Expand all
27 ['use_system_expat == 1', { 27 ['use_system_expat == 1', {
28 'targets': [ 28 'targets': [
29 { 29 {
30 'target_name': 'expat', 30 'target_name': 'expat',
31 'type': 'none', 31 'type': 'none',
32 'link_settings': { 32 'link_settings': {
33 'libraries': [ 33 'libraries': [
34 '-lexpat', 34 '-lexpat',
35 ], 35 ],
36 }, 36 },
37 'conditions': [
38 ['OS=="android"', {
39 'direct_dependent_settings': {
40 'include_dirs': [
41 '<(android_src)/external/expat/lib',
42 ],
43 },
44 }],
45 ],
46 }, 37 },
47 ], 38 ],
48 }, { # else: use_system_expat != 1 39 }, { # else: use_system_expat != 1
49 'targets': [ 40 'targets': [
50 { 41 {
51 'target_name': 'expat', 42 'target_name': 'expat',
52 'type': 'static_library', 43 'type': 'static_library',
53 'sources': [ 44 'sources': [
54 'files/lib/expat.h', 45 'files/lib/expat.h',
55 'files/lib/xmlparse.c', 46 'files/lib/xmlparse.c',
(...skipping 23 matching lines...) Expand all
79 'defines': [ 70 'defines': [
80 'HAVE_EXPAT_CONFIG_H', 71 'HAVE_EXPAT_CONFIG_H',
81 ], 72 ],
82 }], 73 }],
83 ], 74 ],
84 }, 75 },
85 ], 76 ],
86 }], 77 }],
87 ], 78 ],
88 } 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