blob: 67b423abf1583f286f1d09256598cd344d562d4f [file] [log] [blame]
Alex Light0e151e72017-10-25 10:50:35 -07001//
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: "breakpointlogger-defaults",
21 host_supported: true,
22 srcs: ["breakpoint_logger.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 },
35 host: {
36 },
37 },
38 header_libs: [
39 "libopenjdkjvmti_headers",
40 ],
41 multilib: {
42 lib32: {
43 suffix: "32",
44 },
45 lib64: {
46 suffix: "64",
47 },
48 },
49 symlink_preferred_arch: true,
50}
51
52art_cc_library {
53 name: "libbreakpointlogger",
54 defaults: ["breakpointlogger-defaults"],
55 shared_libs: [
56 ],
57}
58
59art_cc_library {
60 name: "libbreakpointloggerd",
61 defaults: [
62 "art_debug_defaults",
63 "breakpointlogger-defaults",
64 ],
65 shared_libs: [],
66}