mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Annotate targets with feature xplat/js/react-native-github/Libraries/RCTRequired/BUCK -> xplat/js/react-native-github/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/BUCK
Reviewed By: jkeljo Differential Revision: D35178374 fbshipit-source-id: be4ad27928a1b9260a9d6321c9705b30aebe04d6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
64b7ac5959
commit
b6e72c5922
@@ -1,9 +1,11 @@
|
||||
load("@fbsource//xplat/pfh/ReactNative/CommonInfrastructurePlaceholde:DEFS.bzl", "ReactNative_CommonInfrastructurePlaceholde")
|
||||
load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "rn_android_library")
|
||||
|
||||
rn_android_library(
|
||||
name = "holder",
|
||||
srcs = glob(["*.java"]),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
visibility = [
|
||||
"PUBLIC",
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
load("@fbsource//xplat/pfh/ReactNative/CommonInfrastructurePlaceholde:DEFS.bzl", "ReactNative_CommonInfrastructurePlaceholde")
|
||||
load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "rn_android_library")
|
||||
|
||||
rn_android_library(
|
||||
name = "tags",
|
||||
srcs = glob(["*.java"]),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
visibility = [
|
||||
"PUBLIC",
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
load("@fbsource//xplat/pfh/ReactNative/CommonInfrastructurePlaceholde:DEFS.bzl", "ReactNative_CommonInfrastructurePlaceholde")
|
||||
load("//tools/build_defs/oss:rn_defs.bzl", "ANDROID", "FBJNI_TARGET", "react_native_dep", "react_native_target", "react_native_xplat_dep", "rn_android_library", "rn_xplat_cxx_library")
|
||||
|
||||
rn_android_library(
|
||||
@@ -13,6 +14,7 @@ rn_android_library(
|
||||
name = "hermes_samplingprofiler",
|
||||
srcs = ["HermesSamplingProfiler.java"],
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
visibility = ["PUBLIC"],
|
||||
deps = [
|
||||
@@ -34,6 +36,7 @@ rn_xplat_cxx_library(
|
||||
compiler_flags_enable_exceptions = True, # TODO: is this necessary?
|
||||
compiler_flags_enable_rtti = True, # TODO: is this necessary?
|
||||
fbandroid_allow_jni_merging = True,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
platforms = ANDROID,
|
||||
soname = "libjsijniprofiler.$(ext)",
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
load("@fbsource//xplat/pfh/ReactNative/CommonInfrastructurePlaceholde:DEFS.bzl", "ReactNative_CommonInfrastructurePlaceholde")
|
||||
load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "react_native_target", "rn_android_library")
|
||||
|
||||
rn_android_library(
|
||||
name = "react",
|
||||
srcs = glob(["*.java"]),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
provided_deps = [
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
load("@fbsource//xplat/pfh/ReactNative/CommonInfrastructurePlaceholde:DEFS.bzl", "ReactNative_CommonInfrastructurePlaceholde")
|
||||
load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "react_native_root_target", "react_native_target", "rn_android_library")
|
||||
|
||||
rn_android_library(
|
||||
@@ -6,6 +7,7 @@ rn_android_library(
|
||||
"*.java",
|
||||
]),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
provided_deps = [
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
load("@fbsource//xplat/pfh/ReactNative/CommonInfrastructurePlaceholde:DEFS.bzl", "ReactNative_CommonInfrastructurePlaceholde")
|
||||
load("//tools/build_defs/oss:rn_defs.bzl", "IS_OSS_BUILD", "react_native_dep", "react_native_target", "react_native_tests_target", "rn_android_library")
|
||||
|
||||
INTERFACES = [
|
||||
@@ -21,6 +22,7 @@ rn_android_library(
|
||||
exclude = INTERFACES,
|
||||
),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
proguard_config = "reactnative.pro",
|
||||
@@ -67,6 +69,7 @@ rn_android_library(
|
||||
name = "interfaces",
|
||||
srcs = glob(INTERFACES),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
proguard_config = "reactnative.pro",
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
load("@fbsource//xplat/pfh/ReactNative/CommonInfrastructurePlaceholde:DEFS.bzl", "ReactNative_CommonInfrastructurePlaceholde")
|
||||
load("//tools/build_defs/oss:rn_defs.bzl", "HERMES_BYTECODE_VERSION", "react_native_dep", "rn_android_build_config", "rn_android_library")
|
||||
|
||||
SUB_PROJECTS = [
|
||||
@@ -12,6 +13,7 @@ rn_android_library(
|
||||
exclude = SUB_PROJECTS,
|
||||
),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
provided_deps = [
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
load("@fbsource//xplat/pfh/ReactNative/CommonInfrastructurePlaceholde:DEFS.bzl", "ReactNative_CommonInfrastructurePlaceholde")
|
||||
load("//tools/build_defs/oss:rn_defs.bzl", "FBJNI_TARGET", "react_native_dep", "react_native_target", "rn_android_library")
|
||||
|
||||
rn_android_library(
|
||||
@@ -6,6 +7,7 @@ rn_android_library(
|
||||
"*.java",
|
||||
]),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
provided_deps = [],
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
load("@fbsource//xplat/pfh/ReactNative/CommonInfrastructurePlaceholde:DEFS.bzl", "ReactNative_CommonInfrastructurePlaceholde")
|
||||
load("//tools/build_defs/oss:rn_defs.bzl", "ANDROID", "FBJNI_TARGET", "react_native_xplat_target", "rn_xplat_cxx_library", "subdir_glob")
|
||||
|
||||
rn_xplat_cxx_library(
|
||||
@@ -12,6 +13,7 @@ rn_xplat_cxx_library(
|
||||
prefix = "react/common/mapbuffer",
|
||||
),
|
||||
fbandroid_allow_jni_merging = True,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
platforms = ANDROID,
|
||||
preprocessor_flags = [
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
load("@fbsource//xplat/pfh/ReactNative/CommonInfrastructurePlaceholde:DEFS.bzl", "ReactNative_CommonInfrastructurePlaceholde")
|
||||
load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "rn_android_library")
|
||||
|
||||
rn_android_library(
|
||||
name = "network",
|
||||
srcs = glob(["**/*.java"]),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
visibility = [
|
||||
"PUBLIC",
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
load("@fbsource//xplat/pfh/ReactNative/CommonInfrastructurePlaceholde:DEFS.bzl", "ReactNative_CommonInfrastructurePlaceholde")
|
||||
load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "rn_android_library")
|
||||
|
||||
rn_android_library(
|
||||
name = "config",
|
||||
srcs = glob(["**/*.java"]),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
visibility = [
|
||||
"PUBLIC",
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
load("@fbsource//xplat/pfh/ReactNative/CommonInfrastructurePlaceholde:DEFS.bzl", "ReactNative_CommonInfrastructurePlaceholde")
|
||||
load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "react_native_root_target", "react_native_target", "rn_android_library")
|
||||
|
||||
rn_android_library(
|
||||
name = "devsupport",
|
||||
srcs = glob(["*.java"]),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
manifest = "AndroidManifest.xml",
|
||||
@@ -48,6 +50,7 @@ rn_android_library(
|
||||
name = "interfaces",
|
||||
srcs = glob(["interfaces/*.java"]),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
visibility = [
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
load("@fbsource//xplat/pfh/ReactNative/CommonInfrastructurePlaceholde:DEFS.bzl", "ReactNative_CommonInfrastructurePlaceholde")
|
||||
load("//tools/build_defs/oss:rn_defs.bzl", "YOGA_TARGET", "react_native_dep", "react_native_target", "rn_android_library")
|
||||
|
||||
rn_android_library(
|
||||
@@ -9,6 +10,7 @@ rn_android_library(
|
||||
"mounting/**/*.java",
|
||||
]),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
provided_deps = [
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
load("@fbsource//xplat/pfh/ReactNative/CommonInfrastructurePlaceholde:DEFS.bzl", "ReactNative_CommonInfrastructurePlaceholde")
|
||||
load("//tools/build_defs/oss:rn_defs.bzl", "ANDROID", "FBJNI_TARGET", "react_native_target", "react_native_xplat_target", "rn_xplat_cxx_library", "subdir_glob")
|
||||
|
||||
rn_xplat_cxx_library(
|
||||
@@ -12,6 +13,7 @@ rn_xplat_cxx_library(
|
||||
prefix = "react/fabric",
|
||||
),
|
||||
fbandroid_allow_jni_merging = True,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
platforms = ANDROID,
|
||||
preprocessor_flags = [
|
||||
|
||||
Reference in New Issue
Block a user