AIDL(1)

πŸ“¦
version 14.0.0+r75 Β· 2 versions
, in ubuntu stonking

πŸ’– NAME πŸ’–

okok so aidl β€” literally the Java bindings generator of AIDL interfaces ✨ she takes your AIDL and manifests the Java for you, no cap.


🌸 SYNOPSIS 🌸

aidl OPTIONS INPUT [OUTPUT]
aidl --preprocess OUTPUT INPUT...
bestie pls note there are two whole moods here: the regular run, and the --preprocess era 🫢

✨ OPTIONS ✨

  • -I<DIR> β€” search path for import statements. every place you want her to go digging, list it πŸ’…
  • -d<FILE> β€” generate a dependency file. drop the path, get the deps πŸ“
  • -a β€” generate a dependency file right next to the output file, and the name is based on the input file. cute and automatic πŸŽ€
  • -ninja β€” same dependency-file energy but in the format ninja understands πŸ₯·
  • -p<FILE> β€” the file that --preprocess created, which you now want to import πŸ’œ
  • -o<FOLDER> β€” base output folder for all the generated files 🌈
  • -b β€” fail when trying to compile a parcelable. like, just refuse, on purpose 😭
  • INPUT β€” an aidl interface file, queen πŸ‘‘
  • OUTPUT β€” the generated interface files ✨

so the tea on where stuff actually lands, fr fr:

  • if you skip OUTPUT and you didn't use the -o option, the input filename gets used, with the .aidl extension changed to a .java extension. glow up πŸ’…
  • if you do use the -o option, the generated files go in the base output folder, tucked under their package folder πŸ“

πŸ”₯ SEE ALSO πŸ”₯

iykyk, go read it πŸ¦‹


🫢 AUTHORS 🫢

The Android Open Source Project.


and that's the whole page!! this little cutie lives in the General Commands Manual under the name AIDL(1) β€” slay, periodt πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from