gen_aidl()rule is used to generate
The short name for this build target.
The path to an
.aidlfile to convert to a
The search path for import statements for the aidl command. (This is the
-Iargument when invoking aidl from the command line. For many apps it will be the base dir where all aidl files are, with project root as its parent, e.g.
app/src/main/aidl.). This is the same as the path to the
aidlfile relative to what would be returned from
.aidlfiles the target
A list of rules that must be built before this rule.
List of build target patterns that identify the build rules that can include this rule as a dependency, for example, by listing it in their
exported_depsattributes. For more information, see visibility.
android_library( name = 'lib', srcs = glob(['**/*.java']) + [':aidl'], manifest = '//res/org/opencv:manifest', deps = [ '//res/org/opencv:res', ], visibility = [ 'PUBLIC' ], ) gen_aidl( name = 'aidl', aidl = 'engine/OpenCVEngineInterface.aidl', import_path = 'java/', )