diff options
| author | 2020-03-18 14:19:07 +0800 | |
|---|---|---|
| committer | 2020-04-13 17:02:27 +0800 | |
| commit | a3ad9b204e997b5fb1b0ee4f3857a7d91665ba9f (patch) | |
| tree | fe23b11cf0e5a535405784be99ff868195a63ae0 /rust/coverage_test.go | |
| parent | 624dec0b0311397c975ffd85bdd64f91cac92c73 (diff) | |
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
Diffstat (limited to 'rust/coverage_test.go')
0 files changed, 0 insertions, 0 deletions