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)
18LOCAL_MODULE := vsoc_driver_test
19LOCAL_MODULE_TAGS := optional
20LOCAL_SRC_FILES := vsoc_driver_test.cpp
21
22LOCAL_C_INCLUDES := \
23    device/google/cuttlefish_common \
24    device/google/cuttlefish_kernel
25
26LOCAL_CFLAGS += -DGTEST_OS_LINUX_ANDROID -DGTEST_HAS_STD_STRING -Werror -Wall
27
28LOCAL_STATIC_LIBRARIES := \
29    libgtest
30
31LOCAL_SHARED_LIBRARIES := \
32    vsoc_lib \
33    cuttlefish_auto_resources \
34    libcuttlefish_fs \
35    libbase
36
37LOCAL_MULTILIB := first
38LOCAL_VENDOR_MODULE := true
39include $(BUILD_EXECUTABLE)
40
41include $(CLEAR_VARS)
42LOCAL_MODULE := vsoc_guest_region_e2e_test
43LOCAL_MODULE_TAGS := optional
44LOCAL_SRC_FILES := guest_region_e2e_test.cpp
45
46LOCAL_C_INCLUDES := \
47    device/google/cuttlefish_common \
48    device/google/cuttlefish_kernel
49
50LOCAL_CFLAGS += -DGTEST_OS_LINUX_ANDROID -DGTEST_HAS_STD_STRING -Werror -Wall
51
52LOCAL_STATIC_LIBRARIES := \
53    libgtest
54
55LOCAL_SHARED_LIBRARIES := \
56    vsoc_lib \
57    cuttlefish_auto_resources \
58    libcuttlefish_fs \
59    libbase
60
61LOCAL_MULTILIB := first
62LOCAL_VENDOR_MODULE := true
63include $(BUILD_EXECUTABLE)
64