| 1 |
|
| 2 |
# Copyright(c) 2018 Intel Corporation |
| 3 |
|
| 4 |
# Permission is hereby granted, free of charge, to any person obtaining a |
| 5 |
# copy of this software and associated documentation files(the "Software"), |
| 6 |
# to deal in the Software without restriction, including without limitation |
| 7 |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 8 |
# and / or sell copies of the Software, and to permit persons to whom the |
| 9 |
# Software is furnished to do so, subject to the following conditions: |
| 10 |
|
| 11 |
# The above copyright notice and this permission notice shall be included |
| 12 |
# in all copies or substantial portions of the Software. |
| 13 |
|
| 14 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 15 |
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 16 |
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 17 |
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 18 |
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 19 |
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 20 |
# OTHER DEALINGS IN THE SOFTWARE. |
| 21 |
|
| 22 |
LOCAL_PATH:= $(call my-dir) |
| 23 |
|
| 24 |
include $(CLEAR_VARS) |
| 25 |
|
| 26 |
LOCAL_SRC_FILES := \ |
| 27 |
@LOCAL_SRC_FILES |
| 28 |
|
| 29 |
LOCAL_SHARED_LIBRARIES := \ |
| 30 |
libsync \ |
| 31 |
libcutils \ |
| 32 |
libutils \ |
| 33 |
libdrm \ |
| 34 |
libva \ |
| 35 |
liblog \ |
| 36 |
|
| 37 |
|
| 38 |
LOCAL_STATIC_LIBRARIES = \ |
| 39 |
libgmm_umd \ |
| 40 |
|
| 41 |
LOCAL_CPPFLAGS = \ |
| 42 |
-DDRV_I915 \ |
| 43 |
-DOTC_GRALLOC \ |
| 44 |
-DANDROID_VERSION=800 \ |
| 45 |
-fexceptions \ |
| 46 |
-frtti \ |
| 47 |
-std=c++14 \ |
| 48 |
@LOCAL_CFLAGS |
| 49 |
|
| 50 |
LOCAL_CONLYFLAGS = -x c++ |
| 51 |
LOCAL_CFLAGS = $(LOCAL_CPPFLAGS) |
| 52 |
|
| 53 |
LOCAL_C_INCLUDES = \ |
| 54 |
@LOCAL_C_INCLUDES |
| 55 |
|
| 56 |
|
| 57 |
#LOCAL_CPP_FEATURES := rtti exceptions |
| 58 |
|
| 59 |
LOCAL_MODULE := i965_drv_video |
| 60 |
LOCAL_PROPRIETARY_MODULE := true |
| 61 |
|
| 62 |
include $(BUILD_SHARED_LIBRARY) |