Jorge E. Moreira | adfe72c | 2019-04-19 15:55:03 -0700 | [diff] [blame^] | 1 | // |
| 2 | // Copyright (C) 2019 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | |
| 16 | cc_binary { |
| 17 | name: "vsoc_driver_test", |
| 18 | srcs: [ |
| 19 | "vsoc_driver_test.cpp", |
| 20 | ], |
| 21 | shared_libs: [ |
| 22 | "vsoc_lib", |
| 23 | "cuttlefish_auto_resources", |
| 24 | "libcuttlefish_fs", |
| 25 | "libbase", |
| 26 | ], |
| 27 | static_libs: [ |
| 28 | "libgtest", |
| 29 | ], |
| 30 | cflags: [ |
| 31 | "-DGTEST_OS_LINUX_ANDROID", |
| 32 | "-DGTEST_HAS_STD_STRING", |
| 33 | ], |
| 34 | defaults: ["cuttlefish_guest_only"] |
| 35 | } |
| 36 | |
| 37 | cc_binary { |
| 38 | name: "vsoc_guest_region_e2e_test", |
| 39 | srcs: [ |
| 40 | "guest_region_e2e_test.cpp", |
| 41 | ], |
| 42 | shared_libs: [ |
| 43 | "vsoc_lib", |
| 44 | "cuttlefish_auto_resources", |
| 45 | "libcuttlefish_fs", |
| 46 | "libbase", |
| 47 | ], |
| 48 | static_libs: [ |
| 49 | "libgtest", |
| 50 | ], |
| 51 | cflags: [ |
| 52 | "-DGTEST_OS_LINUX_ANDROID", |
| 53 | "-DGTEST_HAS_STD_STRING", |
| 54 | ], |
| 55 | defaults: ["cuttlefish_guest_only"] |
| 56 | } |
| 57 | |
| 58 | cc_binary { |
| 59 | name: "vsoc_managed_region_e2e_test", |
| 60 | srcs: [ |
| 61 | "managed_region_e2e_test.cpp", |
| 62 | ], |
| 63 | shared_libs: [ |
| 64 | "vsoc_lib", |
| 65 | "cuttlefish_auto_resources", |
| 66 | "libcuttlefish_fs", |
| 67 | "libbase", |
| 68 | ], |
| 69 | static_libs: [ |
| 70 | "libgtest", |
| 71 | ], |
| 72 | cflags: [ |
| 73 | "-DGTEST_OS_LINUX_ANDROID", |
| 74 | "-DGTEST_HAS_STD_STRING", |
| 75 | ], |
| 76 | defaults: ["cuttlefish_guest_only"] |
| 77 | } |