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/ReactAndroid/src/main/java/com/facebook/react/packagerconnection/BUCK -> xplat/js/react-native...
Summary: ...-github/ReactAndroid/src/main/java/com/facebook/react/views/commo Reviewed By: jkeljo Differential Revision: D35178656 fbshipit-source-id: bcd09e49f1b4625012ca9372eea9254a0955e9fa
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8eddec9ff4
commit
64b7ac5959
@@ -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_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"],
|
||||
visibility = [
|
||||
|
||||
@@ -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_target", "rn_java_annotation_processor", "rn_java_library")
|
||||
|
||||
rn_java_annotation_processor(
|
||||
@@ -15,6 +16,7 @@ rn_java_annotation_processor(
|
||||
rn_java_library(
|
||||
name = "processing-lib",
|
||||
srcs = glob(["*.java"]),
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
source = "7",
|
||||
target = "7",
|
||||
|
||||
@@ -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_target", "rn_android_library")
|
||||
|
||||
rn_android_library(
|
||||
@@ -8,6 +9,7 @@ rn_android_library(
|
||||
],
|
||||
),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
labels = [
|
||||
"supermodule:xplat/default/public.react_native.infra",
|
||||
],
|
||||
|
||||
@@ -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")
|
||||
|
||||
rn_xplat_cxx_library(
|
||||
@@ -13,6 +14,7 @@ rn_xplat_cxx_library(
|
||||
fbandroid_labels = [
|
||||
"supermodule:xplat/default/public.react_native.infra",
|
||||
],
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
platforms = ANDROID,
|
||||
preprocessor_flags = [
|
||||
"-DLOG_TAG=\"ReactNative\"",
|
||||
|
||||
@@ -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 = "shell",
|
||||
srcs = glob(["**/*.java"]),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
provided_deps = [
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
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(
|
||||
name = "surface",
|
||||
srcs = glob(["*.java"]),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
visibility = [
|
||||
|
||||
@@ -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 = "touch",
|
||||
srcs = glob(["**/*.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", "react_native_dep", "react_native_target", "rn_android_library")
|
||||
|
||||
rn_android_library(
|
||||
@@ -9,6 +10,7 @@ rn_android_library(
|
||||
exclude = ["CallInvokerHolderImpl.java"],
|
||||
),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
required_for_source_only_abi = True,
|
||||
visibility = [
|
||||
@@ -41,6 +43,7 @@ rn_android_library(
|
||||
name = "callinvokerholder",
|
||||
srcs = ["CallInvokerHolderImpl.java"],
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
required_for_source_only_abi = True,
|
||||
visibility = [
|
||||
|
||||
@@ -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", "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"],
|
||||
required_for_source_only_abi = True,
|
||||
|
||||
@@ -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_shared_library_target", "react_native_xplat_target", "rn_xplat_cxx_library")
|
||||
|
||||
rn_xplat_cxx_library(
|
||||
@@ -12,6 +13,7 @@ rn_xplat_cxx_library(
|
||||
"ReactCommon/TurboModuleManagerDelegate.h": "ReactCommon/TurboModuleManagerDelegate.h",
|
||||
},
|
||||
fbandroid_allow_jni_merging = True,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
platforms = ANDROID,
|
||||
preprocessor_flags = [
|
||||
@@ -47,6 +49,7 @@ rn_xplat_cxx_library(
|
||||
fbandroid_deps = [
|
||||
FBJNI_TARGET,
|
||||
],
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
platforms = ANDROID,
|
||||
preferred_linkage = "static",
|
||||
|
||||
@@ -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")
|
||||
|
||||
INTERFACES_FILES = [
|
||||
@@ -13,6 +14,7 @@ rn_android_library(
|
||||
name = "interfaces",
|
||||
srcs = glob(INTERFACES_FILES),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
provided_deps = [
|
||||
@@ -46,6 +48,7 @@ rn_android_library(
|
||||
exported_provided_deps = [
|
||||
react_native_dep("third-party/android/androidx:annotation"),
|
||||
],
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
provided_deps = [
|
||||
@@ -94,6 +97,7 @@ rn_android_library(
|
||||
"DisplayMetricsHolder.java",
|
||||
],
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
provided_deps = [
|
||||
|
||||
@@ -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 = "annotations",
|
||||
srcs = glob(["*.java"]),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
required_for_source_only_abi = True,
|
||||
|
||||
@@ -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 = "common",
|
||||
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", "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/uimanager/jni",
|
||||
),
|
||||
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", "react_native_target", "rn_android_library")
|
||||
|
||||
rn_android_library(
|
||||
name = "util",
|
||||
srcs = glob(["*.java"]),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
visibility = [
|
||||
|
||||
@@ -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 = "util",
|
||||
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 = "common",
|
||||
srcs = glob(["*.java"]),
|
||||
autoglob = False,
|
||||
feature = ReactNative_CommonInfrastructurePlaceholde,
|
||||
is_androidx = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
provided_deps = [
|
||||
|
||||
Reference in New Issue
Block a user