1# 2# Copyright (C) 2016 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17LOCAL_PATH :=$(call my-dir) 18 19include $(CLEAR_VARS) 20 21LOCAL_MODULE := libRSDriver_RSoV 22 23LOCAL_SRC_FILES := \ 24 rsovAllocation.cpp \ 25 rsovContext.cpp \ 26 rsovCore.cpp \ 27 rsovElement.cpp \ 28 rsovRuntimeStubs.cpp \ 29 rsovSampler.cpp \ 30 rsovScript.cpp \ 31 rsovScriptGroup.cpp \ 32 rsovType.cpp \ 33 34LOCAL_SHARED_LIBRARIES := \ 35 libRS_internal \ 36 libRSCpuRef \ 37 libbcinfo \ 38 libc++ \ 39 liblog \ 40 libspirit \ 41 libvulkan \ 42 libgui 43 44LOCAL_C_INCLUDES := \ 45 frameworks/compile/libbcc/include \ 46 frameworks/native/vulkan/include \ 47 frameworks/rs \ 48 frameworks/rs/cpu_ref \ 49 frameworks/rs/rsov/compiler \ 50 51LOCAL_C_INCLUDES += \ 52 53LOCAL_CFLAGS := -Werror -Wall -Wextra 54# TODO: remove warnings on unused variables and parameters 55LOCAL_CFLAGS += -Wno-unused-variable -Wno-unused-parameter 56 57include $(BUILD_SHARED_LIBRARY) 58