forked from zyga/lava-blackbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
51 lines (47 loc) · 1.37 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := lava-gtest-wrapper
LOCAL_MODULE_TAGS := tests
LOCAL_SRC_FILES:= \
src/bundle.c \
src/debug.c \
src/json-format.c \
src/json-test.c \
src/text-utils.c \
src/time-utils.c \
src/uuid.c \
src/lava-gtest-wrapper.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_MODULE := lava-gtest-wrapper
LOCAL_MODULE_TAGS := tests
LOCAL_SRC_FILES:= \
src/bundle.c \
src/debug.c \
src/json-format.c \
src/json-test.c \
src/text-utils.c \
src/time-utils.c \
src/uuid.c \
src/lava-gtest-wrapper.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_CFLAGS += -g
include $(BUILD_HOST_EXECUTABLE)
# So we also need to ship a few scripts. Sadly Android makes this pretty much
# complicated (we cannot just extend PRODUCT_COPY_FILES) so we'll cheat and use
# BUILD_PREBUILT helper and just place them carefully where we want them.
include $(CLEAR_VARS)
LOCAL_MODULE := lava-blackbox
LOCAL_MODULE_TAGS := tests
LOCAL_MODULE_CLASS := EXECUTABLES
LOCAL_MODULE_PATH := $(PRODUCT_OUT)/system/bin
LOCAL_SRC_FILES := lava-blackbox
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := lava-wrapper-finder-gtest
LOCAL_MODULE_TAGS := tests
LOCAL_MODULE_CLASS := EXECUTABLES
LOCAL_MODULE_PATH := $(PRODUCT_OUT)/system/bin
LOCAL_SRC_FILES := lava-wrapper-finder-gtest
include $(BUILD_PREBUILT)