Skip to content

Commit

Permalink
Reviewed By: edelron
Browse files Browse the repository at this point in the history
Differential Revision: D58036214

fbshipit-source-id: 9b3811ef10bd4a7775c56859ce2e2a0e8febfa6f
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed Jun 1, 2024
1 parent 7880661 commit 051eb29
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ load(
"make_dep_path",
)

oncall("playgroundapps")

fb_java_library(
name = "specmodels",
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
tests = [
make_dep_path("litho-it/src/test/java/com/facebook/litho/specmodels:specmodels"),
],
Expand All @@ -46,7 +47,6 @@ fb_java_library(
),
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
provided_deps = [
LITHO_JAVAPOET_TARGET,
LITHO_JSR_TARGET,
Expand Down Expand Up @@ -79,7 +79,6 @@ fb_java_library(
),
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
provided_deps = [
LITHO_ANNOTATIONS_TARGET,
LITHO_JAVAPOET_TARGET,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ load(
"make_dep_path",
)

oncall("playgroundapps")

fb_java_library(
name = "testing",
srcs = glob(["*.java"]),
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
source = "8",
target = "8",
tests = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ load(
"make_dep_path",
)

oncall("playgroundapps")

fb_java_library(
name = "internal",
srcs = glob(["*.java"]),
feature = FBApp_UIFrameworks_Litho_Litho,
java_version = "8",
labels = [],
oncall = "playgroundapps",
tests = [
make_dep_path("litho-it/src/test/java/com/facebook/litho/specmodels:specmodels"),
],
Expand All @@ -37,7 +38,6 @@ fb_java_library(
srcs = glob(["*.java"]),
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
provided_deps = [
LITHO_JAVAPOET_TARGET,
LITHO_JSR_TARGET,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ load(
"make_dep_path",
)

oncall("playgroundapps")

fb_java_library(
name = "testing",
srcs = glob(["*.java"]),
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
source = "8",
target = "8",
tests = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ load(
"make_dep_path",
)

oncall("playgroundapps")

fb_native.java_annotation_processor(
name = "processor",
processor_class = "com.facebook.litho.specmodels.processor.ComponentsProcessor",
Expand Down Expand Up @@ -43,7 +45,6 @@ fb_java_library(
name = "processor-lib",
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
tests = [
make_dep_path("litho-it/src/test/java/com/facebook/litho/specmodels/processor:processor"),
],
Expand All @@ -70,7 +71,6 @@ fb_java_library(
],
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
provided_deps = [
LITHO_JAVAPOET_TARGET,
LITHO_JSR_TARGET,
Expand Down Expand Up @@ -100,7 +100,6 @@ fb_java_library(
),
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
provided_deps = [
LITHO_JAVAPOET_TARGET,
LITHO_JSR_TARGET,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ load(
"make_dep_path",
)

oncall("playgroundapps")

fb_java_library(
name = "testing",
srcs = glob(["*.java"]),
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
provided_deps = [
LITHO_JAVAPOET_TARGET,
LITHO_JSR_TARGET,
Expand Down
2 changes: 1 addition & 1 deletion litho-rendercore-primitive-components/canvas/BUCK
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
oncall("litho_components_for_android")
load("@fbsource//xplat/pfh/FBApp_UIFrameworks_Litho:DEFS.bzl", "FBApp_UIFrameworks_Litho")
load(
"//tools/build_defs/oss:litho_defs.bzl",
Expand All @@ -15,7 +16,6 @@ fb_android_library(
autoglob = False,
feature = FBApp_UIFrameworks_Litho,
labels = [],
oncall = "litho_components_for_android",
provided_deps = [
LITHO_ANDROIDSUPPORT_ANNOTATION_TARGET,
],
Expand Down
2 changes: 1 addition & 1 deletion litho-rendercore-primitive-components/utils/BUCK
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
oncall("litho_components_for_android")
load("@fbsource//xplat/pfh/FBApp_UIFrameworks_Litho:DEFS.bzl", "FBApp_UIFrameworks_Litho")
load(
"//tools/build_defs/oss:litho_defs.bzl",
Expand All @@ -14,7 +15,6 @@ fb_android_library(
autoglob = False,
feature = FBApp_UIFrameworks_Litho,
labels = [],
oncall = "litho_components_for_android",
provided_deps = [
LITHO_PROGUARD_ANNOTATIONS_TARGET,
LITHO_ANDROIDSUPPORT_ANNOTATION_TARGET,
Expand Down
2 changes: 1 addition & 1 deletion litho-rendercore-primitives/BUCK
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
oncall("litho_components_for_android")
load("@fbsource//xplat/pfh/FBApp_UIFrameworks_Litho:DEFS.bzl", "FBApp_UIFrameworks_Litho")
load(
"//tools/build_defs/oss:litho_defs.bzl",
Expand All @@ -14,7 +15,6 @@ fb_android_library(
autoglob = False,
feature = FBApp_UIFrameworks_Litho,
labels = [],
oncall = "litho_components_for_android",
required_for_source_only_abi = True,
visibility = [
"PUBLIC",
Expand Down
3 changes: 2 additions & 1 deletion litho-rendercore-transitions/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ load(
"fb_android_library",
)

oncall("litho_components_for_android")

fb_android_library(
name = "rendercore-transitions-stub",
srcs = glob(["src/main/java/**/*.java"]),
autoglob = False,
feature = FBApp_UIFrameworks_Litho,
labels = [],
language = "JAVA",
oncall = "litho_components_for_android",
provided_deps = [
LITHO_ANDROIDSUPPORT_TARGET,
LITHO_JSR_TARGET,
Expand Down
3 changes: 2 additions & 1 deletion litho-rendercore-visibility/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ load(
"fb_android_library",
)

oncall("litho_components_for_android")

fb_android_library(
name = "rendercore-visibility-stub",
srcs = glob(["src/main/java/**/*.java"]),
autoglob = False,
feature = FBApp_UIFrameworks_Litho,
labels = [],
language = "JAVA",
oncall = "litho_components_for_android",
provided_deps = [
LITHO_ANDROIDSUPPORT_TARGET,
LITHO_JSR_TARGET,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
load("@fbsource//xplat/pfh/FBApp_UIFrameworks_Litho_Litho:DEFS.bzl", "FBApp_UIFrameworks_Litho_Litho")
load("//tools/build_defs/oss:litho_defs.bzl", "fb_java_library")

oncall("playgroundapps")

fb_java_library(
name = "annotations",
srcs = glob(["*.java"]),
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
required_for_source_only_abi = True,
visibility = [
"PUBLIC",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ load(
"make_dep_path",
)

oncall("playgroundapps")

fb_java_library(
name = "model",
srcs = glob([
Expand All @@ -23,7 +25,6 @@ fb_java_library(
]),
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
source = "8",
target = "8",
visibility = [
Expand All @@ -49,7 +50,6 @@ fb_java_library(
]),
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
provided_deps = [
LITHO_JAVAPOET_TARGET,
LITHO_JSR_TARGET,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ load(
"make_dep_path",
)

oncall("playgroundapps")

fb_native.java_annotation_processor(
name = "processor",
processor_class = "com.facebook.litho.sections.specmodels.processor.SectionsComponentProcessor",
Expand All @@ -37,7 +39,6 @@ fb_java_library(
]),
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
source = "8",
target = "8",
visibility = ["PUBLIC"],
Expand All @@ -64,7 +65,6 @@ fb_java_library(
]),
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
provided_deps = [
LITHO_JAVAPOET_TARGET,
LITHO_JSR_TARGET,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ load(
"fb_core_android_library",
)

oncall("playgroundapps")

fb_core_android_library(
name = "inlinelayoutspec",
srcs = glob(["*.java"]),
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
visibility = LITHO_TESTING_UTIL_VISIBILITY,
deps = [
LITHO_JAVA_TARGET,
Expand Down
3 changes: 2 additions & 1 deletion litho-widget/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
load("@fbsource//xplat/pfh/FBApp_UIFrameworks_Litho_Litho:DEFS.bzl", "FBApp_UIFrameworks_Litho_Litho")
load("//tools/build_defs/oss:litho_defs.bzl", "fb_android_resource")

oncall("playgroundapps")

fb_android_resource(
name = "res",
feature = FBApp_UIFrameworks_Litho_Litho,
labels = [],
oncall = "playgroundapps",
package = "com.facebook.litho.widget",
res = "src/main/res",
visibility = [
Expand Down
2 changes: 2 additions & 0 deletions sample/src/test/java/com/facebook/samples/litho/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "litho",
srcs = glob([
Expand Down

0 comments on commit 051eb29

Please sign in to comment.