Merge "Migrate pdl to external/rust/crates/pdl-compiler"
diff --git a/src/Android.bp b/src/Android.bp
index 2838002..4c59eab 100755
--- a/src/Android.bp
+++ b/src/Android.bp
@@ -356,7 +356,7 @@
 genrule {
     name: "uwb_core_artifacts",
     tools: [
-        "pdl",
+        "pdlc",
         "soong_zip",
     ],
     cmd:
@@ -368,7 +368,7 @@
         "      $(genDir)/artifacts;" +
 
         // Generate uci_packets.rs at $(genDir)/artifacts/uwb_uci_packets/.
-        "$(location pdl) --output-format rust " +
+        "$(location pdlc) --output-format rust " +
         "      external/uwb/src/rust/uwb_uci_packets/uci_packets.pdl " +
         "      > $(genDir)/artifacts/uwb_uci_packets/uci_packets.rs;" +
 
diff --git a/src/rust/uwb_core/README.md b/src/rust/uwb_core/README.md
index 0601af1..f59c22b 100644
--- a/src/rust/uwb_core/README.md
+++ b/src/rust/uwb_core/README.md
@@ -5,11 +5,11 @@
 
 ## Building `uwb_uci_packets` package
 
-The `uwb_uci_packets` package depends on `pdl` and thus simply using `cargo
+The `uwb_uci_packets` package depends on `pdlc and thus simply using `cargo
 build` will fail. Follow the steps below before using cargo.
 
 1. Enter Android environment by `source build/make/rbesetup.sh; lunch <target>`
-2. Run `m pdl` to compile the `pdl` Rust binary.
+2. Run `m pdlc` to compile the `pdlc` Rust binary.
 
 After that, we could build or test the package by `cargo test --features proto`.
 
diff --git a/src/rust/uwb_uci_packets/build.rs b/src/rust/uwb_uci_packets/build.rs
index f001de5..240c3f2 100644
--- a/src/rust/uwb_uci_packets/build.rs
+++ b/src/rust/uwb_uci_packets/build.rs
@@ -27,9 +27,9 @@
         return;
     }
 
-    // The binary should be compiled by `m pdl` before calling cargo.
+    // The binary should be compiled by `m pdlc` before calling cargo.
     let output = Command::new("env")
-        .arg("pdl")
+        .arg("pdlc")
         .arg("--output-format")
         .arg("rust")
         .arg("uci_packets.pdl")