device_google_gs-common/camera/Android.bp
Jooyung Han 31e885a477 Move lyric sysconfig to vendor
This sysconfig is about the apex (com.google.pixel.camera.hal). So it
should be installed with the apex, not in /product.

Bug: 375357389
Test: SysConfigTest#testVendorApexAllowlist
Change-Id: I551870fcff576527d3fdfff3d17a5e7b0ce198a9
2024-12-24 10:38:36 +09:00

68 lines
1.5 KiB
Text

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_binary {
name: "dump_camera",
srcs: ["dump_camera.cpp"],
cflags: [
"-Wall",
"-Wextra",
"-Werror",
],
shared_libs: [
"libbase",
"libdump",
"liblog",
],
vendor: true,
relative_install_path: "dump",
}
prebuilt_etc {
name: "lyric_preview_dis_xml",
vendor: true,
filename: "vendor.android.hardware.camera.preview-dis.xml",
src: "vendor.android.hardware.camera.preview-dis.xml",
sub_dir: "permissions",
}
prebuilt_etc {
name: "concurrent_foldable_dual_front_xml",
vendor: true,
filename: "com.google.pixel.camera.concurrent_foldable_dual_front.xml",
src: "com.google.pixel.camera.concurrent_foldable_dual_front.xml",
sub_dir: "permissions",
}
prebuilt_etc {
name: "libg3a_standalone_gabc_rc",
vendor: true,
proprietary: true,
init_rc: ["libg3a_gabc.rc"],
src: "libg3a_gabc.rc",
}
prebuilt_etc {
name: "libg3a_standalone_gaf_rc",
vendor: true,
proprietary: true,
init_rc: ["libg3a_gaf.rc"],
src: "libg3a_gaf.rc",
}
prebuilt_etc {
name: "libg3a_standalone_ghawb_rc",
vendor: true,
proprietary: true,
init_rc: ["libg3a_ghawb.rc"],
src: "libg3a_ghawb.rc",
}
prebuilt_etc {
name: "vendor-apex-allowlist-lyric.xml",
src: "vendor-apex-allowlist-lyric.xml",
vendor: true,
sub_dir: "sysconfig",
filename_from_src: true,
}