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:
kierancyphus 2023-11-10 14:40:18 +08:00 committed by Kieran Cyphus
parent 057e9b0f74
commit 3ed60cec02
17 changed files with 42 additions and 51 deletions

View file

@ -1,44 +0,0 @@
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,
}