cc_binary { name: "virtualkeypad", proprietary: true, compile_multilib: "64", init_rc: ["virtualkeypad.rc"], ldflags: [ "-s", "-Wl", ], cppflags: [ "-Werror", "-Wextra", "-Wdate-time", "-Weffc++", "-fvisibility=hidden", "-fno-common", "-Wall", ] + [ "-Wfloat-equal", "-Wformat=2", "-Wshadow", "-fstack-protector-all", ], srcs: [ "Main.cpp", "VirtualKeypad.cpp", "key_pars/KeyPars.cpp", "interface/LsadcInterface.cpp", "interface/GpioPowerInterface.cpp", "interface/GpioInterface.cpp", "uinput_interface/KeypadInputInterface.cpp", ], shared_libs: [ "libuapi_common", "libtinyxml2", "liblog", "libuapi_securec", "libutils", "libcust", "libcutils", "libuapi_gpio", "libuapi_pdm", "libuapi_vo", "libuapi_panel", "libuapi_pmoc", "libuapi_lsadc", "libuapi_ir", ], include_dirs: [ "system/core/libutils/include", "system/core/libutils/include", "external/tinyxml2/", "vendor/platform/secure_c/include", ], local_include_dirs: [ "interface/", "key_pars/", "uinput_interface/", ], header_libs: [ "drv_generic_headers", "libuapi_cec_headers", "libuapi_generic_headers", "libuapi_video_headers", ], }