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