diff --git a/ReactAndroid/src/main/java/com/facebook/react/bridge/BUCK b/ReactAndroid/src/main/java/com/facebook/react/bridge/BUCK index 9c8e1968d..5fe35af3d 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/bridge/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/bridge/BUCK @@ -1,18 +1,5 @@ include_defs("//ReactAndroid/DEFS") -# We package the JS files from the bundler and local directory into what we -# pretend is an ordinary JAR file. By putting them under the assets/ directory -# within the zip file and relying on Buck to merge its contents into the APK, -# our JS bundles arrive in a place accessible by the AssetManager at runtime. - -python_binary( - name = "package_js", - main = "package_js.py", - visibility = [ - "PUBLIC", - ], -) - android_library( name = "bridge", srcs = glob(["**/*.java"]), diff --git a/ReactAndroid/src/main/java/com/facebook/react/bridge/package_js.py b/ReactAndroid/src/main/java/com/facebook/react/bridge/package_js.py deleted file mode 100644 index d874f5aa2..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/bridge/package_js.py +++ /dev/null @@ -1,14 +0,0 @@ -from __future__ import absolute_import -from __future__ import division -from __future__ import print_function -from __future__ import unicode_literals -import os -import sys -import zipfile - -srcs = sys.argv[1:] - -with zipfile.ZipFile(sys.stdout, 'w') as jar: - for src in srcs: - archive_name = os.path.join('assets/', os.path.basename(src)) - jar.write(src, archive_name, zipfile.ZIP_DEFLATED)