]> git.pld-linux.org Git - packages/chromium-browser.git/blob - harfbuzz-icu.patch
up to 28.0.1500.71
[packages/chromium-browser.git] / harfbuzz-icu.patch
1 issues with system harfbuzz-0.9.18
2 https://groups.google.com/a/chromium.org/forum/#!topic/chromium-packagers/xULZMMsnolw
3
4 --- trunk/src/build/linux/unbundle/harfbuzz.gyp 2013/06/05 21:37:20     204344
5 +++ trunk/src/build/linux/unbundle/harfbuzz.gyp 2013/06/05 21:40:43     204345
6 @@ -3,24 +3,34 @@
7  # found in the LICENSE file.
8  
9  {
10 +  'variables': {
11 +    # Check for presence of harfbuzz-icu library, use it if present.
12 +    'harfbuzz_libraries':
13 +        '<!(python <(DEPTH)/tools/compile_test/compile_test.py '
14 +        '--code "int main() { return 0; }" '
15 +        '--run-linker '
16 +        '--on-success "harfbuzz harfbuzz-icu" '
17 +        '--on-failure "harfbuzz" '
18 +        '-- -lharfbuzz-icu)',
19 +  },
20    'targets': [
21      {
22        'target_name': 'harfbuzz-ng',
23        'type': 'none',
24        'cflags': [
25 -        '<!@(pkg-config --cflags harfbuzz)',
26 +        '<!@(pkg-config --cflags <(harfbuzz_libraries))',
27        ],
28        'direct_dependent_settings': {
29          'cflags': [
30 -          '<!@(pkg-config --cflags harfbuzz)',
31 +          '<!@(pkg-config --cflags <(harfbuzz_libraries))',
32          ],
33        },
34        'link_settings': {
35          'ldflags': [
36 -          '<!@(pkg-config --libs-only-L --libs-only-other harfbuzz)',
37 +          '<!@(pkg-config --libs-only-L --libs-only-other <(harfbuzz_libraries))',
38          ],
39          'libraries': [
40 -          '<!@(pkg-config --libs-only-l harfbuzz)',
41 +          '<!@(pkg-config --libs-only-l <(harfbuzz_libraries))',
42          ],
43        },
44      },
This page took 0.048083 seconds and 3 git commands to generate.