dump_modemlog: move all files to subdirectory
Since radioext has already moved to this folder, it doesn't make sense for the base folder to be dump_modemlog. This change moves it to its own subfolder so that we can also add more in the future. Test: build and flash, trigger bugreport and check modem logs are there Bug: 302435001 Change-Id: Ia83378074068526023f591d63b1e5ac4700b8103
This commit is contained in:
parent
057e9b0f74
commit
3ed60cec02
17 changed files with 42 additions and 51 deletions
44
modem/dump_modemlog/Android.bp
Normal file
44
modem/dump_modemlog/Android.bp
Normal file
|
@ -0,0 +1,44 @@
|
|||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
sh_binary {
|
||||
name: "dump_modem.sh",
|
||||
src: "dump_modem.sh",
|
||||
vendor: true,
|
||||
sub_dir: "dump",
|
||||
}
|
||||
|
||||
cc_defaults {
|
||||
name: "dump_modemlog_defaults",
|
||||
srcs: [ "modem_log_dumper.cpp" ],
|
||||
local_include_dirs: [ "include" ],
|
||||
shared_libs: [ "liblog" ],
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
name: "dump_modemlog",
|
||||
srcs: ["dump_modemlog.cpp"],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Werror",
|
||||
],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libdump",
|
||||
"liblog",
|
||||
],
|
||||
defaults: [ "dump_modemlog_defaults" ],
|
||||
vendor: true,
|
||||
relative_install_path: "dump",
|
||||
}
|
||||
|
||||
cc_test {
|
||||
name: "dump_modemlog_test",
|
||||
srcs: [ "*_test.cpp" ],
|
||||
defaults: [ "dump_modemlog_defaults" ],
|
||||
local_include_dirs: [ "test/include" ],
|
||||
static_libs: [ "libgmock" ],
|
||||
vendor: true,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue