blob: f943211179e79683795c4227f2bcfb5620550866 [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
Cody Schuffelenc775e3b2019-07-11 16:55:42 -070016cc_library {
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
Ram Muthiah792e2ad2019-04-19 11:19:46 -070024cc_library_static {
Cody Schuffelenc775e3b2019-07-11 16:55:42 -070025 name: "cuttlefish_auto_resources_product",
Ram Muthiah792e2ad2019-04-19 11:19:46 -070026 srcs: [
27 "auto_resources.cpp",
28 ],
29 defaults: ["cuttlefish_guest_product_only"],
30}
31
Greg Hartmanbff7e632017-09-29 11:32:08 -070032cc_test_host {
33 name: "auto_free_buffer_test",
34 srcs: [
35 "auto_free_buffer_test.cpp",
36 ],
Greg Hartmance872ef2017-12-04 22:51:47 -080037 shared_libs: [
Greg Hartmanbff7e632017-09-29 11:32:08 -070038 "cuttlefish_auto_resources",
Greg Hartmance872ef2017-12-04 22:51:47 -080039 ],
40 static_libs: [
Greg Hartmana4ff2482017-10-03 16:35:00 -070041 "libgmock",
Greg Hartmanbff7e632017-09-29 11:32:08 -070042 ],
Greg Hartmance872ef2017-12-04 22:51:47 -080043 defaults: ["cuttlefish_host_only"],
Ram Muthiah0cc37d62019-05-01 15:29:28 -070044 test_suites: ["general-tests"],
Greg Hartmanbff7e632017-09-29 11:32:08 -070045}