xref: /aosp_15_r20/external/intel-media-driver/Tools/MediaDriverTools/Android/mk/gmm.tpl (revision ba62d9d3abf0e404f2022b4cd7a85e107f48596f)
1# Copyright(c) 2018 Intel Corporation
2
3# Permission is hereby granted, free of charge, to any person obtaining a
4# copy of this software and associated documentation files(the "Software"),
5# to deal in the Software without restriction, including without limitation
6# the rights to use, copy, modify, merge, publish, distribute, sublicense,
7# and / or sell copies of the Software, and to permit persons to whom the
8# Software is furnished to do so, subject to the following conditions:
9
10# The above copyright notice and this permission notice shall be included
11# in all copies or substantial portions of the Software.
12
13# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
14# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
17# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
18# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
19# OTHER DEALINGS IN THE SOFTWARE.
20
21LOCAL_PATH:= $(call my-dir)
22include $(CLEAR_VARS)
23
24LOCAL_MODULE := libgmm_umd
25LOCAL_PROPRIETARY_MODULE := true
26LOCAL_SRC_FILES = \
27@LOCAL_SRC_FILES
28
29LOCAL_CFLAGS = \
30@LOCAL_CFLAGS
31
32LOCAL_CPPFLAGS = \
33    -std=c++11
34
35LOCAL_C_INCLUDES = \
36@LOCAL_C_INCLUDES
37
38LOCAL_EXPORT_C_INCLUDE_DIRS = \
39    $(LOCAL_PATH)/Source/GmmLib/inc \
40    $(LOCAL_PATH)/Source/inc \
41    $(LOCAL_PATH)/Source/inc/common \
42
43include $(BUILD_STATIC_LIBRARY)
44