moz.build (860B)
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 "FFmpegRuntimeLinker.h", 9 ] 10 11 DIRS += [ 12 "libav53", 13 "libav54", 14 "libav55", 15 "ffmpeg57", 16 "ffmpeg58", 17 "ffmpeg59", 18 "ffmpeg60", 19 "ffmpeg61", 20 "ffmpeg62", 21 ] 22 23 UNIFIED_SOURCES += ["FFmpegRuntimeLinker.cpp"] 24 25 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk": 26 include("/ipc/chromium/chromium-config.mozbuild") 27 UNIFIED_SOURCES += ["VALibWrapper.cpp"] 28 29 LOCAL_INCLUDES += [ 30 "/media/ffvpx/", 31 "/media/libyuv/libyuv/include", 32 ] 33 34 if CONFIG["MOZ_SYSTEM_AV1"]: 35 CXXFLAGS += CONFIG["MOZ_SYSTEM_LIBAOM_CFLAGS"] 36 37 FINAL_LIBRARY = "xul"