Greg Hartman | 40b88f5 | 2017-06-22 15:34:11 -0700 | [diff] [blame] | 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) |
Greg Hartman | 61c65cb | 2018-03-19 12:02:51 -0700 | [diff] [blame] | 18 | LOCAL_MODULE := vsoc_driver_test |
| 19 | LOCAL_MODULE_TAGS := optional |
| 20 | LOCAL_SRC_FILES := vsoc_driver_test.cpp |
| 21 | |
| 22 | LOCAL_C_INCLUDES := \ |
| 23 | device/google/cuttlefish_common \ |
| 24 | device/google/cuttlefish_kernel |
| 25 | |
| 26 | LOCAL_CFLAGS += -DGTEST_OS_LINUX_ANDROID -DGTEST_HAS_STD_STRING -Werror -Wall |
| 27 | |
| 28 | LOCAL_STATIC_LIBRARIES := \ |
| 29 | libgtest |
| 30 | |
| 31 | LOCAL_SHARED_LIBRARIES := \ |
| 32 | vsoc_lib \ |
| 33 | cuttlefish_auto_resources \ |
| 34 | libcuttlefish_fs \ |
| 35 | libbase |
| 36 | |
| 37 | LOCAL_MULTILIB := first |
| 38 | LOCAL_VENDOR_MODULE := true |
| 39 | include $(BUILD_EXECUTABLE) |
| 40 | |
| 41 | include $(CLEAR_VARS) |
Greg Hartman | 40b88f5 | 2017-06-22 15:34:11 -0700 | [diff] [blame] | 42 | LOCAL_MODULE := vsoc_guest_region_e2e_test |
| 43 | LOCAL_MODULE_TAGS := optional |
| 44 | LOCAL_SRC_FILES := guest_region_e2e_test.cpp |
| 45 | |
| 46 | LOCAL_C_INCLUDES := \ |
| 47 | device/google/cuttlefish_common \ |
| 48 | device/google/cuttlefish_kernel |
| 49 | |
Greg Hartman | ffb4c49 | 2017-12-19 23:48:34 -0800 | [diff] [blame] | 50 | LOCAL_CFLAGS += -DGTEST_OS_LINUX_ANDROID -DGTEST_HAS_STD_STRING -Werror -Wall |
Greg Hartman | 40b88f5 | 2017-06-22 15:34:11 -0700 | [diff] [blame] | 51 | |
| 52 | LOCAL_STATIC_LIBRARIES := \ |
| 53 | libgtest |
| 54 | |
| 55 | LOCAL_SHARED_LIBRARIES := \ |
Greg Hartman | ce872ef | 2017-12-04 22:51:47 -0800 | [diff] [blame] | 56 | vsoc_lib \ |
| 57 | cuttlefish_auto_resources \ |
Greg Hartman | 40b88f5 | 2017-06-22 15:34:11 -0700 | [diff] [blame] | 58 | libcuttlefish_fs \ |
| 59 | libbase |
| 60 | |
| 61 | LOCAL_MULTILIB := first |
| 62 | LOCAL_VENDOR_MODULE := true |
| 63 | include $(BUILD_EXECUTABLE) |
Jorge E. Moreira | 334f3a9 | 2018-11-12 10:22:53 -0800 | [diff] [blame] | 64 | |
| 65 | include $(CLEAR_VARS) |
| 66 | LOCAL_MODULE := vsoc_managed_region_e2e_test |
| 67 | LOCAL_MODULE_TAGS := optional |
| 68 | LOCAL_SRC_FILES := managed_region_e2e_test.cpp |
| 69 | |
| 70 | LOCAL_C_INCLUDES := \ |
| 71 | device/google/cuttlefish_common \ |
| 72 | device/google/cuttlefish_kernel |
| 73 | |
| 74 | LOCAL_CFLAGS += -DGTEST_OS_LINUX_ANDROID -DGTEST_HAS_STD_STRING -Werror -Wall |
| 75 | |
| 76 | LOCAL_STATIC_LIBRARIES := \ |
| 77 | libgtest |
| 78 | |
| 79 | LOCAL_SHARED_LIBRARIES := \ |
| 80 | vsoc_lib \ |
| 81 | cuttlefish_auto_resources \ |
| 82 | libcuttlefish_fs \ |
| 83 | libbase |
| 84 | |
| 85 | LOCAL_MULTILIB := first |
| 86 | LOCAL_VENDOR_MODULE := true |
| 87 | include $(BUILD_EXECUTABLE) |