Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8745de5 authored by Steven Moreland's avatar Steven Moreland
Browse files

liblshal: make static

- reduce number of files on device
- allow testing lshal w/o flashing
- no need for dynamic linking (static lib will be more compact)

Bug: N/A
Test: lshal, lshal_test
Change-Id: I9b41e78f7e6a469505cd530eb578df6855f45a1f
parent 0b8e3876
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

cc_library_shared {
cc_library_static {
    name: "liblshal",
    shared_libs: [
        "libbase",
@@ -47,13 +47,16 @@ cc_defaults {
    name: "lshal_defaults",
    shared_libs: [
        "libbase",
        "libcutils",
        "libutils",
        "libhidlbase",
        "libhidl-gen-utils",
        "libhidltransport",
        "liblshal",
        "libutils",
        "libhidl-gen-hash",
        "libhidl-gen-utils",
        "libvintf",
    ],
    static_libs: [
        "liblshal",
        "libprocpartition",
    ],
    cflags: ["-Wall", "-Werror"],