blob: edf034c736b59dc670a3e1ee2e52595a988abdaf [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,
Mathieu Chartier0795f232016-09-27 18:43:30 -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 ],
28 shared_libs: [
29 "libart",
30 "libbacktrace",
Andreas Gampeeb4dc052016-09-26 14:18:25 -070031 "libbase",
Colin Crossfe6064a2016-08-30 13:49:26 -070032 "libnativehelper",
33 ],
Colin Crossfe6064a2016-08-30 13:49:26 -070034 cflags: [
35 "-Wno-frame-larger-than=",
36 ],
37}
Igor Murashkinf5658b42016-09-30 14:12:14 -070038
39art_cc_library {
40 name: "libartbenchmark-micronative-host",
41 host_supported: true,
42 device_supported: false,
Andreas Gampe5115efb2017-05-24 16:55:54 -070043 defaults: ["art_debug_defaults", "art_defaults" ],
Igor Murashkinf5658b42016-09-30 14:12:14 -070044 srcs: [
45 "jni_loader.cc",
46 "micro-native/micro_native.cc",
47 ],
48 shared_libs: [
49 ],
50 static_libs: [
51 ],
Andreas Gampea78d3b02017-07-17 16:42:44 -070052 header_libs: ["jni_headers"],
Igor Murashkinf5658b42016-09-30 14:12:14 -070053 stl: "libc++_static",
Igor Murashkinf5658b42016-09-30 14:12:14 -070054 cflags: [
55 "-Wno-frame-larger-than=",
56 ],
57}