1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 Library('FuzzingDav1d')
12 '/third_party/dav1d/include',
13 '/third_party/dav1d/tests/libfuzzer/',
16 # We currently only support building on Linux for fuzzing here, as guarded
17 # in media/libaom/moz.build. More support can be added later if necessary.
18 if CONFIG['TARGET_CPU'] == 'x86_64':
20 '/media/libdav1d/asm/x86_64/',
22 elif CONFIG['TARGET_CPU'] == 'x86':
24 '/media/libdav1d/asm/x86_32/',
28 '/third_party/dav1d/tests/libfuzzer/dav1d_fuzzer.c',
29 'dav1d_fuzz_adapter.cpp',
32 include('/tools/fuzzing/libfuzzer-config.mozbuild')
34 FINAL_LIBRARY = 'xul-gtest'