]> git.pld-linux.org Git - packages/chromium-browser.git/blob - options-support.patch
- Ensure that the system_library options are used
[packages/chromium-browser.git] / options-support.patch
1 diff -up chromium-20090916svn26392/src/build/common.gypi.options chromium-20090916svn26392/src/build/common.gypi
2 --- chromium-20090916svn26392/src/build/common.gypi.options     2009-09-16 17:34:31.000000000 -0400
3 +++ chromium-20090916svn26392/src/build/common.gypi     2009-09-16 19:55:45.000000000 -0400
4 @@ -135,6 +135,18 @@
5      # Set this to true to enable SELinux support.
6      'selinux%': 0,
7  
8 +    # Use system libpng
9 +    'use_system_libpng%': 1,
10 +
11 +    # Use system bzip2
12 +    'use_system_bzip2%': 1,
13 +
14 +    # Use system libjpeg
15 +    'use_system_libjpeg%': 1,
16 +
17 +    # Use system zlib
18 +    'use_system_zlib%': 1,
19 +
20      'conditions': [
21        ['OS=="linux"', {
22          'conditions': [
23 @@ -215,6 +227,18 @@
24        ['selinux==1', {
25          'defines': ['CHROMIUM_SELINUX=1'],
26        }],
27 +      ['use_system_libpng==1', {
28 +        'defines': ['USE_SYSTEM_LIBPNG=1'],
29 +      }],
30 +      ['use_system_bzip2==1', {
31 +        'defines': ['USE_SYSTEM_LIBBZ2=1'],
32 +      }],
33 +      ['use_system_libjpeg==1', {
34 +        'defines': ['USE_SYSTEM_LIBJPEG=1'],
35 +      }],
36 +      ['use_system_zlib==1', {
37 +        'defines': ['USE_SYSTEM_ZLIB=1'],
38 +      }],
39        ['coverage!=0', {
40          'conditions': [
41            ['OS=="mac"', {
This page took 0.050417 seconds and 4 git commands to generate.