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

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

Issue 172032: First cut for a FreeBSD port - much still not working (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 ['OS=="linux"', {'os_include': 'linux'}], 8 ['OS=="linux" or OS=="freebsd"', {'os_include': 'linux'}],
9 ['OS=="mac"', {'os_include': 'mac'}], 9 ['OS=="mac"', {'os_include': 'mac'}],
10 ['OS=="win"', {'os_include': 'win32'}], 10 ['OS=="win"', {'os_include': 'win32'}],
11 ], 11 ],
12 'use_system_libxml%': 0, 12 'use_system_libxml%': 0,
13 }, 13 },
14 'includes': [ 14 'includes': [
15 '../../build/common.gypi', 15 '../../build/common.gypi',
16 ], 16 ],
17 'targets': [ 17 'targets': [
18 { 18 {
19 'target_name': 'libxml', 19 'target_name': 'libxml',
20 'conditions': [ 20 'conditions': [
21 ['OS=="linux" and use_system_libxml', { 21 ['(OS=="linux" or OS=="freebsd") and use_system_libxml', {
22 'type': 'settings', 22 'type': 'settings',
23 'direct_dependent_settings': { 23 'direct_dependent_settings': {
24 'cflags': [ 24 'cflags': [
25 '<!@(pkg-config --cflags libxml-2.0)', 25 '<!@(pkg-config --cflags libxml-2.0)',
26 ], 26 ],
27 'defines': [ 27 'defines': [
28 'USE_SYSTEM_LIBXML', 28 'USE_SYSTEM_LIBXML',
29 ], 29 ],
30 }, 30 },
31 'link_settings': { 31 'link_settings': {
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 'libraries': [ 226 'libraries': [
227 '-ldl', 227 '-ldl',
228 '-lm', 228 '-lm',
229 ], 229 ],
230 }, 230 },
231 }], 231 }],
232 ], 232 ],
233 }, 233 },
234 ], 234 ],
235 } 235 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698