From f723ab002e1aeda88b24286ef90f1e716cacbf92 Mon Sep 17 00:00:00 2001 From: Joshua Selbo Date: Thu, 5 Jan 2023 10:38:04 -0800 Subject: [PATCH] Change AndroidX provided_deps to deps Summary: Changelog: [Internal] Reviewed By: hick209 Differential Revision: D42349731 fbshipit-source-id: df6f54638d57ca31f5e6548fe554911710878c31 --- .../src/main/java/com/facebook/react/BUCK | 28 ++++++++-------- .../java/com/facebook/react/animated/BUCK | 14 ++++---- .../main/java/com/facebook/react/bridge/BUCK | 32 ++++++++----------- .../main/java/com/facebook/react/common/BUCK | 12 +++---- .../com/facebook/react/common/mapbuffer/BUCK | 1 - .../java/com/facebook/react/devsupport/BUCK | 16 ++++------ .../main/java/com/facebook/react/fabric/BUCK | 26 +++++++-------- .../java/com/facebook/react/modules/blob/BUCK | 14 ++++---- .../facebook/react/modules/bundleloader/BUCK | 4 +-- .../facebook/react/modules/devloading/BUCK | 6 ++-- .../react/modules/devtoolssettings/BUCK | 4 +-- .../com/facebook/react/modules/dialog/BUCK | 6 ++-- .../com/facebook/react/modules/fabric/BUCK | 2 -- .../com/facebook/react/modules/fresco/BUCK | 16 ++++------ .../facebook/react/modules/i18nmanager/BUCK | 12 +++---- .../com/facebook/react/modules/network/BUCK | 14 ++++---- .../com/facebook/react/modules/sound/BUCK | 2 -- .../com/facebook/react/modules/statusbar/BUCK | 12 +++---- .../main/java/com/facebook/react/shell/BUCK | 16 ++++------ .../java/com/facebook/react/uimanager/BUCK | 22 +++++-------- .../com/facebook/react/uimanager/common/BUCK | 12 +++---- .../java/com/facebook/react/views/common/BUCK | 12 +++---- .../java/com/facebook/react/views/drawer/BUCK | 14 ++++---- .../java/com/facebook/react/views/image/BUCK | 24 ++++++-------- .../java/com/facebook/react/views/modal/BUCK | 6 ++-- .../java/com/facebook/react/views/scroll/BUCK | 12 +++---- .../facebook/react/views/swiperefresh/BUCK | 10 +++--- .../com/facebook/react/views/switchview/BUCK | 14 ++++---- .../react/views/unimplementedview/BUCK | 14 ++++---- .../java/com/facebook/react/views/view/BUCK | 18 +++++------ 30 files changed, 164 insertions(+), 231 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/BUCK b/ReactAndroid/src/main/java/com/facebook/react/BUCK index 8c87dfbbac2..8bd84827cf5 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/BUCK @@ -10,50 +10,48 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:appcompat"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - react_native_dep("third-party/android/androidx:autofill"), - ], visibility = [ "PUBLIC", ], deps = [ + react_native_dep("java/com/facebook/hermes/reactexecutor:reactexecutor"), react_native_dep("java/com/facebook/systrace:systrace"), react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:appcompat"), + react_native_dep("third-party/android/androidx:autofill"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), - react_native_dep("java/com/facebook/hermes/reactexecutor:reactexecutor"), react_native_target("java/com/facebook/debug/holder:holder"), react_native_target("java/com/facebook/debug/tags:tags"), 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/config:config"), react_native_target("java/com/facebook/react/devsupport:devsupport"), react_native_target("java/com/facebook/react/devsupport:interfaces"), react_native_target("java/com/facebook/react/jscexecutor:jscexecutor"), react_native_target("java/com/facebook/react/jstasks:jstasks"), react_native_target("java/com/facebook/react/module/annotations:annotations"), react_native_target("java/com/facebook/react/module/model:model"), - react_native_target("java/com/facebook/react/modules/appregistry:appregistry"), react_native_target("java/com/facebook/react/modules/appearance:appearance"), + react_native_target("java/com/facebook/react/modules/appregistry:appregistry"), react_native_target("java/com/facebook/react/modules/bundleloader:bundleloader"), react_native_target("java/com/facebook/react/modules/debug:debug"), - react_native_target("java/com/facebook/react/modules/devtoolssettings:devtoolssettings"), - react_native_target("java/com/facebook/react/modules/fabric:fabric"), react_native_target("java/com/facebook/react/modules/debug:interfaces"), react_native_target("java/com/facebook/react/modules/deviceinfo:deviceinfo"), + react_native_target("java/com/facebook/react/modules/devtoolssettings:devtoolssettings"), + react_native_target("java/com/facebook/react/modules/fabric:fabric"), 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/surface:surface"), - react_native_target("java/com/facebook/react/views/imagehelper:imagehelper"), - react_native_target("java/com/facebook/react/config:config"), react_native_target("java/com/facebook/react/turbomodule/core:core"), react_native_target("java/com/facebook/react/turbomodule/core/interfaces:interfaces"), + react_native_target("java/com/facebook/react/views/imagehelper:imagehelper"), ], exported_deps = [ react_native_target("java/com/facebook/react/modules/core:core"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/animated/BUCK b/ReactAndroid/src/main/java/com/facebook/react/animated/BUCK index 247fccb64aa..b287ae4f2d1 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/animated/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/animated/BUCK @@ -10,25 +10,23 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], visibility = [ "PUBLIC", ], deps = [ react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), 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/config:config"), react_native_target("java/com/facebook/react/module/annotations:annotations"), react_native_target("java/com/facebook/react/modules/core:core"), - react_native_target("java/com/facebook/react/config:config"), react_native_target("java/com/facebook/react/uimanager:uimanager"), react_native_target("java/com/facebook/react/uimanager/annotations:annotations"), react_native_target("java/com/facebook/react/views/view:view"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/bridge/BUCK b/ReactAndroid/src/main/java/com/facebook/react/bridge/BUCK index b5dcea61633..a564087cef1 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/bridge/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/bridge/BUCK @@ -26,13 +26,6 @@ rn_android_library( ], language = "JAVA", proguard_config = "reactnative.pro", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], required_for_source_only_abi = True, tests = [ react_native_tests_target("java/com/facebook/react/bridge:bridge"), @@ -45,17 +38,22 @@ rn_android_library( react_native_dep("java/com/facebook/systrace:systrace"), react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), - react_native_target("java/com/facebook/debug/tags:tags"), react_native_target("java/com/facebook/debug/holder:holder"), + react_native_target("java/com/facebook/debug/tags:tags"), react_native_target("java/com/facebook/react/common:common"), react_native_target("java/com/facebook/react/config:config"), - react_native_target("java/com/facebook/react/module/model:model"), - react_native_target("java/com/facebook/react/uimanager/common:common"), react_native_target("java/com/facebook/react/module/annotations:annotations"), - react_native_target("java/com/facebook/react/turbomodule/core/interfaces:interfaces"), + react_native_target("java/com/facebook/react/module/model:model"), react_native_target("java/com/facebook/react/turbomodule/core:callinvokerholder"), + react_native_target("java/com/facebook/react/turbomodule/core/interfaces:interfaces"), + react_native_target("java/com/facebook/react/uimanager/common:common"), ] + ([react_native_target("jni/react/jni:jni")] if not IS_OSS_BUILD else []), exported_deps = [ react_native_dep("libraries/fbjni:java"), @@ -74,18 +72,16 @@ rn_android_library( ], language = "JAVA", proguard_config = "reactnative.pro", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], required_for_source_only_abi = True, visibility = [ "PUBLIC", ], deps = [ + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/debug/tags:tags"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/common/BUCK b/ReactAndroid/src/main/java/com/facebook/react/common/BUCK index 77d911b93b4..c633d0947cb 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/common/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/common/BUCK @@ -16,13 +16,6 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], required_for_source_only_abi = True, visibility = [ "PUBLIC", @@ -30,6 +23,11 @@ rn_android_library( deps = [ ":build_config", react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), ], diff --git a/ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/BUCK b/ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/BUCK index 21e704ce960..590e127eaef 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/BUCK @@ -11,7 +11,6 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "KOTLIN", - provided_deps = [], pure_kotlin = False, required_for_source_only_abi = True, visibility = [ diff --git a/ReactAndroid/src/main/java/com/facebook/react/devsupport/BUCK b/ReactAndroid/src/main/java/com/facebook/react/devsupport/BUCK index a00fc846a71..68bb6747834 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/devsupport/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/devsupport/BUCK @@ -9,28 +9,24 @@ rn_android_library( ], language = "JAVA", manifest = "AndroidManifest.xml", - provided_deps = [ - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], visibility = [ "PUBLIC", ], deps = [ - react_native_dep("third-party/android/androidx:annotation"), react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), 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:okhttp3"), react_native_dep("third-party/java/okio:okio"), react_native_target("java/com/facebook/debug/holder:holder"), - react_native_target("java/com/facebook/react/uimanager:uimanager"), react_native_target("java/com/facebook/debug/tags:tags"), 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/util:util"), react_native_target("java/com/facebook/react/common/network:network"), react_native_target("java/com/facebook/react/devsupport:interfaces"), react_native_target("java/com/facebook/react/module/annotations:annotations"), @@ -39,6 +35,8 @@ rn_android_library( react_native_target("java/com/facebook/react/modules/debug:interfaces"), react_native_target("java/com/facebook/react/modules/systeminfo:systeminfo"), react_native_target("java/com/facebook/react/packagerconnection:packagerconnection"), + react_native_target("java/com/facebook/react/uimanager:uimanager"), + react_native_target("java/com/facebook/react/util:util"), react_native_target("res:devsupport"), ], exported_deps = [ diff --git a/ReactAndroid/src/main/java/com/facebook/react/fabric/BUCK b/ReactAndroid/src/main/java/com/facebook/react/fabric/BUCK index a311acbbcad..49c8fe3de76 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/fabric/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/fabric/BUCK @@ -16,13 +16,6 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "KOTLIN", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], pure_kotlin = False, required_for_source_only_abi = True, source = "8", @@ -32,23 +25,28 @@ rn_android_library( ], deps = [ YOGA_TARGET, - react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("java/com/facebook/systrace:systrace"), react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"), - react_native_target("java/com/facebook/debug/tags:tags"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), + react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_target("java/com/facebook/debug/holder:holder"), + react_native_target("java/com/facebook/debug/tags:tags"), 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/common/mapbuffer:mapbuffer"), react_native_target("java/com/facebook/react/config:config"), react_native_target("java/com/facebook/react/module/annotations:annotations"), react_native_target("java/com/facebook/react/modules/core:core"), react_native_target("java/com/facebook/react/modules/i18nmanager:i18nmanager"), - react_native_target("java/com/facebook/react/common:common"), - react_native_target("java/com/facebook/react/common/mapbuffer:mapbuffer"), - react_native_target("java/com/facebook/react/uimanager:uimanager"), - react_native_target("java/com/facebook/react/views/view:view"), - react_native_target("java/com/facebook/react/views/text:text"), 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/text:text"), + react_native_target("java/com/facebook/react/views/view:view"), react_native_target("jni/react/fabric:jni"), ] + KOTLIN_STDLIB_DEPS, ) diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/blob/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/blob/BUCK index ead9c535107..3db42d069d3 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/blob/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/blob/BUCK @@ -8,19 +8,17 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], visibility = [ "PUBLIC", ], deps = [ react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), 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:okhttp3"), @@ -29,9 +27,9 @@ rn_android_library( 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/module/annotations:annotations"), - react_native_target("jni/react/reactnativeblob:jni"), react_native_target("java/com/facebook/react/modules/network:network"), react_native_target("java/com/facebook/react/modules/websocket:websocket"), + react_native_target("jni/react/reactnativeblob:jni"), ], exported_deps = [ react_native_root_target(":FBReactNativeSpec"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/bundleloader/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/bundleloader/BUCK index 6e0fc1d216b..3b4dc8a95b3 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/bundleloader/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/bundleloader/BUCK @@ -8,13 +8,11 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - ], visibility = [ "PUBLIC", ], deps = [ + react_native_dep("third-party/android/androidx:annotation"), 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:interfaces"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/devloading/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/devloading/BUCK index f03e9081b66..3df9b66264f 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/devloading/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/devloading/BUCK @@ -8,19 +8,17 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - ], visibility = [ "PUBLIC", ], deps = [ + react_native_dep("third-party/android/androidx:annotation"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), 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/devsupport:interfaces"), - react_native_target("java/com/facebook/react/common:common"), react_native_target("java/com/facebook/react/module/annotations:annotations"), ], exported_deps = [react_native_root_target(":FBReactNativeSpec")], diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/devtoolssettings/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/devtoolssettings/BUCK index 27fe2d55442..3778bce519e 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/devtoolssettings/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/devtoolssettings/BUCK @@ -8,14 +8,12 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - ], visibility = [ "PUBLIC", ], deps = [ react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), + react_native_dep("third-party/android/androidx:annotation"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react/bridge:bridge"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/dialog/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/dialog/BUCK index bf9c37a1bba..0030fa611cc 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/dialog/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/dialog/BUCK @@ -8,15 +8,13 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:fragment"), - ], visibility = [ "PUBLIC", ], deps = [ react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:fragment"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/common:common"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/fabric/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/fabric/BUCK index 6366cd9f500..b0e1db40888 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/fabric/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/fabric/BUCK @@ -8,8 +8,6 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - ], visibility = [ "PUBLIC", ], diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/fresco/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/fresco/BUCK index e274463a950..6be48203cc1 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/fresco/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/fresco/BUCK @@ -8,13 +8,6 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], visibility = [ "PUBLIC", ], @@ -24,12 +17,17 @@ rn_android_library( react_native_dep("libraries/fresco/fresco-react-native:fbcore"), react_native_dep("libraries/fresco/fresco-react-native:fresco-drawee"), react_native_dep("libraries/fresco/fresco-react-native:fresco-react-native"), - react_native_dep("libraries/fresco/fresco-react-native:imagepipeline"), react_native_dep("libraries/fresco/fresco-react-native:imagepipeline-okhttp3"), + react_native_dep("libraries/fresco/fresco-react-native:imagepipeline"), react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/jsr-305:jsr-305"), - react_native_dep("third-party/java/okhttp:okhttp3"), react_native_dep("third-party/java/okhttp:okhttp3-urlconnection"), + react_native_dep("third-party/java/okhttp:okhttp3"), react_native_dep("third-party/java/okio:okio"), react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/common:common"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/i18nmanager/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/i18nmanager/BUCK index f10162658bd..095d3e3ffff 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/i18nmanager/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/i18nmanager/BUCK @@ -8,22 +8,20 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ + visibility = [ + "PUBLIC", + ], + deps = [ react_native_dep("third-party/android/androidx:annotation"), react_native_dep("third-party/android/androidx:core"), react_native_dep("third-party/android/androidx:fragment"), react_native_dep("third-party/android/androidx:legacy-support-core-ui"), react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], - visibility = [ - "PUBLIC", - ], - deps = [ react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), + react_native_root_target(":FBReactNativeSpec"), 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/module/annotations:annotations"), - react_native_root_target(":FBReactNativeSpec"), ], ) diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/network/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/network/BUCK index c4bb1d902ba..7ec1b3bfdb5 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/network/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/network/BUCK @@ -8,22 +8,20 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], visibility = [ "PUBLIC", ], deps = [ react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), 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:okhttp3"), react_native_dep("third-party/java/okhttp:okhttp3-urlconnection"), + react_native_dep("third-party/java/okhttp:okhttp3"), react_native_dep("third-party/java/okio:okio"), react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/common:common"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/sound/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/sound/BUCK index 68266a144f1..fdb3e21fea3 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/sound/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/sound/BUCK @@ -8,8 +8,6 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - ], visibility = [ "PUBLIC", ], diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/statusbar/BUCK b/ReactAndroid/src/main/java/com/facebook/react/modules/statusbar/BUCK index bdba3932892..99908d47cb8 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/statusbar/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/statusbar/BUCK @@ -8,18 +8,16 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], visibility = [ "PUBLIC", ], deps = [ react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react/bridge:bridge"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK b/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK index 6becaa20ade..39f1f860b0a 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK @@ -8,19 +8,17 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], visibility = [ "PUBLIC", ], deps = [ react_native_dep("libraries/fresco/fresco-react-native:imagepipeline"), react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react:react"), @@ -28,6 +26,7 @@ rn_android_library( 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/module/annotations:annotations"), react_native_target("java/com/facebook/react/module/model:model"), react_native_target("java/com/facebook/react/modules/accessibilityinfo:accessibilityinfo"), react_native_target("java/com/facebook/react/modules/appearance:appearance"), @@ -46,8 +45,8 @@ rn_android_library( react_native_target("java/com/facebook/react/modules/network:network"), react_native_target("java/com/facebook/react/modules/permissions:permissions"), react_native_target("java/com/facebook/react/modules/share:share"), - react_native_target("java/com/facebook/react/modules/statusbar:statusbar"), react_native_target("java/com/facebook/react/modules/sound:sound"), + react_native_target("java/com/facebook/react/modules/statusbar:statusbar"), react_native_target("java/com/facebook/react/modules/toast:toast"), react_native_target("java/com/facebook/react/modules/vibration:vibration"), react_native_target("java/com/facebook/react/modules/websocket:websocket"), @@ -65,7 +64,6 @@ rn_android_library( react_native_target("java/com/facebook/react/views/textinput:textinput"), react_native_target("java/com/facebook/react/views/unimplementedview:unimplementedview"), react_native_target("java/com/facebook/react/views/view:view"), - react_native_target("java/com/facebook/react/module/annotations:annotations"), react_native_target("res:shell"), ], ) diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK b/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK index 021331bddff..2bf0efede47 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/BUCK @@ -17,15 +17,13 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - ], required_for_source_only_abi = True, visibility = [ "PUBLIC", ], deps = [ YOGA_TARGET, + react_native_dep("third-party/android/androidx:annotation"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react/bridge:bridge"), ], @@ -52,25 +50,23 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], required_for_source_only_abi = True, visibility = [ "PUBLIC", ], deps = [ - YOGA_TARGET, ":DisplayMetrics", + YOGA_TARGET, react_native_dep("java/com/facebook/systrace:systrace"), react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), - react_native_target("java/com/facebook/debug/tags:tags"), react_native_target("java/com/facebook/debug/holder:holder"), + react_native_target("java/com/facebook/debug/tags:tags"), 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/common/mapbuffer:mapbuffer"), @@ -102,15 +98,13 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - ], required_for_source_only_abi = True, visibility = [ "PUBLIC", ], deps = [ react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), + react_native_dep("third-party/android/androidx:annotation"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react/bridge:bridge"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/BUCK b/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/BUCK index 8820a30d24a..95e08257a9d 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/BUCK @@ -8,18 +8,16 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], required_for_source_only_abi = True, visibility = [ "PUBLIC", ], deps = [ + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/jsr-305:jsr-305"), ], ) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/common/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/common/BUCK index 4a06ec1e429..d492b7c7895 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/common/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/common/BUCK @@ -8,17 +8,15 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/java/jsr-305:jsr-305"), + visibility = [ + "PUBLIC", + ], + deps = [ react_native_dep("third-party/android/androidx:annotation"), react_native_dep("third-party/android/androidx:core"), react_native_dep("third-party/android/androidx:fragment"), react_native_dep("third-party/android/androidx:legacy-support-core-ui"), react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], - visibility = [ - "PUBLIC", - ], - deps = [ + react_native_dep("third-party/java/jsr-305:jsr-305"), ], ) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/drawer/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/drawer/BUCK index 0b70da4c4df..55c3cc0d835 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/drawer/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/drawer/BUCK @@ -8,27 +8,25 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], visibility = [ "PUBLIC", ], deps = [ YOGA_TARGET, react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/jsr-305:jsr-305"), + react_native_root_target(":generated_components_java-FBReactNativeComponentSpec"), 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/module/annotations:annotations"), react_native_target("java/com/facebook/react/uimanager:uimanager"), react_native_target("java/com/facebook/react/uimanager/annotations:annotations"), react_native_target("java/com/facebook/react/views/scroll:scroll"), - react_native_root_target(":generated_components_java-FBReactNativeComponentSpec"), react_native_target("res:uimanager"), ], ) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/image/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/image/BUCK index f4a3f14b202..b7ef46778c9 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/image/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/image/BUCK @@ -12,16 +12,14 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ + required_for_source_only_abi = True, + visibility = ["PUBLIC"], + deps = [ react_native_dep("third-party/android/androidx:annotation"), react_native_dep("third-party/android/androidx:core"), react_native_dep("third-party/android/androidx:fragment"), react_native_dep("third-party/android/androidx:legacy-support-core-ui"), react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], - required_for_source_only_abi = True, - visibility = ["PUBLIC"], - deps = [ react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/uimanager:uimanager"), @@ -39,13 +37,6 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], visibility = [ "PUBLIC", ], @@ -55,15 +46,20 @@ rn_android_library( react_native_dep("libraries/fresco/fresco-react-native:fresco-drawee"), react_native_dep("libraries/fresco/fresco-react-native:fresco-react-native"), react_native_dep("libraries/fresco/fresco-react-native:imagepipeline"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), 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/module/annotations:annotations"), - react_native_target("java/com/facebook/react/uimanager:uimanager"), - react_native_target("java/com/facebook/react/util:util"), react_native_target("java/com/facebook/react/modules/fresco:fresco"), + react_native_target("java/com/facebook/react/uimanager:uimanager"), react_native_target("java/com/facebook/react/uimanager/annotations:annotations"), + react_native_target("java/com/facebook/react/util:util"), react_native_target("java/com/facebook/react/views/imagehelper:withmultisource"), ], exported_deps = [ diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/modal/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/modal/BUCK index 4418ccfcfe5..c3c06690b6f 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/modal/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/modal/BUCK @@ -8,18 +8,16 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - ], required_for_source_only_abi = True, visibility = [ "PUBLIC", ], deps = [ YOGA_TARGET, + react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), + react_native_dep("third-party/android/androidx:annotation"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), - react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), react_native_root_target(":generated_components_java-FBReactNativeComponentSpec"), react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/common:common"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/scroll/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/scroll/BUCK index 4a3644e5adf..308a32410aa 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/scroll/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/scroll/BUCK @@ -8,19 +8,17 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], visibility = [ "PUBLIC", ], deps = [ YOGA_TARGET, react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react/bridge:bridge"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/swiperefresh/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/swiperefresh/BUCK index a1fe56f942e..2dca2e32ac1 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/swiperefresh/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/swiperefresh/BUCK @@ -8,17 +8,15 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ + visibility = [ + "PUBLIC", + ], + deps = [ react_native_dep("third-party/android/androidx:annotation"), react_native_dep("third-party/android/androidx:core"), react_native_dep("third-party/android/androidx:fragment"), react_native_dep("third-party/android/androidx:legacy-support-core-ui"), react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], - visibility = [ - "PUBLIC", - ], - deps = [ react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/common:common"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/switchview/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/switchview/BUCK index ad8db8e74ea..332553b3978 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/switchview/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/switchview/BUCK @@ -8,24 +8,22 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:appcompat"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], visibility = [ "PUBLIC", ], deps = [ YOGA_TARGET, react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:appcompat"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/jsr-305:jsr-305"), + react_native_root_target(":generated_components_java-FBReactNativeComponentSpec"), 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/uimanager/annotations:annotations"), - react_native_root_target(":generated_components_java-FBReactNativeComponentSpec"), ], ) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/unimplementedview/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/unimplementedview/BUCK index 5efd187e053..c46325248d7 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/unimplementedview/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/unimplementedview/BUCK @@ -8,18 +8,16 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "JAVA", - provided_deps = [ - react_native_dep("third-party/android/androidx:annotation"), - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - react_native_dep("third-party/android/androidx:appcompat"), - ], visibility = [ "PUBLIC", ], deps = [ + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:appcompat"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/common:common"), diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/view/BUCK b/ReactAndroid/src/main/java/com/facebook/react/views/view/BUCK index 2db76a78180..8fb72b75325 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/view/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/views/view/BUCK @@ -11,20 +11,18 @@ rn_android_library( "pfh:ReactNative_CommonInfrastructurePlaceholder", ], language = "KOTLIN", - provided_deps = [ - react_native_dep("third-party/android/androidx:core"), - react_native_dep("third-party/android/androidx:fragment"), - react_native_dep("third-party/android/androidx:legacy-support-core-ui"), - react_native_dep("third-party/android/androidx:legacy-support-core-utils"), - ], pure_kotlin = False, visibility = [ "PUBLIC", ], deps = [ YOGA_TARGET, - react_native_dep("third-party/android/androidx:annotation"), react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), + react_native_dep("third-party/android/androidx:annotation"), + react_native_dep("third-party/android/androidx:core"), + react_native_dep("third-party/android/androidx:fragment"), + react_native_dep("third-party/android/androidx:legacy-support-core-ui"), + react_native_dep("third-party/android/androidx:legacy-support-core-utils"), react_native_dep("third-party/java/infer-annotations:infer-annotations"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_target("java/com/facebook/react/bridge:bridge"), @@ -32,11 +30,11 @@ rn_android_library( react_native_target("java/com/facebook/react/common/mapbuffer:mapbuffer"), react_native_target("java/com/facebook/react/config:config"), react_native_target("java/com/facebook/react/module/annotations:annotations"), - react_native_target("java/com/facebook/react/touch:touch"), - react_native_target("java/com/facebook/react/views/common:common"), - react_native_target("java/com/facebook/react/uimanager:uimanager"), react_native_target("java/com/facebook/react/modules/i18nmanager:i18nmanager"), + 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/uimanager/annotations:annotations"), + react_native_target("java/com/facebook/react/views/common:common"), react_native_target("res:uimanager"), ], )