cc_prebuilt_library respect module name and stem
Installed name of prebuilt shared library should be stem or module name. For example: cc_prebuilt_library_shared { name: "libfoo", srcs: ["libbar.so"], } should install with the filename libfoo.so, and cc_prebuilt_library_shared { name: "libfoo", stem: "libbaz", srcs: ["libbar.so"], } should install with the filename libbaz.so. Prebuilt Windows PE library should specify its import library. For example: cc_prebuilt_library_shared { name: "libfoo", srcs: ["libfoo.dll"], windows_import_lib: "libfoo.lib", enabled: false, target: { windows: { enabled: true, }, }, } Bug: 151744695 Test: prebuilt_test.go && built walleye-userdebug Change-Id: Ia8d0afb7fa46783c670870440432779c5fc7321a
Loading
Please register or sign in to comment