887c645e02
Convert all dependencies to static deps. Test: make -j50 static_sdk_tools BUILD_HOST_static=1 Bug: 35246701 Bug: 68804545 Change-Id: Ia46ac30e5c05226f1bfec82a84f05e4be945bf74
36 lines
648 B
Text
36 lines
648 B
Text
//
|
|
// Copyright 2008 The Android Open Source Project
|
|
//
|
|
// Zip alignment tool
|
|
//
|
|
|
|
cc_binary_host {
|
|
name: "zipalign",
|
|
|
|
srcs: [
|
|
"ZipAlign.cpp",
|
|
"ZipEntry.cpp",
|
|
"ZipFile.cpp",
|
|
],
|
|
|
|
cflags: ["-Wall", "-Werror"],
|
|
|
|
// NOTE: Do not add any shared_libs dependencies because they will break the
|
|
// static_sdk_tools target.
|
|
static_libs: [
|
|
"libutils",
|
|
"libcutils",
|
|
"liblog",
|
|
"libziparchive",
|
|
"libz",
|
|
"libbase",
|
|
"libzopfli",
|
|
],
|
|
|
|
target: {
|
|
windows: {
|
|
host_ldlibs: ["-lpthread"],
|
|
enabled: true,
|
|
},
|
|
},
|
|
}
|