blob: dd321ffe4c45fb01b68ba39283c06db6b3ebb6bd [file] [log] [blame]
Alex Light39795712017-12-14 11:58:21 -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
Bob Badour9150de62021-02-26 03:22:24 -080019package {
20 default_applicable_licenses: ["art_dt_fd_forward_license"],
21}
22
23// Added automatically by a large-scale-change that took the approach of
24// 'apply every license found to every target'. While this makes sure we respect
25// every license restriction, it may not be entirely correct.
26//
27// e.g. GPL in an MIT project might only apply to the contrib/ directory.
28//
29// Please consider splitting the single license below into multiple licenses,
30// taking care not to lose any license_kind information, and overriding the
31// default license using the 'licenses: [...]' property on targets as needed.
32//
33// For unused files, consider creating a 'fileGroup' with "//visibility:private"
34// to attach the license to, and including a comment whether the files may be
35// used in the current project.
36// See: http://go/android-license-faq
37license {
38 name: "art_dt_fd_forward_license",
39 visibility: [":__subpackages__"],
40 license_kinds: [
41 "SPDX-license-identifier-Apache-2.0",
42 "SPDX-license-identifier-GPL-2.0",
43 "SPDX-license-identifier-GPL-with-classpath-exception",
44 ],
45 license_text: [
46 "NOTICE",
47 ],
48}
49
Alex Light39795712017-12-14 11:58:21 -080050cc_defaults {
51 name: "dt_fd_forward-defaults",
52 host_supported: true,
53 srcs: ["dt_fd_forward.cc"],
54 defaults: ["art_defaults"],
55
56 // Note that this tool needs to be built for both 32-bit and 64-bit since it needs to be same
57 // ISA as what it is attached to.
58 compile_multilib: "both",
59
60 shared_libs: [
61 "libbase",
62 ],
63 target: {
64 android: {
65 },
66 host: {
67 },
Alex Lightc7547c32017-12-20 08:05:06 -080068 darwin: {
69 enabled: false,
70 },
Alex Light39795712017-12-14 11:58:21 -080071 },
72 header_libs: [
73 "javavm_headers",
74 "dt_fd_forward_export",
Andreas Gampe0dc93b12019-05-15 10:30:22 -070075 "art_libartbase_headers", // For strlcpy emulation.
Alex Light39795712017-12-14 11:58:21 -080076 ],
Alex Light39795712017-12-14 11:58:21 -080077}
78
79art_cc_library {
80 name: "libdt_fd_forward",
81 defaults: ["dt_fd_forward-defaults"],
Jiyong Park066dd9022019-12-19 02:11:59 +000082 apex_available: [
Martin Stjernholm3e9abfc2020-10-09 22:17:51 +010083 "com.android.art",
Jiyong Park066dd9022019-12-19 02:11:59 +000084 "com.android.art.debug",
85 ],
Alex Light39795712017-12-14 11:58:21 -080086}
87
88art_cc_library {
89 name: "libdt_fd_forwardd",
90 defaults: [
91 "art_debug_defaults",
92 "dt_fd_forward-defaults",
93 ],
94}