Skip to content

Commit

Permalink
Update dependencies on /j/c/f/l/sections
Browse files Browse the repository at this point in the history
Summary:
Removed the old buck target and point everything to //libraries/components.

This is part one of many. There are also deps on core-common, widget and more.

Reviewed By: emilsjolander

Differential Revision: D5963392

fbshipit-source-id: 71c4059c3c75545b0c6546a158058288235d4151
  • Loading branch information
passy authored and facebook-github-bot committed Oct 3, 2017
1 parent 12452c7 commit a111c83
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
12 changes: 12 additions & 0 deletions BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ litho_android_library(
],
)

litho_android_library(
name = "sections",
exported_deps = [
":components",
COMPONENTS_SECTIONS_TARGET,
COMPONENTS_SECTIONS_ANNOTATIONS_TARGET,
],
visibility = [
"PUBLIC",
],
)

android_aar(
name = "release-litho-core",
include_build_config_class = True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ include_defs("//COMPONENTS_DEFS")
litho_android_library(
name = "sections",
srcs = glob(["*.java"]),
exported_deps = [
COMPONENTS_SECTIONS_ANNOTATIONS_TARGET,
],
visibility = COMPONENTS_VISIBILITY,
deps = [
COMPONENTS_JAVA_TARGET,
COMPONENTS_YOGA_TARGET,
COMPONENTS_JSR_TARGET,
COMPONENTS_ANDROIDSUPPORT_TARGET,
COMPONENTS_WIDGET_TARGET,
COMPONENTS_SECTIONS_ANNOTATIONS_TARGET,
make_dep_path("litho-sections-core/src/main/java/com/facebook/litho/sections/config:config"),
make_dep_path("litho-sections-core/src/main/java/com/facebook/litho/sections/logger:logger"),
],
Expand Down

0 comments on commit a111c83

Please sign in to comment.