您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

20 行
602 B

  1. """Helper definitions to glob .aar and .jar targets"""
  2. def create_aar_targets(aarfiles):
  3. for aarfile in aarfiles:
  4. name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")]
  5. lib_deps.append(":" + name)
  6. android_prebuilt_aar(
  7. name = name,
  8. aar = aarfile,
  9. )
  10. def create_jar_targets(jarfiles):
  11. for jarfile in jarfiles:
  12. name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")]
  13. lib_deps.append(":" + name)
  14. prebuilt_jar(
  15. name = name,
  16. binary_jar = jarfile,
  17. )