blob: 441b706556a63e80a1b3de75e27d4473d1e60e62 [file] [log] [blame]
Alex Lightfbf96702017-12-14 13:27:13 -08001//
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
19cc_defaults {
20 name: "adbconnection-defaults",
21 host_supported: true,
22 srcs: ["adbconnection.cc"],
23 defaults: ["art_defaults"],
24
25 // Note that this tool needs to be built for both 32-bit and 64-bit since it requires
26 // to be same ISA as what it is attached to.
27 compile_multilib: "both",
28
29 shared_libs: [
30 "libbase",
31 ],
32 target: {
33 android: {
34 shared_libs: [
35 "libcutils",
36 ],
37 },
38 host: {
39 },
Alex Lightc7547c32017-12-20 08:05:06 -080040 darwin: {
41 enabled: false,
42 },
Alex Lightfbf96702017-12-14 13:27:13 -080043 },
44 header_libs: [
45 "libnativehelper_header_only",
46 "dt_fd_forward_export",
47 ],
48 multilib: {
49 lib32: {
50 suffix: "32",
51 },
52 lib64: {
53 suffix: "64",
54 },
55 },
56 symlink_preferred_arch: true,
57 required: [
58 "libjdwp",
59 "libdt_fd_forward",
60 ],
61}
62
63art_cc_library {
64 name: "libadbconnection",
65 defaults: ["adbconnection-defaults"],
66 shared_libs: [
67 "libart",
68 ],
69}
70
71art_cc_library {
72 name: "libadbconnectiond",
73 defaults: [
74 "art_debug_defaults",
75 "adbconnection-defaults",
76 ],
77 shared_libs: [
78 "libartd",
79 ],
80}