Greg Hartman | a4ff248 | 2017-10-03 16:35:00 -0700 | [diff] [blame] | 1 | // |
| 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 Hartman | ce872ef | 2017-12-04 22:51:47 -0800 | [diff] [blame^] | 16 | cc_library_shared { |
Greg Hartman | bff7e63 | 2017-09-29 11:32:08 -0700 | [diff] [blame] | 17 | name: "cuttlefish_auto_resources", |
| 18 | srcs: [ |
| 19 | "auto_resources.cpp", |
| 20 | ], |
Greg Hartman | ce872ef | 2017-12-04 22:51:47 -0800 | [diff] [blame^] | 21 | defaults: ["cuttlefish_host_and_guest"], |
Greg Hartman | bff7e63 | 2017-09-29 11:32:08 -0700 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | cc_test_host { |
| 25 | name: "auto_free_buffer_test", |
| 26 | srcs: [ |
| 27 | "auto_free_buffer_test.cpp", |
| 28 | ], |
Greg Hartman | ce872ef | 2017-12-04 22:51:47 -0800 | [diff] [blame^] | 29 | shared_libs: [ |
Greg Hartman | bff7e63 | 2017-09-29 11:32:08 -0700 | [diff] [blame] | 30 | "cuttlefish_auto_resources", |
Greg Hartman | ce872ef | 2017-12-04 22:51:47 -0800 | [diff] [blame^] | 31 | ], |
| 32 | static_libs: [ |
Greg Hartman | a4ff248 | 2017-10-03 16:35:00 -0700 | [diff] [blame] | 33 | "libgmock", |
Greg Hartman | bff7e63 | 2017-09-29 11:32:08 -0700 | [diff] [blame] | 34 | ], |
Greg Hartman | ce872ef | 2017-12-04 22:51:47 -0800 | [diff] [blame^] | 35 | defaults: ["cuttlefish_host_only"], |
Greg Hartman | bff7e63 | 2017-09-29 11:32:08 -0700 | [diff] [blame] | 36 | } |