mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 01:47:31 +09:00
33 lines
848 B
INI
33 lines
848 B
INI
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
EXPORTS += [
|
|
'OmxDecoderModule.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'OmxDataDecoder.cpp',
|
|
'OmxDecoderModule.cpp',
|
|
'OmxPlatformLayer.cpp',
|
|
'OmxPromiseLayer.cpp',
|
|
]
|
|
|
|
LOCAL_INCLUDES += [
|
|
'/media/openmax_il/il112',
|
|
]
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
CXXFLAGS += ['-Wno-error=shadow']
|
|
|
|
if CONFIG['_MSC_VER']:
|
|
# Avoid warnings from third-party code that we can not modify.
|
|
if CONFIG['CLANG_CL']:
|
|
CXXFLAGS += ['-Wno-invalid-source-encoding']
|
|
else:
|
|
CXXFLAGS += ['-validate-charset-']
|