mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Cleanup BUCK files from template - Part 2 (#35020)
Summary: The `template/android/app/build_defs.bzl` file can be removed as it's unused in the Template. ## Changelog [Internal] - Remove build_defs.bzl from Android Template Pull Request resolved: https://github.com/facebook/react-native/pull/35020 Test Plan: n/a Reviewed By: cipolleschi Differential Revision: D40506250 Pulled By: cortinico fbshipit-source-id: 14d8522a995a4b19b5b6610fcb2c5b1dda3374c8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a197a3face
commit
27cb501481
@@ -1,19 +0,0 @@
|
||||
"""Helper definitions to glob .aar and .jar targets"""
|
||||
|
||||
def create_aar_targets(aarfiles):
|
||||
for aarfile in aarfiles:
|
||||
name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")]
|
||||
lib_deps.append(":" + name)
|
||||
android_prebuilt_aar(
|
||||
name = name,
|
||||
aar = aarfile,
|
||||
)
|
||||
|
||||
def create_jar_targets(jarfiles):
|
||||
for jarfile in jarfiles:
|
||||
name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")]
|
||||
lib_deps.append(":" + name)
|
||||
prebuilt_jar(
|
||||
name = name,
|
||||
binary_jar = jarfile,
|
||||
)
|
||||
Reference in New Issue
Block a user