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