no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / media / libdav1d / test / fuzztest / moz.build
blobe9808cba0d72872a6ed62ba215c256ac6a6b6e44
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')
9 LOCAL_INCLUDES += [
10     '/media/libdav1d',
11     '/third_party/dav1d',
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':
19     LOCAL_INCLUDES += [
20         '/media/libdav1d/asm/x86_64/',
21     ]
22 elif CONFIG['TARGET_CPU'] == 'x86':
23     LOCAL_INCLUDES += [
24         '/media/libdav1d/asm/x86_32/',
25     ]
27 SOURCES += [
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'