Converting android support library dependencies to be provided_deps in React Native.

Reviewed By: bestander

Differential Revision: D5326236

fbshipit-source-id: 3f2ca43a78c4c868ed6665b4d9f61630631f9502
This commit is contained in:
Alexander Komissarov 2017-07-05 19:12:26 -07:00 committed by Facebook Github Bot
parent 51afde821d
commit 1ab96fd077
24 changed files with 74 additions and 26 deletions

View File

@ -3,6 +3,9 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "react", name = "react",
srcs = glob(["*.java"]), srcs = glob(["*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
@ -10,7 +13,6 @@ android_library(
react_native_dep("java/com/facebook/systrace:systrace"), 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/fbcore/src/main/java/com/facebook/common/logging:logging"),
react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"), react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/bridge:bridge"),

View File

@ -5,12 +5,14 @@ android_library(
srcs = glob([ srcs = glob([
"*.java", "*.java",
]), ]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
deps = [ deps = [
react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/bridge:bridge"),

View File

@ -9,6 +9,9 @@ android_library(
react_native_dep("third-party/java/jsr-330:jsr-330"), react_native_dep("third-party/java/jsr-330:jsr-330"),
], ],
proguard_config = "reactnative.pro", proguard_config = "reactnative.pro",
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
@ -16,7 +19,6 @@ android_library(
react_native_dep("java/com/facebook/systrace:systrace"), 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/fbcore/src/main/java/com/facebook/common/logging:logging"),
react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"), react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/common:common"), react_native_target("java/com/facebook/react/common:common"),

View File

@ -13,13 +13,15 @@ android_library(
exported_deps = [ exported_deps = [
react_native_dep("java/com/facebook/proguard/annotations:annotations"), react_native_dep("java/com/facebook/proguard/annotations:annotations"),
], ],
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
deps = [ deps = [
":build_config", ":build_config",
react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
], ],

View File

@ -3,6 +3,9 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "flat", name = "flat",
srcs = glob(["*.java"]), srcs = glob(["*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
@ -14,7 +17,6 @@ android_library(
react_native_dep("libraries/fresco/fresco-react-native:fresco-react-native"), 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"),
react_native_dep("libraries/textlayoutbuilder:textlayoutbuilder"), react_native_dep("libraries/textlayoutbuilder:textlayoutbuilder"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/bridge:bridge"),

View File

@ -3,11 +3,13 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "datepicker", name = "datepicker",
srcs = glob(["**/*.java"]), srcs = glob(["**/*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
deps = [ deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/bridge:bridge"),

View File

@ -3,12 +3,14 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "dialog", name = "dialog",
srcs = glob(["**/*.java"]), srcs = glob(["**/*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
deps = [ deps = [
react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/bridge:bridge"),

View File

@ -3,6 +3,10 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "fresco", name = "fresco",
srcs = glob(["**/*.java"]), srcs = glob(["**/*.java"]),
provided_deps = [
react_native_dep("third-party/android/support-annotations:android-support-annotations"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
@ -15,8 +19,6 @@ android_library(
react_native_dep("libraries/fresco/fresco-react-native:imagepipeline"), 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-okhttp3"),
react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"), react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/android/support-annotations:android-support-annotations"),
react_native_dep("third-party/java/jsr-305:jsr-305"), 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"),
react_native_dep("third-party/java/okhttp:okhttp3-urlconnection"), react_native_dep("third-party/java/okhttp:okhttp3-urlconnection"),

View File

@ -3,11 +3,13 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "i18nmanager", name = "i18nmanager",
srcs = glob(["*.java"]), srcs = glob(["*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
deps = [ deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/bridge:bridge"),

View File

@ -3,12 +3,14 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "netinfo", name = "netinfo",
srcs = glob(["**/*.java"]), srcs = glob(["**/*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
deps = [ deps = [
react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/bridge:bridge"),

View File

@ -3,12 +3,14 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "network", name = "network",
srcs = glob(["**/*.java"]), srcs = glob(["**/*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
deps = [ deps = [
react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_dep("third-party/java/okhttp:okhttp3"), react_native_dep("third-party/java/okhttp:okhttp3"),

View File

@ -3,12 +3,14 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "statusbar", name = "statusbar",
srcs = glob(["**/*.java"]), srcs = glob(["**/*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
deps = [ deps = [
react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/bridge:bridge"),

View File

@ -3,11 +3,13 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "timepicker", name = "timepicker",
srcs = glob(["**/*.java"]), srcs = glob(["**/*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
deps = [ deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/bridge:bridge"),

View File

@ -3,13 +3,15 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "shell", name = "shell",
srcs = glob(["**/*.java"]), srcs = glob(["**/*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
deps = [ deps = [
react_native_dep("libraries/fresco/fresco-react-native:imagepipeline"), react_native_dep("libraries/fresco/fresco-react-native:imagepipeline"),
react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"), react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react:react"), react_native_target("java/com/facebook/react:react"),

View File

@ -8,6 +8,9 @@ android_library(
"events/*.java", "events/*.java",
"layoutanimation/*.java", "layoutanimation/*.java",
]), ]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
@ -15,7 +18,6 @@ android_library(
YOGA_TARGET, YOGA_TARGET,
react_native_dep("java/com/facebook/systrace:systrace"), 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/fbcore/src/main/java/com/facebook/common/logging:logging"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/animation:animation"), react_native_target("java/com/facebook/react/animation:animation"),

View File

@ -3,13 +3,15 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "drawer", name = "drawer",
srcs = glob(["**/*.java"]), srcs = glob(["**/*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
deps = [ deps = [
YOGA_TARGET, YOGA_TARGET,
react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/jsr-305:jsr-305"), 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/bridge:bridge"),
react_native_target("java/com/facebook/react/common:common"), react_native_target("java/com/facebook/react/common:common"),

View File

@ -7,10 +7,12 @@ IMAGE_EVENT_FILES = [
android_library( android_library(
name = "imageevents", name = "imageevents",
srcs = IMAGE_EVENT_FILES, srcs = IMAGE_EVENT_FILES,
provided_deps = [
react_native_dep("third-party/android/support-annotations:android-support-annotations"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = ["PUBLIC"], visibility = ["PUBLIC"],
deps = [ deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/android/support-annotations:android-support-annotations"),
react_native_dep("third-party/java/jsr-305:jsr-305"), 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/bridge:bridge"),
react_native_target("java/com/facebook/react/uimanager:uimanager"), react_native_target("java/com/facebook/react/uimanager:uimanager"),
@ -26,6 +28,10 @@ android_library(
exported_deps = [ exported_deps = [
":imageevents", ":imageevents",
], ],
provided_deps = [
react_native_dep("third-party/android/support-annotations:android-support-annotations"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
@ -35,8 +41,6 @@ android_library(
react_native_dep("libraries/fresco/fresco-react-native:fresco-drawee"), 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:fresco-react-native"),
react_native_dep("libraries/fresco/fresco-react-native:imagepipeline"), react_native_dep("libraries/fresco/fresco-react-native:imagepipeline"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/android/support-annotations:android-support-annotations"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/bridge:bridge"),

View File

@ -3,12 +3,14 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "scroll", name = "scroll",
srcs = glob(["*.java"]), srcs = glob(["*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
deps = [ deps = [
YOGA_TARGET, YOGA_TARGET,
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/bridge:bridge"),

View File

@ -3,11 +3,13 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "swiperefresh", name = "swiperefresh",
srcs = glob(["*.java"]), srcs = glob(["*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
deps = [ deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/jsr-305:jsr-305"), 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/bridge:bridge"),
react_native_target("java/com/facebook/react/common:common"), react_native_target("java/com/facebook/react/common:common"),

View File

@ -3,12 +3,14 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "textinput", name = "textinput",
srcs = glob(["*.java"]), srcs = glob(["*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
deps = [ deps = [
YOGA_TARGET, YOGA_TARGET,
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/bridge:bridge"),

View File

@ -3,6 +3,9 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "toolbar", name = "toolbar",
srcs = glob(["**/*.java"]), srcs = glob(["**/*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
@ -13,7 +16,6 @@ android_library(
react_native_dep("libraries/fresco/fresco-react-native:fresco-drawee"), 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:fresco-react-native"),
react_native_dep("libraries/fresco/fresco-react-native:imagepipeline"), react_native_dep("libraries/fresco/fresco-react-native:imagepipeline"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/android/support/v7/appcompat-orig:appcompat"), react_native_dep("third-party/android/support/v7/appcompat-orig:appcompat"),
react_native_dep("third-party/java/jsr-305:jsr-305"), 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/bridge:bridge"),

View File

@ -3,11 +3,13 @@ include_defs("//ReactAndroid/DEFS")
android_library( android_library(
name = "viewpager", name = "viewpager",
srcs = glob(["**/*.java"]), srcs = glob(["**/*.java"]),
provided_deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
],
visibility = [ visibility = [
"PUBLIC", "PUBLIC",
], ],
deps = [ deps = [
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/infer-annotations:infer-annotations"), 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/jsr-305:jsr-305"),
react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/bridge:bridge"),

View File

@ -8,6 +8,7 @@ rn_robolectric_test(
deps = [ deps = [
YOGA_TARGET, YOGA_TARGET,
react_native_dep("libraries/fbcore/src/test/java/com/facebook/powermock:powermock"), react_native_dep("libraries/fbcore/src/test/java/com/facebook/powermock:powermock"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/fest:fest"), react_native_dep("third-party/java/fest:fest"),
react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_dep("third-party/java/jsr-305:jsr-305"),
react_native_dep("third-party/java/junit:junit"), react_native_dep("third-party/java/junit:junit"),

View File

@ -11,6 +11,7 @@ rn_robolectric_test(
deps = [ deps = [
YOGA_TARGET, YOGA_TARGET,
react_native_dep("libraries/fbcore/src/test/java/com/facebook/powermock:powermock"), react_native_dep("libraries/fbcore/src/test/java/com/facebook/powermock:powermock"),
react_native_dep("third-party/android/support/v4:lib-support-v4"),
react_native_dep("third-party/java/fest:fest"), react_native_dep("third-party/java/fest:fest"),
react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_dep("third-party/java/jsr-305:jsr-305"),
react_native_dep("third-party/java/junit:junit"), react_native_dep("third-party/java/junit:junit"),