File: aidl.1.md

package info (click to toggle)
android-platform-system-tools-aidl 1:8.1.0+r23-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 900 kB
  • sloc: cpp: 11,257; java: 824; yacc: 284; lex: 106; python: 97; xml: 19; sh: 18; makefile: 17
file content (52 lines) | stat: -rw-r--r-- 1,037 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
% AIDL(1)
% The Android Open Source Project

# NAME

aidl - Java bindings generator of AIDL interfaces

# SYNOPSIS

**aidl** _OPTIONS_ _INPUT_ [_OUTPUT_]

**aidl** --preprocess _OUTPUT_ _INPUT..._

# OPTIONS

-I\<DIR\>
: Search path for import statements.

-d\<FILE\>
: Generate dependency file.

-a
: Generate dependency file next to the output file with the name based on the
  input file.

-ninja
: Generate dependency file in a format ninja understands.

-p\<FILE\>
: File created by **--preprocess** to import.

-o\<FOLDER\>
: Base output folder for generated files.

-b
: Fail when trying to compile a parcelable.

_INPUT_
: An aidl interface file.

_OUTPUT_
: The generated interface files.

If _OUTPUT_ is omitted and the **-o** option is not used, the input filename
is used, with the **.aidl** extension changed to a **.java** extension.

If the **-o** option is used, the generated files will be placed in the base
output folder under their package folder.

# SEE ALSO

https://developer.android.com/guide/components/aidl.html