package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import // all of the 'license_kinds' from "system_tools_hidl_license" // to get the below license kinds: // SPDX-license-identifier-Apache-2.0 default_applicable_licenses: ["system_tools_hidl_license"], } java_genrule { name: "hidl_partial_java_test_gen", tools: [ "hidl-gen", ], srcs: [ "1.0/types.hal", ], cmd: "$(location hidl-gen) -o $(genDir) -Ljava " + "-r hidl_java_partial_test:system/tools/hidl/test/java_partial_test " + "hidl_java_partial_test@1.0 && " + "[ \"$(genDir)/hidl_java_partial_test/V1_0/ExistsInJava.java\" == " + "\"$$(find $(genDir) -type f)\" ]", out: [ "hidl_java_partial_test/V1_0/ExistsInJava.java", ], } java_library { name: "hidl_partial_java_test", srcs: [ ":hidl_partial_java_test_gen", ], }