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

Commit 27d3be03 authored by Luca Farsi's avatar Luca Farsi
Browse files

Add python library build rule

Add a build rule for a python library for soong-metrics so that
it can be used for build_test_suites and the tests for it.

Test: N/A
Bug: 372973116
Change-Id: I9b092807511bf34b98e6f921cfd627b719935971
parent 840880cf
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
python_library_host {
    name: "soong-metrics-proto-py",
    srcs: [
        "metrics.proto",
    ],
    visibility: [
        "//build/make/ci",
    ],
    libs: [
        "libprotobuf-python",
    ],
    proto: {
        include_dirs: ["external/protobuf/src"],
        canonical_path_from_root: false,
    },
}