1# Copyright 2016 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_TARGET_DIR := $(TARGET_OUT_DATA)/local/tmp 16 17LOCAL_PATH:= $(call my-dir) 18 19include $(call first-makefiles-under, /frameworks/native/cmds/surfacereplayer/proto) 20 21include $(CLEAR_VARS) 22 23LOCAL_CPPFLAGS := -Weverything -Werror 24LOCAL_CPPFLAGS := -Wno-unused-parameter 25LOCAL_CPPFLAGS := -Wno-format 26 27LOCAL_MODULE := libsurfacereplayer 28 29LOCAL_SRC_FILES := \ 30 BufferQueueScheduler.cpp \ 31 Event.cpp \ 32 Replayer.cpp \ 33 34LOCAL_SHARED_LIBRARIES := \ 35 libEGL \ 36 libGLESv2 \ 37 libbinder \ 38 liblog \ 39 libcutils \ 40 libgui \ 41 libui \ 42 libutils \ 43 libprotobuf-cpp-lite \ 44 libbase \ 45 libnativewindow \ 46 47LOCAL_STATIC_LIBRARIES := \ 48 libtrace_proto \ 49 50LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/.. 51 52include $(BUILD_SHARED_LIBRARY) 53 54include $(CLEAR_VARS) 55 56LOCAL_MODULE := surfacereplayer 57 58LOCAL_SRC_FILES := \ 59 Main.cpp \ 60 61LOCAL_SHARED_LIBRARIES := \ 62 libprotobuf-cpp-lite \ 63 libsurfacereplayer \ 64 libutils \ 65 libgui \ 66 67LOCAL_STATIC_LIBRARIES := \ 68 libtrace_proto \ 69 70LOCAL_CPPFLAGS := -Weverything -Werror 71LOCAL_CPPFLAGS := -Wno-unused-parameter 72 73LOCAL_MODULE_PATH := $(LOCAL_TARGET_DIR) 74 75include $(BUILD_EXECUTABLE) 76