|
|
|
|
| 759 |
'/gfx/skia/skia/include/gpu', |
759 |
'/gfx/skia/skia/include/gpu', |
| 760 |
'/gfx/skia/skia/include/utils', |
760 |
'/gfx/skia/skia/include/utils', |
| 761 |
] |
761 |
] |
| 762 |
|
762 |
|
| 763 |
return includes |
763 |
return includes |
| 764 |
|
764 |
|
| 765 |
set_config('SKIA_INCLUDES', skia_includes) |
765 |
set_config('SKIA_INCLUDES', skia_includes) |
| 766 |
|
766 |
|
|
|
767 |
option('--with-system-webp', |
| 768 |
help='Use system libwebp (located with pkgconfig)') |
| 769 |
|
| 770 |
use_system_webp = depends_if('--with-system-webp')(lambda _: True) |
| 771 |
|
| 772 |
system_webp = pkg_check_modules('MOZ_WEBP', 'libwebp >= 0.5.1 libwebpdemux >= 0.5.1', |
| 773 |
when=use_system_webp) |
| 774 |
|
| 775 |
set_config('MOZ_SYSTEM_WEBP', system_webp) |
| 776 |
|
| 767 |
# Support various fuzzing options |
777 |
# Support various fuzzing options |
| 768 |
# ============================================================== |
778 |
# ============================================================== |
| 769 |
option('--enable-libfuzzer', help='Enable libfuzzer support') |
779 |
option('--enable-libfuzzer', help='Enable libfuzzer support') |
| 770 |
|
780 |
|
| 771 |
@depends('--enable-libfuzzer') |
781 |
@depends('--enable-libfuzzer') |
| 772 |
def enable_libfuzzer(value): |
782 |
def enable_libfuzzer(value): |
| 773 |
if value: |
783 |
if value: |
| 774 |
return True |
784 |
return True |