OLD | NEW |
---|---|
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': { | 6 'variables': { |
7 'verbose_libraries_build%': 0, | 7 'verbose_libraries_build%': 0, |
8 'instrumented_libraries_jobs%': 1, | 8 'instrumented_libraries_jobs%': 1, |
9 }, | 9 }, |
10 | 10 |
11 'ubuntu_release': '<!(lsb_release -cs)', | |
12 | |
11 'conditions': [ | 13 'conditions': [ |
12 ['asan==1', { | 14 ['asan==1', { |
13 'sanitizer_type': 'asan', | 15 'sanitizer_type': 'asan', |
14 }], | 16 }], |
15 ['msan==1', { | 17 ['msan==1', { |
16 'sanitizer_type': 'msan', | 18 'sanitizer_type': 'msan', |
17 }], | 19 }], |
18 ['tsan==1', { | 20 ['tsan==1', { |
19 'sanitizer_type': 'tsan', | 21 'sanitizer_type': 'tsan', |
20 }], | 22 }], |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
212 }, | 214 }, |
213 { | 215 { |
214 'package_name': 'libfontconfig1', | 216 'package_name': 'libfontconfig1', |
215 'dependencies=': [], | 217 'dependencies=': [], |
216 'extra_configure_flags': [ | 218 'extra_configure_flags': [ |
217 '--disable-docs', | 219 '--disable-docs', |
218 '--sysconfdir=/etc/', | 220 '--sysconfdir=/etc/', |
219 # From debian/rules. | 221 # From debian/rules. |
220 '--with-add-fonts=/usr/X11R6/lib/X11/fonts,/usr/local/share/fonts', | 222 '--with-add-fonts=/usr/X11R6/lib/X11/fonts,/usr/local/share/fonts', |
221 ], | 223 ], |
222 'patch': 'patches/libfontconfig.diff', | 224 'conditions': [ |
225 ['"<(_ubuntu_release)"=="precise"', { | |
Alexander Potapenko
2014/10/01 08:55:49
Can you please reduce it to:
'patch': 'patches/
earthdok
2014/10/01 13:20:00
That's exactly what I tried to avoid. If the most
| |
226 'patch': 'patches/libfontconfig.precise.diff', | |
227 }, { | |
228 'patch': 'patches/libfontconfig.trusty.diff', | |
229 }], | |
230 ], | |
223 'includes': ['standard_instrumented_package_target.gypi'], | 231 'includes': ['standard_instrumented_package_target.gypi'], |
224 }, | 232 }, |
225 { | 233 { |
226 'package_name': 'libgcrypt11', | 234 'package_name': 'libgcrypt11', |
227 'dependencies=': [], | 235 'dependencies=': [], |
228 'package_ldflags': ['-Wl,-z,muldefs'], | 236 'package_ldflags': ['-Wl,-z,muldefs'], |
229 'extra_configure_flags': [ | 237 'extra_configure_flags': [ |
230 # From debian/rules. | 238 # From debian/rules. |
231 '--enable-noexecstack', | 239 '--enable-noexecstack', |
232 '--enable-ld-version-script', | 240 '--enable-ld-version-script', |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
498 'package_cflags': ['-Wno-return-type'], | 506 'package_cflags': ['-Wno-return-type'], |
499 'extra_configure_flags': [ | 507 'extra_configure_flags': [ |
500 # From debian/rules. | 508 # From debian/rules. |
501 '--prefix=/usr', | 509 '--prefix=/usr', |
502 '--sysconfdir=/etc', | 510 '--sysconfdir=/etc', |
503 '--enable-test-print-backend', | 511 '--enable-test-print-backend', |
504 '--enable-introspection=no', | 512 '--enable-introspection=no', |
505 '--with-xinput=yes', | 513 '--with-xinput=yes', |
506 ], | 514 ], |
507 'dependencies=': [], | 515 'dependencies=': [], |
508 'patch': 'patches/libgtk2.0-0.diff', | 516 'conditions': [ |
517 ['"<(_ubuntu_release)"=="precise"', { | |
Alexander Potapenko
2014/10/01 08:55:49
ditto.
| |
518 'patch': 'patches/libgtk2.0-0.precise.diff', | |
519 }, { | |
520 'patch': 'patches/libgtk2.0-0.trusty.diff', | |
521 }], | |
522 ], | |
509 'run_before_build': 'scripts/libgtk2.0-0.sh', | 523 'run_before_build': 'scripts/libgtk2.0-0.sh', |
510 'includes': ['standard_instrumented_package_target.gypi'], | 524 'includes': ['standard_instrumented_package_target.gypi'], |
511 }, | 525 }, |
512 { | 526 { |
513 'package_name': 'libgdk-pixbuf2.0-0', | 527 'package_name': 'libgdk-pixbuf2.0-0', |
514 'extra_configure_flags': [ | 528 'extra_configure_flags': [ |
515 # From debian/rules. | 529 # From debian/rules. |
516 '--with-libjasper', | 530 '--with-libjasper', |
517 '--with-x11', | 531 '--with-x11', |
518 # Make the build less problematic. | 532 # Make the build less problematic. |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
611 'extra_configure_flags': [ | 625 'extra_configure_flags': [ |
612 # See above. | 626 # See above. |
613 '--disable-introspection', | 627 '--disable-introspection', |
614 ], | 628 ], |
615 'dependencies=': [], | 629 'dependencies=': [], |
616 'run_before_build': 'scripts/autogen.sh', | 630 'run_before_build': 'scripts/autogen.sh', |
617 'includes': ['standard_instrumented_package_target.gypi'], | 631 'includes': ['standard_instrumented_package_target.gypi'], |
618 }, | 632 }, |
619 ], | 633 ], |
620 } | 634 } |
OLD | NEW |