device_google_gs-common/modem/dump_modemlog/Android.bp
kierancyphus 3ed60cec02 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
2023-11-21 05:51:30 +00:00

44 lines
879 B
Text

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,
}