diff --git a/ReactAndroid/src/main/java/com/facebook/csslayout/BUCK b/ReactAndroid/src/main/java/com/facebook/csslayout/BUCK deleted file mode 100644 index da7888de9..000000000 --- a/ReactAndroid/src/main/java/com/facebook/csslayout/BUCK +++ /dev/null @@ -1,15 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'csslayout', - srcs = glob(['**/*.java']), - deps = [ - react_native_dep('third-party/java/infer-annotations:infer-annotations'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - ], - visibility = ['PUBLIC'], -) - -project_config( - src_target = ':csslayout', -) diff --git a/ReactAndroid/src/main/java/com/facebook/jni/BUCK b/ReactAndroid/src/main/java/com/facebook/jni/BUCK deleted file mode 100644 index 220371dba..000000000 --- a/ReactAndroid/src/main/java/com/facebook/jni/BUCK +++ /dev/null @@ -1,17 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'jni', - srcs = glob(['**/*.java']), - deps = [ - react_native_dep('java/com/facebook/proguard/annotations:annotations'), - react_native_dep('libraries/soloader/java/com/facebook/soloader:soloader'), - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':jni', -) diff --git a/ReactAndroid/src/main/java/com/facebook/perftest/BUCK b/ReactAndroid/src/main/java/com/facebook/perftest/BUCK deleted file mode 100644 index 655817f6e..000000000 --- a/ReactAndroid/src/main/java/com/facebook/perftest/BUCK +++ /dev/null @@ -1,11 +0,0 @@ -android_library( - name = 'perftest', - srcs = glob(['*.java']), - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':perftest', -) diff --git a/ReactAndroid/src/main/java/com/facebook/proguard/annotations/BUCK b/ReactAndroid/src/main/java/com/facebook/proguard/annotations/BUCK deleted file mode 100644 index 27de0b88a..000000000 --- a/ReactAndroid/src/main/java/com/facebook/proguard/annotations/BUCK +++ /dev/null @@ -1,14 +0,0 @@ -android_library( - name = 'annotations', - srcs = glob(['*.java']), - proguard_config = 'proguard_annotations.pro', - deps = [ - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':annotations', -) diff --git a/ReactAndroid/src/main/java/com/facebook/quicklog/BUCK b/ReactAndroid/src/main/java/com/facebook/quicklog/BUCK deleted file mode 100644 index 911bbd556..000000000 --- a/ReactAndroid/src/main/java/com/facebook/quicklog/BUCK +++ /dev/null @@ -1,14 +0,0 @@ -android_library( - name = 'quicklog', - srcs = glob(['*.java']), - exported_deps = [ - '//java/com/facebook/quicklog/identifiers:identifiers', - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':quicklog', -) diff --git a/ReactAndroid/src/main/java/com/facebook/quicklog/identifiers/BUCK b/ReactAndroid/src/main/java/com/facebook/quicklog/identifiers/BUCK deleted file mode 100644 index 38d3b1bfa..000000000 --- a/ReactAndroid/src/main/java/com/facebook/quicklog/identifiers/BUCK +++ /dev/null @@ -1,11 +0,0 @@ -android_library( - name = 'identifiers', - srcs = glob(['*.java']), - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':identifiers', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/BUCK b/ReactAndroid/src/main/java/com/facebook/react/BUCK deleted file mode 100644 index 8102c187c..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/BUCK +++ /dev/null @@ -1,27 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'react', - srcs = glob(['*.java']), - deps = [ - '//libraries/fbcore/src/main/java/com/facebook/common/logging:logging', - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/react/devsupport:devsupport'), - react_native_target('java/com/facebook/react/modules/core:core'), - react_native_target('java/com/facebook/react/modules/debug:debug'), - react_native_target('java/com/facebook/react/modules/systeminfo:systeminfo'), - react_native_target('java/com/facebook/react/modules/toast:toast'), - react_native_target('java/com/facebook/react/uimanager:uimanager'), - react_native_dep('libraries/soloader/java/com/facebook/soloader:soloader'), - react_native_dep('third-party/java/infer-annotations:infer-annotations'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':react', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/animation/BUCK b/ReactAndroid/src/main/java/com/facebook/react/animation/BUCK deleted file mode 100644 index 6a3307d02..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/animation/BUCK +++ /dev/null @@ -1,18 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'animation', - srcs = glob(['**/*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_dep('third-party/java/infer-annotations:infer-annotations'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - ], - visibility = [ - 'PUBLIC' - ], -) - -project_config( - src_target = ':animation', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/bridge/BUCK b/ReactAndroid/src/main/java/com/facebook/react/bridge/BUCK deleted file mode 100644 index 9d8c59acd..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/bridge/BUCK +++ /dev/null @@ -1,41 +0,0 @@ -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']), - deps = [ - '//libraries/fbcore/src/main/java/com/facebook/common/logging:logging', - react_native_target('java/com/facebook/react/common:common'), - react_native_target('jni/react/jni:jni'), - react_native_dep('libraries/soloader/java/com/facebook/soloader:soloader'), - react_native_dep('java/com/facebook/systrace:systrace'), - react_native_dep('third-party/java/infer-annotations:infer-annotations'), - react_native_dep('third-party/java/jackson:core'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - react_native_dep('third-party/java/okhttp:okhttp-ws'), - ], - exported_deps = [ - react_native_dep('java/com/facebook/jni:jni'), - react_native_dep('java/com/facebook/proguard/annotations:annotations'), - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':bridge', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/common/BUCK b/ReactAndroid/src/main/java/com/facebook/react/common/BUCK deleted file mode 100644 index d034ce6ec..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/common/BUCK +++ /dev/null @@ -1,29 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'common', - srcs = glob(['**/*.java']), - deps = [ - ':build_config', - react_native_dep('third-party/java/infer-annotations:infer-annotations'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - ], - visibility = [ - 'PUBLIC', - ], -) - -android_build_config( - name = 'build_config', - package = 'com.facebook.react', - visibility = [ - 'PUBLIC', - ], - values = [ - 'boolean IS_INTERNAL_BUILD = true', - ], -) - -project_config( - src_target = ':common', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/devsupport/BUCK b/ReactAndroid/src/main/java/com/facebook/react/devsupport/BUCK deleted file mode 100644 index 06bf27bc4..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/devsupport/BUCK +++ /dev/null @@ -1,31 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'devsupport', - manifest = 'AndroidManifest.xml', - srcs = glob(['**/*.java']), - deps = [ - '//libraries/fbcore/src/main/java/com/facebook/common/logging:logging', - react_native_target('res:devsupport'), - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/react/modules/debug:debug'), - react_native_dep('third-party/java/infer-annotations:infer-annotations'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - react_native_dep('third-party/java/okhttp:okhttp'), - react_native_dep('third-party/java/okio:okio'), - ], - visibility = [ - react_native_target('java/com/facebook/react/...'), - '//instrumentation_tests/com/facebook/catalyst/...', - '//java/com/facebook/catalyst/...', - '//java/com/facebook/groups/treehouse/react/...', - '//java/com/facebook/fbreact/...', - '//javatests/com/facebook/catalyst/...', - '//javatests/com/facebook/react/...', - ], -) - -project_config( - src_target = ':devsupport', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/common/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/common/BUCK deleted file mode 100644 index d099b3c2e..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/common/BUCK +++ /dev/null @@ -1,20 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'common', - srcs = glob(['**/*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - '//libraries/fbcore/src/main/java/com/facebook/common/logging:logging', - '//third-party/java/infer-annotations:infer-annotations', - '//third-party/java/jsr-305:jsr-305', - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':common', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/core/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/core/BUCK deleted file mode 100644 index 5507ede15..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/core/BUCK +++ /dev/null @@ -1,22 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'core', - srcs = glob(['**/*.java']), - deps = [ - '//libraries/fbcore/src/main/java/com/facebook/common/logging:logging', - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/react/devsupport:devsupport'), - react_native_target('java/com/facebook/react/uimanager:uimanager'), - react_native_dep('third-party/java/infer-annotations:infer-annotations'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':core', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/debug/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/debug/BUCK deleted file mode 100644 index 6f5d6b9b1..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/debug/BUCK +++ /dev/null @@ -1,21 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'debug', - srcs = glob(['**/*.java']), - deps = [ - '//libraries/fbcore/src/main/java/com/facebook/common/logging:logging', - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/react/uimanager:uimanager'), - react_native_dep('third-party/java/infer-annotations:infer-annotations'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':debug', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/fresco/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/fresco/BUCK deleted file mode 100644 index 18e1e514c..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/fresco/BUCK +++ /dev/null @@ -1,28 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'fresco', - srcs = glob(['**/*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/modules/common:common'), - react_native_target('java/com/facebook/react/modules/network:network'), - react_native_dep('java/com/facebook/systrace:systrace'), - '//libraries/fbcore/src/main/java/com/facebook/common/internal:internal', - '//libraries/fbcore/src/main/java/com/facebook/common/soloader:soloader', - '//libraries/fresco/drawee-backends/drawee-pipeline/src/main/java/com/facebook/drawee/backends/pipeline:pipeline', - '//libraries/fresco/imagepipeline-backends/imagepipeline-okhttp/src/main/java/com/facebook/imagepipeline/backends/okhttp:okhttp', - '//libraries/imagepipeline/src/main/java/com/facebook/cache/common:common', - '//libraries/imagepipeline/src/main/java/com/facebook/cache/disk:disk', - '//libraries/imagepipeline/src/main/java/com/facebook/imagepipeline/core:core', - '//libraries/soloader/java/com/facebook/soloader:soloader', - '//third-party/java/okhttp:okhttp', - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':fresco', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/network/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/network/BUCK deleted file mode 100644 index 2de89f0d3..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/network/BUCK +++ /dev/null @@ -1,24 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'network', - srcs = glob(['**/*.java']), - deps = [ - '//libraries/fbcore/src/main/java/com/facebook/common/logging:logging', - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/modules/core:core'), - react_native_target('java/com/facebook/react/common:common'), - '//third-party/java/android/support/v4:lib-support-v4', - '//third-party/java/infer-annotations:infer-annotations', - '//third-party/java/jsr-305:jsr-305', - '//third-party/java/okhttp:okhttp', - '//third-party/java/okio:okio', - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':network', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/storage/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/storage/BUCK deleted file mode 100644 index 723db50f7..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/storage/BUCK +++ /dev/null @@ -1,21 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'storage', - srcs = glob(['**/*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/react/modules/common:common'), - '//libraries/fbcore/src/main/java/com/facebook/common/logging:logging', - '//third-party/java/infer-annotations:infer-annotations', - '//third-party/java/jsr-305:jsr-305', - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':storage', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/BUCK deleted file mode 100644 index deac058df..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/BUCK +++ /dev/null @@ -1,19 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'systeminfo', - srcs = glob(['**/*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - '//third-party/java/infer-annotations:infer-annotations', - '//third-party/java/jsr-305:jsr-305', - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':systeminfo', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/toast/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/toast/BUCK deleted file mode 100644 index 497ef5bd0..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/toast/BUCK +++ /dev/null @@ -1,19 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'toast', - srcs = glob(['**/*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - '//third-party/java/infer-annotations:infer-annotations', - '//third-party/java/jsr-305:jsr-305', - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':toast', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/websocket/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/websocket/BUCK deleted file mode 100644 index 92ab5d859..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/websocket/BUCK +++ /dev/null @@ -1,22 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'websocket', - srcs = glob(['**/*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/react/modules/core:core'), - '//libraries/fbcore/src/main/java/com/facebook/common/logging:logging', - '//third-party/java/infer-annotations:infer-annotations', - '//third-party/java/jsr-305:jsr-305', - '//third-party/java/okhttp:okhttp-ws', - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':websocket', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK b/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK deleted file mode 100644 index 7043f36df..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK +++ /dev/null @@ -1,43 +0,0 @@ -include_defs('//instrumentation_tests/DEFS') -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'shell', - srcs = glob(['**/*.java']), - deps = [ - react_native_target('res:shell'), - react_native_target('java/com/facebook/react:react'), - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/react/devsupport:devsupport'), - react_native_target('java/com/facebook/react/views/drawer:drawer'), - react_native_target('java/com/facebook/react/views/image:image'), - react_native_target('java/com/facebook/react/views/progressbar:progressbar'), - react_native_target('java/com/facebook/react/views/scroll:scroll'), - react_native_target('java/com/facebook/react/views/switchview:switchview'), - react_native_target('java/com/facebook/react/views/text:text'), - react_native_target('java/com/facebook/react/views/textinput:textinput'), - react_native_target('java/com/facebook/react/views/toolbar:toolbar'), - react_native_target('java/com/facebook/react/views/view:view'), - react_native_target('java/com/facebook/react/views/viewpager:viewpager'), - react_native_target('java/com/facebook/react/modules/core:core'), - react_native_target('java/com/facebook/react/modules/debug:debug'), - react_native_target('java/com/facebook/react/modules/fresco:fresco'), - react_native_target('java/com/facebook/react/modules/network:network'), - react_native_target('java/com/facebook/react/modules/storage:storage'), - react_native_target('java/com/facebook/react/modules/toast:toast'), - react_native_target('java/com/facebook/react/uimanager:uimanager'), - react_native_target('java/com/facebook/react/modules/websocket:websocket'), - react_native_dep('libraries/soloader/java/com/facebook/soloader:soloader'), - react_native_dep('third-party/java/android/support/v4:lib-support-v4'), - react_native_dep('third-party/java/infer-annotations:infer-annotations'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':shell', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/touch/BUCK b/ReactAndroid/src/main/java/com/facebook/react/touch/BUCK deleted file mode 100644 index 44cea8fdc..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/touch/BUCK +++ /dev/null @@ -1,17 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'touch', - srcs = glob(['**/*.java']), - deps = [ - react_native_dep('third-party/java/infer-annotations:infer-annotations'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - ], - visibility = [ - 'PUBLIC' - ], -) - -project_config( - src_target = ':touch', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK b/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK deleted file mode 100644 index 128e87f67..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK +++ /dev/null @@ -1,25 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'uimanager', - srcs = glob(['**/*.java']), - deps = [ - '//libraries/fbcore/src/main/java/com/facebook/common/logging:logging', - react_native_target('java/com/facebook/react/animation:animation'), - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/csslayout:csslayout'), - react_native_target('java/com/facebook/react/touch:touch'), - react_native_dep('java/com/facebook/systrace:systrace'), - react_native_dep('third-party/java/infer-annotations:infer-annotations'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - react_native_dep('third-party/java/android/support/v4:lib-support-v4'), - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':uimanager', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/drawer/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/drawer/BUCK deleted file mode 100644 index 1bef74069..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/views/drawer/BUCK +++ /dev/null @@ -1,22 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'drawer', - srcs = glob(['**/*.java']), - deps = [ - react_native_target('java/com/facebook/csslayout:csslayout'), - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/react/uimanager:uimanager'), - react_native_target('java/com/facebook/react/views/scroll:scroll'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - '//third-party/java/android/support/v4:lib-support-v4', - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':drawer', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/image/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/image/BUCK deleted file mode 100644 index 52c2e0b1e..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/views/image/BUCK +++ /dev/null @@ -1,29 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'image', - srcs = glob(['*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/uimanager:uimanager'), - '//libraries/drawee/src/main/java/com/facebook/drawee/controller:controller', - '//libraries/drawee/src/main/java/com/facebook/drawee/drawable:drawable', - '//libraries/drawee/src/main/java/com/facebook/drawee/generic:generic', - '//libraries/drawee/src/main/java/com/facebook/drawee/interfaces:interfaces', - '//libraries/drawee/src/main/java/com/facebook/drawee/view:view', - '//libraries/fbcore/src/main/java/com/facebook/common/references:references', - '//libraries/fbcore/src/main/java/com/facebook/common/util:util', - '//libraries/fresco/drawee-backends/drawee-pipeline/src/main/java/com/facebook/drawee/backends/pipeline:pipeline', - '//libraries/imagepipeline/src/main/java/com/facebook/imagepipeline/bitmaps:bitmaps', - '//libraries/imagepipeline/src/main/java/com/facebook/imagepipeline/common:common', - '//libraries/imagepipeline/src/main/java/com/facebook/imagepipeline/request:request', - '//third-party/java/jsr-305:jsr-305', - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':image', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/progressbar/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/progressbar/BUCK deleted file mode 100644 index ef7fc9609..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/views/progressbar/BUCK +++ /dev/null @@ -1,21 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'progressbar', - srcs = glob(['*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/csslayout:csslayout'), - react_native_target('java/com/facebook/react/uimanager:uimanager'), - '//third-party/java/infer-annotations:infer-annotations', - '//third-party/java/jsr-305:jsr-305', - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':progressbar', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/recyclerview/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/recyclerview/BUCK deleted file mode 100644 index 54414c312..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/views/recyclerview/BUCK +++ /dev/null @@ -1,25 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'recyclerview', - srcs = glob(['**/*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/react/touch:touch'), - react_native_target('java/com/facebook/react/uimanager:uimanager'), - react_native_target('java/com/facebook/react/views/scroll:scroll'), - react_native_target('java/com/facebook/react/views/view:view'), - '//third-party/android-support-v7/recyclerview:recyclerview', - '//third-party/java/android/support/v4:lib-support-v4', - '//third-party/java/infer-annotations:infer-annotations', - '//third-party/java/jsr-305:jsr-305', - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':recyclerview', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/scroll/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/scroll/BUCK deleted file mode 100644 index d08719512..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/views/scroll/BUCK +++ /dev/null @@ -1,23 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'scroll', - srcs = glob(['*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/react/views/view:view'), - react_native_target('java/com/facebook/react/touch:touch'), - react_native_target('java/com/facebook/react/uimanager:uimanager'), - react_native_dep('third-party/java/infer-annotations:infer-annotations'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - react_native_dep('third-party/java/android/support/v4:lib-support-v4'), - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':scroll', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/switchview/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/switchview/BUCK deleted file mode 100644 index 6c353cbe8..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/views/switchview/BUCK +++ /dev/null @@ -1,21 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'switchview', - srcs = glob(['*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/csslayout:csslayout'), - react_native_target('java/com/facebook/react/uimanager:uimanager'), - '//third-party/android-support-for-standalone-apps/v7/appcompat:appcompat-23.1', - '//third-party/android-support-for-standalone-apps/v7/appcompat:res-for-react-native', - '//third-party/java/jsr-305:jsr-305', - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':switchview', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/text/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/text/BUCK deleted file mode 100644 index cd0f60c1b..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/views/text/BUCK +++ /dev/null @@ -1,21 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'text', - srcs = glob(['*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/csslayout:csslayout'), - react_native_target('java/com/facebook/react/uimanager:uimanager'), - react_native_dep('third-party/java/infer-annotations:infer-annotations'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':text', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/textinput/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/textinput/BUCK deleted file mode 100644 index 4c7142f68..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/views/textinput/BUCK +++ /dev/null @@ -1,23 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'textinput', - srcs = glob(['*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/react/views/text:text'), - react_native_target('java/com/facebook/csslayout:csslayout'), - react_native_target('java/com/facebook/react/modules/core:core'), - react_native_target('java/com/facebook/react/uimanager:uimanager'), - react_native_dep('third-party/java/infer-annotations:infer-annotations'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':textinput', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/toolbar/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/toolbar/BUCK deleted file mode 100644 index 35a06f331..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/views/toolbar/BUCK +++ /dev/null @@ -1,33 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'toolbar', - srcs = glob(['**/*.java']), - deps = [ - react_native_target('java/com/facebook/csslayout:csslayout'), - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/uimanager:uimanager'), - react_native_target('java/com/facebook/react/common:common'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - '//libraries/imagepipeline/src/main/java/com/facebook/imagepipeline/bitmaps:bitmaps', - '//libraries/imagepipeline/src/main/java/com/facebook/imagepipeline/common:common', - '//libraries/imagepipeline/src/main/java/com/facebook/imagepipeline/request:request', - '//libraries/imagepipeline/src/main/java/com/facebook/imagepipeline/image:image', - '//libraries/drawee/src/main/java/com/facebook/drawee/controller:controller', - '//libraries/drawee/src/main/java/com/facebook/drawee/drawable:drawable', - '//libraries/drawee/src/main/java/com/facebook/drawee/generic:generic', - '//libraries/drawee/src/main/java/com/facebook/drawee/interfaces:interfaces', - '//libraries/drawee/src/main/java/com/facebook/drawee/view:view', - '//libraries/fresco/drawee-backends/drawee-pipeline/src/main/java/com/facebook/drawee/backends/pipeline:pipeline', - '//third-party/android-support-for-standalone-apps/v7/appcompat:appcompat-23.1', - '//third-party/android-support-for-standalone-apps/v7/appcompat:res-for-react-native', - '//third-party/java/android/support/v4:lib-support-v4', - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':toolbar', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/view/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/view/BUCK deleted file mode 100644 index 428372baa..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/views/view/BUCK +++ /dev/null @@ -1,22 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'view', - srcs = glob(['*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/csslayout:csslayout'), - react_native_target('java/com/facebook/react/touch:touch'), - react_native_target('java/com/facebook/react/uimanager:uimanager'), - react_native_dep('third-party/java/infer-annotations:infer-annotations'), - react_native_dep('third-party/java/jsr-305:jsr-305'), - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':view', -) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/viewpager/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/viewpager/BUCK deleted file mode 100644 index 8b0b881fa..000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/views/viewpager/BUCK +++ /dev/null @@ -1,21 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'viewpager', - srcs = glob(['**/*.java']), - deps = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('java/com/facebook/react/common:common'), - react_native_target('java/com/facebook/react/uimanager:uimanager'), - react_native_target('java/com/facebook/react/views/scroll:scroll'), - '//third-party/java/android/support/v4:lib-support-v4', - '//third-party/java/jsr-305:jsr-305', - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':viewpager', -) diff --git a/ReactAndroid/src/main/java/com/facebook/soloader/BUCK b/ReactAndroid/src/main/java/com/facebook/soloader/BUCK deleted file mode 100644 index 322ba2204..000000000 --- a/ReactAndroid/src/main/java/com/facebook/soloader/BUCK +++ /dev/null @@ -1,20 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_library( - name = 'soloader', - srcs = glob(['*.java']), - proguard_config = 'soloader.pro', - deps = [ - react_native_dep('third-party/java/jsr-305:jsr-305'), - # Be very careful adding new dependencies here, because this code - # has to run very early in the app startup process. - # Definitely do *not* depend on lib-base or guava. - ], - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':soloader', -) diff --git a/ReactAndroid/src/main/java/com/facebook/systrace/BUCK b/ReactAndroid/src/main/java/com/facebook/systrace/BUCK deleted file mode 100644 index 6d222bb2a..000000000 --- a/ReactAndroid/src/main/java/com/facebook/systrace/BUCK +++ /dev/null @@ -1,11 +0,0 @@ -android_library( - name = 'systrace', - srcs = glob(['*.java']), - visibility = [ - 'PUBLIC', - ], -) - -project_config( - src_target = ':systrace', -) diff --git a/ReactAndroid/src/main/jni/react/BUCK b/ReactAndroid/src/main/jni/react/BUCK deleted file mode 100644 index 14e7e8ffe..000000000 --- a/ReactAndroid/src/main/jni/react/BUCK +++ /dev/null @@ -1,57 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -# We depend on JSC, support the same platforms -SUPPORTED_PLATFORMS = '^android-(armv7|x86)$' - -cxx_library( - name = 'react', - soname = 'libreactnative.so', - header_namespace = 'react', - supported_platforms_regex = SUPPORTED_PLATFORMS, - force_static = True, - srcs = [ - 'Bridge.cpp', - 'Value.cpp', - 'MethodCall.cpp', - 'JSCHelpers.cpp', - 'JSCExecutor.cpp', - 'JSCTracing.cpp', - 'JSCPerfLogging.cpp', - 'JSCLegacyProfiler.cpp', - ], - headers = [ - 'JSCTracing.h', - 'JSCPerfLogging.h', - 'JSCLegacyProfiler.h', - ], - exported_headers = [ - 'Bridge.h', - 'Executor.h', - 'JSCExecutor.h', - 'JSCHelpers.h', - 'MethodCall.h', - 'Value.h', - ], - preprocessor_flags = [ - '-DLOG_TAG="ReactNative"', - '-DWITH_JSC_EXTRA_TRACING=1', - '-DWITH_FBSYSTRACE=1', - ], - compiler_flags = [ - '-Wall', - '-std=c++11', - '-fexceptions', - '-fvisibility=hidden', - ], - visibility = [ - react_native_target('jni/react/jni:jni'), - ], - deps = [ - '//native/fb:fb', - '//xplat/fbsystrace:fbsystrace', - '//native/jni:jni', - '//native/third-party/jsc:jsc', - '//native/third-party/jsc:jsc_legacy_profiler', - '//xplat/folly:json', - ], -) diff --git a/ReactAndroid/src/main/jni/react/jni/BUCK b/ReactAndroid/src/main/jni/react/jni/BUCK deleted file mode 100644 index b70ecf239..000000000 --- a/ReactAndroid/src/main/jni/react/jni/BUCK +++ /dev/null @@ -1,53 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -# We depend on JSC, support the same platforms -SUPPORTED_PLATFORMS = '^android-(armv7|x86)$' - -cxx_library( - name = 'jni', - soname = 'libreactnativejni.so', - header_namespace = 'react/jni', - supported_platforms_regex = SUPPORTED_PLATFORMS, - srcs = [ - 'NativeArray.cpp', - 'OnLoad.cpp', - 'ProxyExecutor.cpp', - 'JSLoader.cpp', - ], - headers = [ - 'ProxyExecutor.h', - 'JSLoader.h', - ], - exported_headers = [ - 'NativeArray.h', - 'ReadableNativeArray.h', - ], - preprocessor_flags = [ - '-DLOG_TAG="ReactNativeJNI"', - '-DWITH_FBSYSTRACE=1', - ], - compiler_flags = [ - '-Wall', - '-Werror', - '-fexceptions', - '-std=c++11', - '-fvisibility=hidden', - '-frtti', - ], - visibility = [ - react_native_target('java/com/facebook/react/bridge:bridge'), - react_native_target('jni/react/...'), - react_native_dep('native/react/...') - ], - deps = [ - react_native_target('jni/react:react'), - '//native/jni:jni', - '//native/third-party/jsc:jsc', - '//native/third-party/jsc:jsc_legacy_profiler', - '//xplat/folly:json', - ], -) - -project_config( - src_target = ':jni', -) diff --git a/ReactAndroid/src/main/jni/react/perftests/BUCK b/ReactAndroid/src/main/jni/react/perftests/BUCK deleted file mode 100644 index 6358592fb..000000000 --- a/ReactAndroid/src/main/jni/react/perftests/BUCK +++ /dev/null @@ -1,21 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -cxx_library( - name = 'perftests', - srcs = [ 'OnLoad.cpp' ], - soname = 'libreactnativetests.so', - preprocessor_flags = [ - '-DLOG_TAG=\"ReactPerftests\"', - ], - visibility = [ - '//instrumentation_tests/com/facebook/catalyst/...', - ], - deps = [ - '//native:base', - '//native/jni:jni', - ], -) - -project_config( - src_target = ':perftests', -) diff --git a/ReactAndroid/src/main/res/BUCK b/ReactAndroid/src/main/res/BUCK deleted file mode 100644 index 90f796a13..000000000 --- a/ReactAndroid/src/main/res/BUCK +++ /dev/null @@ -1,19 +0,0 @@ -include_defs('//ReactAndroid/DEFS') - -android_resource( - name = 'devsupport', - res = 'devsupport', - package = 'com.facebook.react', - visibility = [ - react_native_target('java/com/facebook/react/devsupport/...'), - ], -) - -android_resource( - name = 'shell', - res = 'shell', - package = 'com.facebook.react', - visibility = [ - 'PUBLIC', - ], -)