1 // Copyright (C) 2008 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 // 16 // dexdump, similar in purpose to objdump. 17 // 18 19 cc_binary { 20 name: "dexdump", 21 host_supported: true, 22 23 srcs: ["DexDump.cpp"], 24 include_dirs: ["dalvik"], 25 26 cflags: [ 27 "-Wall", 28 "-Werror", 29 ], 30 target: { 31 android: { 32 static_libs: [ 33 "libdex", 34 "libbase", 35 ], 36 shared_libs: [ 37 "libz", 38 "liblog", 39 "libutils", 40 ], 41 }, 42 host: { 43 static_libs: [ 44 "libdex", 45 "libbase", 46 "libutils", 47 "liblog", 48 "libz", 49 ], 50 }, 51 windows: { 52 enabled: true, 53 }, 54 }, 55 } 56