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// 16 17// Build variants {target,host} x {debug,ndebug} x {32,64} 18 19package { 20 // See: http://go/android-license-faq 21 // A large-scale-change added 'default_applicable_licenses' to import 22 // all of the 'license_kinds' from "art_license" 23 // to get the below license kinds: 24 // SPDX-license-identifier-Apache-2.0 25 default_applicable_licenses: ["art_license"], 26 default_team: "trendy_team_art_performance", 27} 28 29cc_defaults { 30 name: "adbconnection-defaults", 31 host_supported: true, 32 srcs: [ 33 "adbconnection.cc", 34 "jdwpargs.cc", 35 ], 36 defaults: ["art_defaults"], 37 38 // Note that this tool needs to be built for both 32-bit and 64-bit since it requires 39 // to be same ISA as what it is attached to. 40 compile_multilib: "both", 41 42 shared_libs: [ 43 "libbase", 44 "libadbconnection_client", 45 ], 46 header_libs: [ 47 "libnativehelper_header_only", 48 "dt_fd_forward_export", 49 ], 50 runtime_libs: [ 51 "libjdwp", 52 "libdt_fd_forward", 53 ], 54} 55 56art_cc_library { 57 name: "libadbconnection", 58 defaults: ["adbconnection-defaults"], 59 shared_libs: [ 60 "libart", 61 "libartbase", 62 ], 63 apex_available: [ 64 "com.android.art", 65 "com.android.art.debug", 66 ], 67} 68 69art_cc_library { 70 name: "libadbconnectiond", 71 defaults: [ 72 "art_debug_defaults", 73 "adbconnection-defaults", 74 ], 75 shared_libs: [ 76 "libartd", 77 "libartbased", 78 ], 79 apex_available: [ 80 "com.android.art.debug", 81 ], 82} 83