blob: 2c575ce139af581d1ad3423cd9aed76298ae62d6 [file] [log] [blame]
Greg Hartmana4ff2482017-10-03 16:35:00 -07001//
2// Copyright (C) 2017 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
Greg Hartmance872ef2017-12-04 22:51:47 -080016cc_library_shared {
Greg Hartmanbff7e632017-09-29 11:32:08 -070017 name: "cuttlefish_auto_resources",
18 srcs: [
19 "auto_resources.cpp",
20 ],
Greg Hartmance872ef2017-12-04 22:51:47 -080021 defaults: ["cuttlefish_host_and_guest"],
Greg Hartmanbff7e632017-09-29 11:32:08 -070022}
23
24cc_test_host {
25 name: "auto_free_buffer_test",
26 srcs: [
27 "auto_free_buffer_test.cpp",
28 ],
Greg Hartmance872ef2017-12-04 22:51:47 -080029 shared_libs: [
Greg Hartmanbff7e632017-09-29 11:32:08 -070030 "cuttlefish_auto_resources",
Greg Hartmance872ef2017-12-04 22:51:47 -080031 ],
32 static_libs: [
Greg Hartmana4ff2482017-10-03 16:35:00 -070033 "libgmock",
Greg Hartmanbff7e632017-09-29 11:32:08 -070034 ],
Greg Hartmance872ef2017-12-04 22:51:47 -080035 defaults: ["cuttlefish_host_only"],
Greg Hartmanbff7e632017-09-29 11:32:08 -070036}