blob: 99a11cd59b0b9193671216338ad19564164be07c [file] [log] [blame]
Calin Juravle36eb3132017-01-13 16:32:38 -08001//
2// Copyright (C) 2017 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
17cc_defaults {
18 name: "dexoptanalyzer-defaults",
19 host_supported: true,
20 defaults: ["art_defaults"],
21 srcs: [
22 "dexoptanalyzer.cc",
23 ],
24
25 target: {
26 android: {
27 compile_multilib: "prefer32",
28 },
29 },
30
Calin Juravle36eb3132017-01-13 16:32:38 -080031 shared_libs: [
32 "libbase",
33 ],
34}
35
36art_cc_binary {
37 name: "dexoptanalyzer",
38 defaults: ["dexoptanalyzer-defaults"],
39 shared_libs: [
40 "libart",
David Sehr1f010162018-05-15 08:59:32 -070041 "libartbase",
Calin Juravle36eb3132017-01-13 16:32:38 -080042 ],
43}
44
45art_cc_binary {
46 name: "dexoptanalyzerd",
47 defaults: [
Calin Juravle36eb3132017-01-13 16:32:38 -080048 "art_debug_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -070049 "dexoptanalyzer-defaults",
Calin Juravle36eb3132017-01-13 16:32:38 -080050 ],
51 shared_libs: [
52 "libartd",
David Sehr1f010162018-05-15 08:59:32 -070053 "libartbased",
Calin Juravle36eb3132017-01-13 16:32:38 -080054 ],
55}
56
57art_cc_test {
58 name: "art_dexoptanalyzer_tests",
59 defaults: [
60 "art_gtest_defaults",
61 ],
62 shared_libs: [
Dan Willemsen2ca27802017-09-27 14:57:43 -070063 "libbacktrace",
Calin Juravle36eb3132017-01-13 16:32:38 -080064 ],
65 srcs: ["dexoptanalyzer_test.cc"],
66}