blob: 0987df76dc4a2b0b83406de53e9532e7a92992e1 [file] [log] [blame]
Colin Crossfe6064a2016-08-30 13:49:26 -07001// Copyright (C) 2016 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15art_cc_binary {
16 name: "dexlayout",
17 host_supported: true,
18 srcs: [
19 "dexlayout_main.cc",
20 "dexlayout.cc",
Jeff Hao3ab96b42016-09-09 18:35:01 -070021 "dex_ir.cc",
Colin Crossfe6064a2016-08-30 13:49:26 -070022 "dex_ir_builder.cc",
David Sehrcdcfde72016-09-26 07:44:04 -070023 "dex_visualize.cc",
Colin Crossfe6064a2016-08-30 13:49:26 -070024 ],
25 cflags: ["-Wall"],
Andreas Gampe3fec9ac2016-09-13 10:47:28 -070026 shared_libs: [
27 "libart",
28 "libbase",
29 ],
Colin Crossfe6064a2016-08-30 13:49:26 -070030}
Colin Cross6e95dd52016-09-12 15:37:10 -070031
32art_cc_test {
33 name: "art_dexlayout_tests",
34 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -070035 "art_gtest_defaults",
Colin Cross6e95dd52016-09-12 15:37:10 -070036 ],
37 srcs: ["dexlayout_test.cc"],
38}