1 # Copyright (C) 2017 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_PATH:= $(call my-dir) 16 17 include $(CLEAR_VARS) 18 19 LOCAL_C_INCLUDES := \ 20 device/google/cuttlefish_common 21 LOCAL_CFLAGS := $(VSOC_VERSION_CFLAGS) -DLOG_TAG=\"VSoC-dumpstate\" 22 LOCAL_SRC_FILES := dumpstate.cpp 23 LOCAL_MODULE := libdumpstate.vsoc 24 LOCAL_MODULE_TAGS := optional 25 LOCAL_SHARED_LIBRARIES := \ 26 libbase \ 27 libdumpstateaidl \ 28 libdumpstateutil \ 29 libziparchive \ 30 libz 31 include $(BUILD_STATIC_LIBRARY) 32 33 include $(CLEAR_VARS) 34 35 LOCAL_MODULE := android.hardware.dumpstate (a] 1.0-service.cuttlefish 36 LOCAL_INIT_RC := android.hardware.dumpstate (a] 1.0-service.cuttlefish.rc 37 LOCAL_MODULE_RELATIVE_PATH := hw 38 LOCAL_SRC_FILES := \ 39 dumpstate_device.cpp \ 40 service.cpp 41 LOCAL_CFLAGS := $(VSOC_VERSION_CFLAGS) -DLOG_TAG=\"VSoC-dumpstate\" 42 LOCAL_SHARED_LIBRARIES := \ 43 android.hardware.dumpstate (a] 1.0 \ 44 libbase \ 45 libcutils \ 46 libdumpstateutil \ 47 libhidlbase \ 48 libhidltransport \ 49 libhwbinder \ 50 liblog \ 51 libutils 52 LOCAL_C_INCLUDES := \ 53 device/google/cuttlefish_common \ 54 frameworks/native/cmds/dumpstate 55 56 LOCAL_MODULE_TAGS := optional 57 LOCAL_PROPRIETARY_MODULE := true 58 LOCAL_VENDOR_MODULE := true 59 include $(BUILD_EXECUTABLE) 60