blob: 826f944c285342ff37df6230c259a0c884a102e9 [file] [log] [blame]
Colin Crossfe6064a2016-08-30 13:49:26 -07001//
2// Copyright (C) 2015 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
17art_cc_library {
18 name: "libartbenchmark",
19 host_supported: true,
Dan Willemsen2ca27802017-09-27 14:57:43 -070020 defaults: ["art_defaults"],
Colin Crossfe6064a2016-08-30 13:49:26 -070021 srcs: [
Igor Murashkin017efa82016-09-22 15:46:29 -070022 "jni_loader.cc",
Colin Crossfe6064a2016-08-30 13:49:26 -070023 "jobject-benchmark/jobject_benchmark.cc",
24 "jni-perf/perf_jni.cc",
Igor Murashkin017efa82016-09-22 15:46:29 -070025 "micro-native/micro_native.cc",
Colin Crossfe6064a2016-08-30 13:49:26 -070026 "scoped-primitive-array/scoped_primitive_array.cc",
27 ],
Colin Crossfe6064a2016-08-30 13:49:26 -070028 cflags: [
29 "-Wno-frame-larger-than=",
30 ],
Nicolas Geoffrayec64f202020-04-20 15:05:54 +010031 header_libs: [
32 "libnativehelper_header_only",
33 ],
34 // TODO(ngeoffray): find a way to link against the libraries in the apex.
35 shared_libs: [
36 "libart",
37 "libbase",
38 ],
Colin Crossfe6064a2016-08-30 13:49:26 -070039}
Igor Murashkinf5658b42016-09-30 14:12:14 -070040
41art_cc_library {
42 name: "libartbenchmark-micronative-host",
43 host_supported: true,
44 device_supported: false,
Dan Willemsen2ca27802017-09-27 14:57:43 -070045 defaults: [
46 "art_debug_defaults",
47 "art_defaults",
48 ],
Igor Murashkinf5658b42016-09-30 14:12:14 -070049 srcs: [
50 "jni_loader.cc",
51 "micro-native/micro_native.cc",
52 ],
53 shared_libs: [
54 ],
55 static_libs: [
56 ],
Andreas Gampea78d3b02017-07-17 16:42:44 -070057 header_libs: ["jni_headers"],
Igor Murashkinf5658b42016-09-30 14:12:14 -070058 stl: "libc++_static",
Igor Murashkinf5658b42016-09-30 14:12:14 -070059 cflags: [
60 "-Wno-frame-larger-than=",
61 ],
62}