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

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

Issue 669673004: Check in executable for iOS test launcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 1 month 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/jsr-305/jsr-305.gyp ('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 # Define an "os_include" variable that points at the OS-specific generated 8 # Define an "os_include" variable that points at the OS-specific generated
9 # headers. These were generated by running the configure script offline. 9 # headers. These were generated by running the configure script offline.
10 ['os_posix == 1 and OS != "mac" and OS != "ios"', { 10 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
11 'os_include': 'linux' 11 'os_include': 'linux'
12 }], 12 }],
13 ['OS=="mac"', {'os_include': 'mac'}], 13 ['OS=="mac"', {'os_include': 'mac'}],
14 ['OS=="win"', {'os_include': 'win32'}], 14 ['OS=="win"', {'os_include': 'win32'}],
15 ], 15 ],
16 'use_system_libxml%': 0, 16 'use_system_libxml%': 0,
17 }, 17 },
18 'targets': [ 18 'targets': [
19 { 19 {
20 'target_name': 'libxml', 20 'target_name': 'libxml',
21 'toolsets': ['host', 'target'],
21 'conditions': [ 22 'conditions': [
22 ['use_system_libxml', { 23 ['use_system_libxml', {
23 'conditions': [ 24 'conditions': [
24 ['os_posix == 1 and OS != "mac" and OS != "ios"', { 25 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
25 'type': 'static_library', 26 'type': 'static_library',
26 'sources': [ 27 'sources': [
27 'chromium/libxml_utils.h', 28 'chromium/libxml_utils.h',
28 'chromium/libxml_utils.cc', 29 'chromium/libxml_utils.cc',
29 ], 30 ],
30 'cflags': [ 31 'cflags': [
(...skipping 13 matching lines...) Expand all
44 'link_settings': { 45 'link_settings': {
45 'ldflags': [ 46 'ldflags': [
46 '<!@(pkg-config --libs-only-L --libs-only-other libxml-2.0)', 47 '<!@(pkg-config --libs-only-L --libs-only-other libxml-2.0)',
47 ], 48 ],
48 'libraries': [ 49 'libraries': [
49 '<!@(pkg-config --libs-only-l libxml-2.0)', 50 '<!@(pkg-config --libs-only-l libxml-2.0)',
50 ], 51 ],
51 }, 52 },
52 }], 53 }],
53 ['OS == "ios"', { 54 ['OS == "ios"', {
54 'type': 'none', 55 'type': 'static_library',
56 'sources': [
57 'chromium/libxml_utils.h',
58 'chromium/libxml_utils.cc',
59 ],
60 'include_dirs': [
61 '$(SDKROOT)/usr/include/libxml2',
62 ],
55 'all_dependent_settings': { 63 'all_dependent_settings': {
56 'defines': [ 64 'defines': [
57 'USE_SYSTEM_LIBXML', 65 'USE_SYSTEM_LIBXML',
58 ], 66 ],
59 'include_dirs': [ 67 'include_dirs': [
60 '$(SDKROOT)/usr/include/libxml2', 68 '$(SDKROOT)/usr/include/libxml2',
61 ], 69 ],
62 }, 70 },
63 'link_settings': { 71 'link_settings': {
64 'libraries': [ 72 'libraries': [
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 'msvs_disabled_warnings': [ 4018, 4101, 4267 ], 255 'msvs_disabled_warnings': [ 4018, 4101, 4267 ],
248 }, { # else: OS!="win" 256 }, { # else: OS!="win"
249 'product_name': 'xml2', 257 'product_name': 'xml2',
250 }], 258 }],
251 ], 259 ],
252 }], 260 }],
253 ], 261 ],
254 }, 262 },
255 ], 263 ],
256 } 264 }
OLDNEW
« no previous file with comments | « third_party/jsr-305/jsr-305.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698