blob: 31dbef904510f41fef2eb7b9e357c6652764c832 [file] [log] [blame]
Alex Light95c9ef92018-08-30 12:50:46 -07001//
2// Copyright (C) 2018 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}
18cc_defaults {
Alex Light05e4b022019-06-04 11:06:50 -070019 name: "fieldnull-base-defaults",
Alex Light95c9ef92018-08-30 12:50:46 -070020 srcs: ["fieldnull.cc"],
21 defaults: ["art_defaults"],
22
23 // Note that this tool needs to be built for both 32-bit and 64-bit since it requires
24 // to be same ISA as what it is attached to.
25 compile_multilib: "both",
Alex Light95c9ef92018-08-30 12:50:46 -070026 header_libs: [
Orion Hodson00cb81d2020-04-03 06:47:07 +010027 "jni_headers",
Alex Light95c9ef92018-08-30 12:50:46 -070028 "libopenjdkjvmti_headers",
29 ],
Alex Light95c9ef92018-08-30 12:50:46 -070030}
31
Alex Light05e4b022019-06-04 11:06:50 -070032cc_defaults {
33 name: "fieldnull-defaults",
34 host_supported: true,
35 shared_libs: [
36 "libbase",
37 ],
38 defaults: ["fieldnull-base-defaults"],
39}
40
41cc_defaults {
42 name: "fieldnull-static-defaults",
43 host_supported: false,
44 defaults: ["fieldnull-base-defaults"],
45
46 shared_libs: [
47 "liblog",
48 ],
49 static_libs: [
50 "libbase_ndk",
51 ],
52 sdk_version: "current",
53 stl: "c++_static",
54}
55
56cc_library {
57 name: "libfieldnulls",
58 defaults: ["fieldnull-static-defaults"],
59}
60
Alex Light95c9ef92018-08-30 12:50:46 -070061art_cc_library {
62 name: "libfieldnull",
63 defaults: ["fieldnull-defaults"],
64}
65
66art_cc_library {
67 name: "libfieldnulld",
68 defaults: [
69 "art_debug_defaults",
70 "fieldnull-defaults",
71 ],
72}