• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    target: {
47        host: {
48        },
49        darwin: {
50            enabled: false,
51        },
52    },
53    header_libs: [
54        "libnativehelper_header_only",
55        "dt_fd_forward_export",
56    ],
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        "libartbase",
69    ],
70    apex_available: [
71        "com.android.art",
72        "com.android.art.debug",
73    ],
74}
75
76art_cc_library {
77    name: "libadbconnectiond",
78    defaults: [
79        "art_debug_defaults",
80        "adbconnection-defaults",
81    ],
82    shared_libs: [
83        "libartd",
84        "libartbased",
85    ],
86    apex_available: [
87        "com.android.art.debug",
88    ],
89}
90