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

Side by Side Diff: build/linux/unbundle/harfbuzz.gyp

Issue 16172008: Fix build with harfbuzz-0.9.18 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « no previous file | 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 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 'variables': {
7 # Check for presence of harfbuzz-icu library, use it if present.
8 'harfbuzz_libraries':
9 '<!(python <(DEPTH)/tools/compile_test/compile_test.py '
10 '--code "int main() { return 0; }" '
11 '--run-linker '
12 '--on-success "harfbuzz harfbuzz-icu" '
13 '--on-failure "harfbuzz" '
14 '-- -lharfbuzz-icu)',
15 },
6 'targets': [ 16 'targets': [
7 { 17 {
8 'target_name': 'harfbuzz-ng', 18 'target_name': 'harfbuzz-ng',
9 'type': 'none', 19 'type': 'none',
10 'cflags': [ 20 'cflags': [
11 '<!@(pkg-config --cflags harfbuzz)', 21 '<!@(pkg-config --cflags <(harfbuzz_libraries))',
12 ], 22 ],
13 'direct_dependent_settings': { 23 'direct_dependent_settings': {
14 'cflags': [ 24 'cflags': [
15 '<!@(pkg-config --cflags harfbuzz)', 25 '<!@(pkg-config --cflags <(harfbuzz_libraries))',
16 ], 26 ],
17 }, 27 },
18 'link_settings': { 28 'link_settings': {
19 'ldflags': [ 29 'ldflags': [
20 '<!@(pkg-config --libs-only-L --libs-only-other harfbuzz)', 30 '<!@(pkg-config --libs-only-L --libs-only-other <(harfbuzz_libraries)) ',
21 ], 31 ],
22 'libraries': [ 32 'libraries': [
23 '<!@(pkg-config --libs-only-l harfbuzz)', 33 '<!@(pkg-config --libs-only-l <(harfbuzz_libraries))',
24 ], 34 ],
25 }, 35 },
26 }, 36 },
27 ], 37 ],
28 } 38 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698