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 16package { 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20cc_library_static { 21 name: "libcuttlefish_host_config_adb", 22 srcs: [ 23 "config.cpp", 24 "data.cpp", 25 "flags.cpp", 26 "launch.cpp", 27 "strings.cpp", 28 ], 29 shared_libs: [ 30 "libcuttlefish_fs", 31 "libcuttlefish_utils", 32 "libbase", 33 "libfruit", 34 "libgflags", 35 "libjsoncpp", 36 "libz", 37 ], 38 defaults: ["cuttlefish_host"], 39} 40 41cc_test_host { 42 name: "libcuttlefish_host_config_adb_test", 43 srcs: [ 44 "test.cpp", 45 ], 46 static_libs: [ 47 "libbase", 48 "libcuttlefish_fs", 49 "libcuttlefish_host_config", 50 "libcuttlefish_host_config_adb", 51 "libcuttlefish_utils", 52 ], 53 shared_libs: [ 54 "libext2_blkid", 55 "libgflags", 56 "libfruit", 57 "libjsoncpp", 58 "liblog", 59 ], 60 defaults: ["cuttlefish_host"], 61 test_options: { 62 unit_test: true, 63 }, 64} 65