-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make xplat react native files buildable
Reviewed By: mzlee Differential Revision: D6605611 fbshipit-source-id: baa33947319a27b95020924d177a9398a276dabe
- Loading branch information
1 parent
cec2e80
commit 4f2cc42
Showing
138 changed files
with
461 additions
and
462 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
include_defs("//ReactAndroid/DEFS") | ||
|
||
android_prebuilt_aar( | ||
name = "appcompat", | ||
aar = ":appcompat-binary-aar", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
ReactAndroid/src/androidTest/java/com/facebook/react/testing/BUCK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
ReactAndroid/src/androidTest/java/com/facebook/react/testing/idledetection/BUCK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
ReactAndroid/src/androidTest/java/com/facebook/react/testing/network/BUCK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 32 additions & 34 deletions
66
ReactAndroid/src/androidTest/java/com/facebook/react/tests/BUCK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,39 @@ | ||
include_defs("//ReactAndroid/DEFS") | ||
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_integration_tests_target", "react_native_target") | ||
|
||
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/junit:junit"), | ||
react_native_integration_tests_target("java/com/facebook/react/testing:testing"), | ||
react_native_integration_tests_target("java/com/facebook/react/testing/idledetection:idledetection"), | ||
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/module/annotations:annotations"), | ||
react_native_target("java/com/facebook/react/modules/appstate:appstate"), | ||
react_native_target("java/com/facebook/react/modules/core:core"), | ||
react_native_target("java/com/facebook/react/modules/datepicker:datepicker"), | ||
react_native_target("java/com/facebook/react/modules/deviceinfo:deviceinfo"), | ||
react_native_target("java/com/facebook/react/modules/share:share"), | ||
react_native_target("java/com/facebook/react/modules/systeminfo:systeminfo"), | ||
react_native_target("java/com/facebook/react/modules/timepicker:timepicker"), | ||
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/uimanager/util:util"), | ||
react_native_target("java/com/facebook/react/views/picker:picker"), | ||
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/slider:slider"), | ||
react_native_target("java/com/facebook/react/views/swiperefresh:swiperefresh"), | ||
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/view:view"), | ||
] | ||
|
||
android_library( | ||
rn_android_library( | ||
name = "tests", | ||
srcs = glob(["**/*.java"]), | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
deps = 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/junit:junit"), | ||
react_native_integration_tests_target("java/com/facebook/react/testing:testing"), | ||
react_native_integration_tests_target("java/com/facebook/react/testing/idledetection:idledetection"), | ||
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/module/annotations:annotations"), | ||
react_native_target("java/com/facebook/react/modules/appstate:appstate"), | ||
react_native_target("java/com/facebook/react/modules/core:core"), | ||
react_native_target("java/com/facebook/react/modules/datepicker:datepicker"), | ||
react_native_target("java/com/facebook/react/modules/deviceinfo:deviceinfo"), | ||
react_native_target("java/com/facebook/react/modules/share:share"), | ||
react_native_target("java/com/facebook/react/modules/systeminfo:systeminfo"), | ||
react_native_target("java/com/facebook/react/modules/timepicker:timepicker"), | ||
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/uimanager/util:util"), | ||
react_native_target("java/com/facebook/react/views/picker:picker"), | ||
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/slider:slider"), | ||
react_native_target("java/com/facebook/react/views/swiperefresh:swiperefresh"), | ||
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/view:view"), | ||
], | ||
) |
4 changes: 2 additions & 2 deletions
4
ReactAndroid/src/main/android_res/com/facebook/catalyst/appcompat/BUCK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
ReactAndroid/src/main/java/com/facebook/debug/debugoverlay/model/BUCK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
ReactAndroid/src/main/java/com/facebook/proguard/annotations/BUCK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
ReactAndroid/src/main/java/com/facebook/react/common/network/BUCK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 10 additions & 12 deletions
22
ReactAndroid/src/main/java/com/facebook/react/jstasks/BUCK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
include_defs("//ReactAndroid/DEFS") | ||
load("//ReactNative:DEFS", "rn_android_library", "react_native_dep", "react_native_target") | ||
|
||
DEPS = [ | ||
react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), | ||
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/modules/appregistry:appregistry"), | ||
] | ||
|
||
android_library( | ||
rn_android_library( | ||
name = "jstasks", | ||
srcs = glob(["*.java"]), | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
deps = DEPS, | ||
deps = [ | ||
react_native_dep("libraries/fbcore/src/main/java/com/facebook/common/logging:logging"), | ||
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/modules/appregistry:appregistry"), | ||
], | ||
) |
4 changes: 2 additions & 2 deletions
4
ReactAndroid/src/main/java/com/facebook/react/module/annotations/BUCK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
ReactAndroid/src/main/java/com/facebook/react/module/model/BUCK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.