upload android base code part1
This commit is contained in:
parent
e02f198e2d
commit
0a1de6c4b3
48159 changed files with 9071466 additions and 0 deletions
50
android/frameworks/native/cmds/dumpsys/Android.bp
Normal file
50
android/frameworks/native/cmds/dumpsys/Android.bp
Normal file
|
@ -0,0 +1,50 @@
|
|||
cc_defaults {
|
||||
name: "dumpsys_defaults",
|
||||
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
],
|
||||
|
||||
srcs: [
|
||||
"dumpsys.cpp",
|
||||
],
|
||||
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libutils",
|
||||
"liblog",
|
||||
"libbinder",
|
||||
],
|
||||
|
||||
clang: true,
|
||||
}
|
||||
|
||||
//
|
||||
// Static library used in testing and executable
|
||||
//
|
||||
|
||||
cc_library_static {
|
||||
name: "libdumpsys",
|
||||
|
||||
defaults: ["dumpsys_defaults"],
|
||||
|
||||
export_include_dirs: ["."],
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Executable
|
||||
//
|
||||
|
||||
cc_binary {
|
||||
name: "dumpsys",
|
||||
|
||||
defaults: ["dumpsys_defaults"],
|
||||
|
||||
srcs: [
|
||||
"main.cpp",
|
||||
],
|
||||
}
|
||||
|
||||
subdirs = ["tests"]
|
Loading…
Add table
Add a link
Reference in a new issue