diff options
author | Cody Schuffelen <schuffelen@google.com> | 2019-09-03 16:44:41 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-09-03 16:44:41 -0700 |
commit | 4970e16af6c5ef8c3a99cb52ca28cb0e9d392c78 (patch) | |
tree | 62de4dad7d193339bc36a257ba8645586c435c49 | |
parent | 392a7fa10722d68433a8b1b031d8c274f428bf71 (diff) | |
parent | 2f38d5b8b7a18f82da2e0a9c7c07e54b6127a87f (diff) | |
download | cuttlefish_common-temp_140451723.tar.gz |
Merge "Add shared_fd_test.cpp to TEST_MAPPING."temp_140451723
am: 2f38d5b8b7
Change-Id: Ic453bf11d4b42b22983c55c0113545657bf7c37d
-rw-r--r-- | common/libs/fs/Android.bp | 19 | ||||
-rw-r--r-- | common/libs/fs/TEST_MAPPING | 8 |
2 files changed, 27 insertions, 0 deletions
diff --git a/common/libs/fs/Android.bp b/common/libs/fs/Android.bp index 59075daa..b1d6ff1b 100644 --- a/common/libs/fs/Android.bp +++ b/common/libs/fs/Android.bp @@ -61,3 +61,22 @@ cc_library_static { stl: "libc++_static", defaults: ["cuttlefish_guest_product_only"], } + +cc_test_host { + name: "libcuttlefish_fs_tests", + srcs: [ + "shared_fd_test.cpp", + ], + header_libs: ["cuttlefish_glog"], + shared_libs: [ + "cuttlefish_auto_resources", + "libcuttlefish_fs", + "libbase", + ], + static_libs: [ + "libgmock", + "libgtest_host", + ], + defaults: ["cuttlefish_host_only"], + test_suites: ["general-tests"], +} diff --git a/common/libs/fs/TEST_MAPPING b/common/libs/fs/TEST_MAPPING new file mode 100644 index 00000000..162fcf6b --- /dev/null +++ b/common/libs/fs/TEST_MAPPING @@ -0,0 +1,8 @@ +{ + "presubmit": [ + { + "name": "libcuttlefish_fs_tests", + "host": true + } + ] +} |