cc_library_shared { name: "vendor.huanglong.hardware.libteec@3.0-impl", proprietary: true, compile_multilib: "64", relative_install_path: "hw", srcs: ["LibteecGlobal.cpp"], include_dirs: [ "system/core/include", "vendor/platform/secure_c/include", "vendor/platform/libteec_vendor/include", ], local_include_dirs: [ ".", ], shared_libs: [ "liblog", "libutils", "libcutils", "libhidlbase", "libhardware", "libhwbinder", "libselinux", "libhidlmemory", "libhidltransport", "libuapi_securec", "vendor.huanglong.hardware.libteec@3.0", ], product_variables: { platform_sdk_version: { cflags :["-DPLATFORM_SDK_VERSION=%d"], }, }, cflags: [ "-DSEC_STORAGE_DATA_NEW_PATH", "-Wno-visibility", "-fno-common", "-Wformat", "-Wlong-long", "-Wpointer-arith", "-fstack-protector-all", "-fPIC", "-Werror", "-Wall", ], } cc_binary { name: "vendor.huanglong.hardware.libteec@3.0-service", init_rc: ["vendor.huanglong.hardware.libteec@3.0-service.rc"], proprietary: true, compile_multilib: "64", relative_install_path: "hw", srcs: ["service.cpp"], include_dirs: [ "vendor/platform/secure_c/include", ], local_include_dirs: [ ".", ], shared_libs: [ "liblog", "libcutils", "libdl", "libbase", "libutils", "libhardware", "libhidlbase", "libhidltransport", "vendor.huanglong.hardware.libteec@3.0", ], cflags: [ "-O2", "-fno-common", "-Wformat", "-Wlong-long", "-Wpointer-arith", "-fstack-protector-all", "-fPIC", "-Werror", "-Wall", ], }