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

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

Issue 206006: Force inclusion of build/common.gypi for all chromium gyp files. (Closed)
Patch Set: 2nd round of feedback 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
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" or OS=="freebsd"', {'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': [
15 '../../build/common.gypi',
16 ],
17 'targets': [ 14 'targets': [
18 { 15 {
19 'target_name': 'libxml', 16 'target_name': 'libxml',
20 'conditions': [ 17 'conditions': [
21 ['(OS=="linux" or OS=="freebsd") and use_system_libxml', { 18 ['(OS=="linux" or OS=="freebsd") and use_system_libxml', {
22 'type': 'settings', 19 'type': 'settings',
23 'direct_dependent_settings': { 20 'direct_dependent_settings': {
24 'cflags': [ 21 'cflags': [
25 '<!@(pkg-config --cflags libxml-2.0)', 22 '<!@(pkg-config --cflags libxml-2.0)',
26 ], 23 ],
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 'product_name': 'libxml2', 176 'product_name': 'libxml2',
180 }, { # else: OS!="win" 177 }, { # else: OS!="win"
181 'product_name': 'xml2', 178 'product_name': 'xml2',
182 }], 179 }],
183 ], 180 ],
184 }], 181 }],
185 ], 182 ],
186 }, 183 },
187 ], 184 ],
188 } 185 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698