moz.build (796B)
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 LOCAL_INCLUDES += [ 8 "/dom/media/gmp", # for GMPLog.h, 9 ] 10 11 EXPORTS += [ 12 "GMPDecoderModule.h", 13 "GMPEncoderModule.h", 14 "GMPVideoDecoder.h", 15 "GMPVideoEncoder.h", 16 ] 17 18 UNIFIED_SOURCES += [ 19 "GMPDecoderModule.cpp", 20 "GMPEncoderModule.cpp", 21 "GMPVideoDecoder.cpp", 22 "GMPVideoEncoder.cpp", 23 ] 24 25 if CONFIG["MOZ_SYSTEM_AV1"]: 26 CXXFLAGS += CONFIG["MOZ_SYSTEM_LIBAOM_CFLAGS"] 27 28 # GMPVideoEncodedFrameImpl.h needs IPC 29 include("/ipc/chromium/chromium-config.mozbuild") 30 31 FINAL_LIBRARY = "xul"