Bug 1790496 - P2 - add drm moz.build;r=mjf

Differential Revision: https://phabricator.services.mozilla.com/D164033
This commit is contained in:
Nico Grunbaum 2023-01-19 21:23:58 +00:00
Родитель 439962f7b9
Коммит 1b7c9de1e4
1 изменённых файлов: 19 добавлений и 0 удалений

19
third_party/drm/libdrm/moz.build поставляемый Normal file
Просмотреть файл

@ -0,0 +1,19 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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/.
SOURCES += [
'mozdrm.cpp',
]
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
CXXFLAGS += CONFIG['MOZ_GTK3_CFLAGS']
LOCAL_INCLUDES += [
'/third_party/drm/',
'/third_party/drm/drm/include/libdrm/',
]
FINAL_LIBRARY = 'xul'