blob: a7ca279ea7e7b0b2bb94a79a63034af7c566700d [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,
20 defaults: ["art_defaults", "art_debug_defaults"],
21 srcs: [
22 "jobject-benchmark/jobject_benchmark.cc",
23 "jni-perf/perf_jni.cc",
24 "scoped-primitive-array/scoped_primitive_array.cc",
25 ],
26 shared_libs: [
27 "libart",
28 "libbacktrace",
Andreas Gampeeb4dc052016-09-26 14:18:25 -070029 "libbase",
Colin Crossfe6064a2016-08-30 13:49:26 -070030 "libnativehelper",
31 ],
32 clang: true,
33 target: {
34 android: {
35 shared_libs: ["libdl"],
36 },
37 host: {
38 host_ldlibs: ["-ldl", "-lpthread"],
39 },
40 },
41 cflags: [
42 "-Wno-frame-larger-than=",
43 ],
44}