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: build/linux/unbundle/libjpeg.gyp

Issue 14203006: Extract use_system_foo logic out of gyp files, patch 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'harfbuzz-ng', 8 'target_name': 'libjpeg',
9 'type': 'none', 9 'type': 'none',
10 'cflags': [
11 '<!@(pkg-config --cflags harfbuzz)',
12 ],
13 'direct_dependent_settings': { 10 'direct_dependent_settings': {
14 'cflags': [ 11 'defines': [
15 '<!@(pkg-config --cflags harfbuzz)', 12 'USE_SYSTEM_LIBJPEG',
13 ],
14 'conditions': [
15 ['os_bsd==1', {
16 'include_dirs': [
17 '/usr/local/include',
18 ],
19 }],
16 ], 20 ],
17 }, 21 },
18 'link_settings': { 22 'link_settings': {
19 'ldflags': [
20 '<!@(pkg-config --libs-only-L --libs-only-other harfbuzz)',
21 ],
22 'libraries': [ 23 'libraries': [
23 '<!@(pkg-config --libs-only-l harfbuzz)', 24 '-ljpeg',
24 ], 25 ],
25 }, 26 },
26 }, 27 }
27 ], 28 ],
28 } 29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698