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

Commit 6ad5324a authored by Joel Galenson's avatar Joel Galenson
Browse files

Use the new more inclusive command-line options.

Test: Compile
Change-Id: If0a5a6c20b72034e15ebca2ced6a9394f007a12d
parent 343470b2
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -65,15 +65,15 @@ rust_bindgen {
        // rustified
        "--constified-enum", "android::c_interface::consts::.*",

        "--whitelist-type", "android::c_interface::.*",
        "--whitelist-type", "AStatus",
        "--whitelist-type", "AIBinder_Class",
        "--whitelist-type", "AIBinder",
        "--whitelist-type", "AIBinder_Weak",
        "--whitelist-type", "AIBinder_DeathRecipient",
        "--whitelist-type", "AParcel",
        "--whitelist-type", "binder_status_t",
        "--whitelist-function", ".*",
        "--allowlist-type", "android::c_interface::.*",
        "--allowlist-type", "AStatus",
        "--allowlist-type", "AIBinder_Class",
        "--allowlist-type", "AIBinder",
        "--allowlist-type", "AIBinder_Weak",
        "--allowlist-type", "AIBinder_DeathRecipient",
        "--allowlist-type", "AParcel",
        "--allowlist-type", "binder_status_t",
        "--allowlist-function", ".*",
    ],
    shared_libs: [
        "libbinder_ndk",
+2 −2
Original line number Diff line number Diff line
@@ -114,8 +114,8 @@ rust_bindgen {
    source_stem: "bindings",
    cpp_std: "gnu++17",
    bindgen_flags: [
        "--whitelist-type", "Transaction",
        "--whitelist-var", "TESTDATA_.*",
        "--allowlist-type", "Transaction",
        "--allowlist-var", "TESTDATA_.*",
    ],

    shared_libs: [