Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 1 | // Copyright (C) 2015 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 | |
| 15 | // TODO(ajcbik): rename dexdump2 into dexdump when Dalvik version is removed |
| 16 | |
| 17 | art_cc_binary { |
| 18 | name: "dexdump2", |
| 19 | host_supported: true, |
| 20 | srcs: [ |
David Sehr | caacd11 | 2016-10-20 16:27:02 -0700 | [diff] [blame] | 21 | "dexdump_cfg.cc", |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 22 | "dexdump_main.cc", |
| 23 | "dexdump.cc", |
| 24 | ], |
| 25 | cflags: ["-Wall"], |
Andreas Gampe | 3fec9ac | 2016-09-13 10:47:28 -0700 | [diff] [blame] | 26 | shared_libs: [ |
| 27 | "libart", |
| 28 | "libbase", |
| 29 | ], |
Colin Cross | fe6064a | 2016-08-30 13:49:26 -0700 | [diff] [blame] | 30 | } |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 31 | |
| 32 | art_cc_test { |
| 33 | name: "art_dexdump_tests", |
| 34 | defaults: [ |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 35 | "art_gtest_defaults", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 36 | ], |
| 37 | srcs: ["dexdump_test.cc"], |
| 38 | } |