Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 1 | // |
| 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 | |
| 17 | art_cc_library { |
| 18 | name: "libartbenchmark", |
| 19 | host_supported: true, |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 20 | defaults: ["art_defaults"], |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 21 | srcs: [ |
Igor Murashkin | 017efa8 | 2016-09-22 15:46:29 -0700 | [diff] [blame] | 22 | "jni_loader.cc", |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 23 | "jobject-benchmark/jobject_benchmark.cc", |
| 24 | "jni-perf/perf_jni.cc", |
Igor Murashkin | 017efa8 | 2016-09-22 15:46:29 -0700 | [diff] [blame] | 25 | "micro-native/micro_native.cc", |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 26 | "scoped-primitive-array/scoped_primitive_array.cc", |
| 27 | ], |
| 28 | shared_libs: [ |
| 29 | "libart", |
| 30 | "libbacktrace", |
Andreas Gampe | eb4dc05 | 2016-09-26 14:18:25 -0700 | [diff] [blame] | 31 | "libbase", |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 32 | "libnativehelper", |
| 33 | ], |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 34 | cflags: [ |
| 35 | "-Wno-frame-larger-than=", |
| 36 | ], |
| 37 | } |
Igor Murashkin | f5658b4 | 2016-09-30 14:12:14 -0700 | [diff] [blame] | 38 | |
| 39 | art_cc_library { |
| 40 | name: "libartbenchmark-micronative-host", |
| 41 | host_supported: true, |
| 42 | device_supported: false, |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 43 | defaults: [ |
| 44 | "art_debug_defaults", |
| 45 | "art_defaults", |
| 46 | ], |
Igor Murashkin | f5658b4 | 2016-09-30 14:12:14 -0700 | [diff] [blame] | 47 | srcs: [ |
| 48 | "jni_loader.cc", |
| 49 | "micro-native/micro_native.cc", |
| 50 | ], |
| 51 | shared_libs: [ |
| 52 | ], |
| 53 | static_libs: [ |
| 54 | ], |
Andreas Gampe | a78d3b0 | 2017-07-17 16:42:44 -0700 | [diff] [blame] | 55 | header_libs: ["jni_headers"], |
Igor Murashkin | f5658b4 | 2016-09-30 14:12:14 -0700 | [diff] [blame] | 56 | stl: "libc++_static", |
Igor Murashkin | f5658b4 | 2016-09-30 14:12:14 -0700 | [diff] [blame] | 57 | cflags: [ |
| 58 | "-Wno-frame-larger-than=", |
| 59 | ], |
| 60 | } |