1commands: { 2 copy_before: { 3 from: "out/soong/.intermediates/external/rust/android-crates-io/crates/pdl-compiler/pdlc/linux_glibc_x86_64/pdlc" 4 to: "tools/out/bin/pdlc" 5 executable: false 6 } 7 copy_before: { 8 from: "out/soong/.intermediates/external/rust/android-crates-io/crates/argh_derive/libargh_derive/linux_glibc_x86_64/libargh_derive.so" 9 to: "tools/out/lib64/libargh_derive.so" 10 executable: false 11 } 12 copy_before: { 13 from: "out/soong/.intermediates/external/rust/android-crates-io/crates/serde_derive/libserde_derive/linux_glibc_x86_64/libserde_derive.so" 14 to: "tools/out/lib64/libserde_derive.so" 15 executable: false 16 } 17 copy_before: { 18 from: "out/soong/.intermediates/external/rust/android-crates-io/crates/pest_derive/libpest_derive/linux_glibc_x86_64/libpest_derive.so" 19 to: "tools/out/lib64/libpest_derive.so" 20 executable: false 21 } 22 copy_before: { 23 from: "out/soong/.intermediates/external/rust/android-crates-io/crates/thiserror-impl/libthiserror_impl/linux_glibc_x86_64/libthiserror_impl.so" 24 to: "tools/out/lib64/libthiserror_impl.so" 25 executable: false 26 } 27 copy_before: { 28 from: "system/nfc/src/nci_packets.pdl" 29 to: "system/nfc/src/nci_packets.pdl" 30 } 31 chdir: true 32 command: "__SBOX_SANDBOX_DIR__/tools/out/bin/pdlc --output-format rust_legacy system/nfc/src/nci_packets.pdl > __SBOX_SANDBOX_DIR__/out/nci_packets.rs" 33 copy_after: { 34 from: "out/nci_packets.rs" 35 to: "out/soong/.intermediates/system/nfc/src/NfcGeneratedPackets_rust/gen/nci_packets.rs" 36 } 37 input_hash: "d1853747aa559ade19642e9138269ea74adb491c67d96d6b0298686832455807" 38 env: { 39 name: "PATH" 40 inherit: true 41 } 42 env: { 43 name: "JAVA_HOME" 44 inherit: true 45 } 46 env: { 47 name: "TMPDIR" 48 inherit: true 49 } 50 env: { 51 name: "RBE_log_dir" 52 inherit: true 53 } 54 env: { 55 name: "RBE_platform" 56 inherit: true 57 } 58 env: { 59 name: "RBE_server_address" 60 inherit: true 61 } 62 env: { 63 name: "RBE_exec_root" 64 inherit: true 65 } 66 env: { 67 name: "OUT_DIR" 68 value: "out" 69 } 70 dont_inherit_env: true 71} 72 73