gen_aidl()rule is used to generate
The name of the rule.
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
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 in its
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/', )