mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fbshipit-source-id: 278ce6f67f5df830b2218e3aca69be103d3c56a6
37 lines
812 B
Python
37 lines
812 B
Python
include_defs("//ReactAndroid/DEFS")
|
|
|
|
SUB_PROJECTS = [
|
|
"network/**/*",
|
|
]
|
|
|
|
android_library(
|
|
name = "common",
|
|
srcs = glob(
|
|
["**/*.java"],
|
|
excludes = SUB_PROJECTS,
|
|
),
|
|
exported_deps = [
|
|
react_native_dep("java/com/facebook/proguard/annotations:annotations"),
|
|
],
|
|
visibility = [
|
|
"PUBLIC",
|
|
],
|
|
deps = [
|
|
":build_config",
|
|
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/jsr-305:jsr-305"),
|
|
],
|
|
)
|
|
|
|
android_build_config(
|
|
name = "build_config",
|
|
package = "com.facebook.react",
|
|
values = [
|
|
"boolean IS_INTERNAL_BUILD = true",
|
|
],
|
|
visibility = [
|
|
"PUBLIC",
|
|
],
|
|
)
|