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

Commit c84102f4 authored by David Riley's avatar David Riley Committed by Michael Wachenschwanz
Browse files

Create python protos library build targets.

Change-Id: I11ec40a065a5e2892790a74dcf12b4d1dd513b5e
Test: m graph_ams; adb shell dumpsys activity --proto > activity.bin; graph_ams activity.bin > activity.dot; dot -Tpdf activity.dot -o activity.pdf
Bug: 419577469
Flag: EXEMPT build infra and tools
parent b04cca86
Loading
Loading
Loading
Loading

core/proto/Android.bp

0 → 100644
+21 −0
Original line number Diff line number Diff line
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

python_library_host {
    name: "core-python-protos",
    proto: {
        include_dirs: ["external/protobuf/src"],
        canonical_path_from_root: true,
    },
    srcs: ["android/**/*.proto"],
    libs: [
        "framework-python-protos",
        "frameworks_proto_logging_protos_python",
    ],
}
+8 −0
Original line number Diff line number Diff line
@@ -52,3 +52,11 @@ filegroup {
    name: "ipconnectivity-proto-src",
    srcs: ["src/ipconnectivity.proto"],
}

python_library_host {
    name: "framework-python-protos",
    proto: {
        canonical_path_from_root: false,
    },
    srcs: ["src/**/*.proto"],
}