mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
6579d8f5bc
Summary: 0.62 Flipper Support items: https://github.com/facebook/react-native/issues/27565 Made RNTester's Android Flipper implementation consistent with the template. ~~Added Flipper to the iOS build.~~ <img width="1259" alt="Screen Shot 2019-12-28 at 7 06 42 PM" src="https://user-images.githubusercontent.com/8675043/71551835-37290800-29a5-11ea-9eac-b119a69a68c1.png"> ## Changelog [Internal] [Added] - RNTester Android Fipper updates Pull Request resolved: https://github.com/facebook/react-native/pull/27631 Test Plan: Run RNTester and see if it connects to Flipper. Reviewed By: rickhanlonii Differential Revision: D19345093 Pulled By: passy fbshipit-source-id: 6957c1ca3f4a5bb7f0e581c5daf8ddeac5d87eea
42 lines
1.7 KiB
Plaintext
42 lines
1.7 KiB
Plaintext
load("//tools/build_defs/oss:rn_defs.bzl", "KEYSTORE_TARGET", "react_native_dep", "react_native_target", "rn_android_binary", "rn_android_library", "rn_android_resource")
|
|
|
|
rn_android_binary(
|
|
name = "app",
|
|
keystore = KEYSTORE_TARGET,
|
|
manifest = "src/main/AndroidManifest.xml",
|
|
deps = [
|
|
":rntester-lib",
|
|
],
|
|
)
|
|
|
|
rn_android_library(
|
|
name = "rntester-lib",
|
|
srcs = glob(["src/main/java/**/*.java"]),
|
|
is_androidx = True,
|
|
deps = [
|
|
":res",
|
|
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: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:react"),
|
|
react_native_target("java/com/facebook/react/common:build_config"),
|
|
react_native_target("java/com/facebook/react/modules/core:core"),
|
|
react_native_target("java/com/facebook/react/views/text:text"),
|
|
react_native_target("java/com/facebook/react/shell:shell"),
|
|
react_native_target("jni/prebuilt:android-jsc"),
|
|
# .so files are prebuilt by Gradle with `./gradlew :ReactAndroid:packageReactNdkLibsForBuck`
|
|
react_native_target("jni/prebuilt:reactnative-libs"),
|
|
],
|
|
)
|
|
|
|
rn_android_resource(
|
|
name = "res",
|
|
package = "com.facebook.react.uiapp",
|
|
res = "src/main/res",
|
|
)
|