moz.build (924B)
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/. 6 7 EXPORTS += [ 8 "OmxDecoderModule.h", 9 ] 10 11 UNIFIED_SOURCES += [ 12 "OmxDataDecoder.cpp", 13 "OmxDecoderModule.cpp", 14 "OmxPlatformLayer.cpp", 15 "OmxPromiseLayer.cpp", 16 ] 17 18 LOCAL_INCLUDES += [ 19 "/media/openmax_il/il112", 20 ] 21 22 include("/ipc/chromium/chromium-config.mozbuild") 23 24 if CONFIG["MOZ_OMX"]: 25 UNIFIED_SOURCES += [ 26 "PureOmxPlatformLayer.cpp", 27 ] 28 29 FINAL_LIBRARY = "xul" 30 31 # Avoid warnings from third-party code that we can not modify. 32 if CONFIG["CC_TYPE"] == "clang-cl": 33 CXXFLAGS += ["-Wno-invalid-source-encoding"] 34 35 # Add libFuzzer configuration directives 36 include("/tools/fuzzing/libfuzzer-config.mozbuild")