1# Copyright (C) 2018 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15LOCAL_PATH:= $(call my-dir) 16include $(CLEAR_VARS) 17 18LOCAL_HEADER_LIBRARIES := display_headers 19LOCAL_MODULE := libhistogram 20LOCAL_SRC_FILES := histogram_collector.cpp ringbuffer.cpp 21LOCAL_SHARED_LIBRARIES := libdrm.vendor liblog libcutils libutils 22LOCAL_CFLAGS := -DLOG_TAG=\"SDM-histogram\" -Wall -std=c++14 -Werror -fno-operator-names 23LOCAL_CLANG := true 24LOCAL_MODULE_TAGS := optional 25LOCAL_VENDOR_MODULE := true 26 27include $(BUILD_STATIC_LIBRARY) 28 29 30include $(CLEAR_VARS) 31 32LOCAL_HEADER_LIBRARIES := display_headers 33LOCAL_MODULE := color_sampling_tool 34LOCAL_SRC_FILES := color_sampling_tool.cpp 35 36LOCAL_STATIC_LIBRARIES := libhistogram 37LOCAL_SHARED_LIBRARIES := libdrm.vendor liblog libcutils libutils libbase 38LOCAL_CFLAGS := -DLOG_TAG=\"SDM-histogram\" -Wall -std=c++14 -Werror -fno-operator-names 39LOCAL_CLANG := true 40LOCAL_MODULE_TAGS := optional 41LOCAL_VENDOR_MODULE := true 42 43include $(BUILD_EXECUTABLE) 44 45include $(CLEAR_VARS) 46 47LOCAL_HEADER_LIBRARIES := display_headers 48LOCAL_MODULE := color_sampling_test 49LOCAL_SRC_FILES := ringbuffer_test.cpp 50 51LOCAL_STATIC_LIBRARIES := libhistogram libgtest libgmock 52LOCAL_SHARED_LIBRARIES := libdrm.vendor liblog libcutils libutils libbase 53LOCAL_CFLAGS := -DLOG_TAG=\"SDM-histogram\" -Wall -std=c++14 -Werror -fno-operator-names 54LOCAL_CLANG := true 55LOCAL_MODULE_TAGS := optional 56LOCAL_VENDOR_MODULE := true 57 58include $(BUILD_EXECUTABLE) 59