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