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

Commit 3e6a83ce authored by Martin Geisler's avatar Martin Geisler Committed by Gerrit Code Review
Browse files

Merge "pdl: Run ‘Android.bp’ files through ‘bpfmt -s -w’"

parents ea894817 62582e3c
Loading
Loading
Loading
Loading
+13 −13
Original line number Diff line number Diff line
@@ -11,13 +11,13 @@ rust_defaults {
    name: "pdl_defaults",
    // LINT.IfChange
    rustlibs: [
        "libclap",
        "libcodespan_reporting",
        "libpest",
        "libproc_macro2",
        "libquote",
        "libserde",
        "libserde_json",
        "libclap",
        "libsyn",
        "libtempfile",
    ],
@@ -47,12 +47,12 @@ rust_test_host {
    data: [
        ":rustfmt",
        ":rustfmt.toml",
        "tests/generated/preamble.rs",
        "tests/generated/packet_decl_complex_big_endian.rs",
        "tests/generated/packet_decl_complex_little_endian.rs",
        "tests/generated/packet_decl_empty.rs",
        "tests/generated/packet_decl_simple_little_endian.rs",
        "tests/generated/packet_decl_simple_big_endian.rs",
        "tests/generated/packet_decl_complex_little_endian.rs",
        "tests/generated/packet_decl_complex_big_endian.rs",
        "tests/generated/packet_decl_simple_little_endian.rs",
        "tests/generated/preamble.rs",
    ],
}

@@ -128,14 +128,14 @@ python_test_host {
    name: "pdl_python_generator_test",
    main: "tests/python_generator_test.py",
    srcs: [
        "tests/python_generator_test.py",
        "tests/custom_types.py",
        ":pdl_python_generator_le_test_gen",
        ":pdl_python_generator_be_test_gen",
        ":pdl_python_generator_le_test_gen",
        "tests/custom_types.py",
        "tests/python_generator_test.py",
    ],
    data: [
        "tests/canonical/le_test_vectors.json",
        "tests/canonical/be_test_vectors.json",
        "tests/canonical/le_test_vectors.json",
    ],
    libs: [
        "typing_extensions",
@@ -157,9 +157,9 @@ python_test_host {
    main: "tests/python_parser_test.py",
    srcs: ["tests/python_parser_test.py"],
    data: [
        ":pdl",
        ":pypdl",
        ":BluetoothHciPackets",
        ":RootCanalLinkLayerPackets",
        ":pdl",
        ":pypdl",
    ],
}
+1 −1
Original line number Diff line number Diff line
@@ -21,5 +21,5 @@ python_binary_host {
        "generate_python_backend.py",
        "pdl/ast.py",
        "pdl/core.py",
    ]
    ],
}