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 19cc_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 ], 40 }, 41 host: { 42 static_libs: [ 43 "libdex", 44 "libbase", 45 "liblog", 46 "libz", 47 ], 48 }, 49 windows: { 50 enabled: true, 51 }, 52 }, 53} 54