# Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.

include_defs("//COMPONENTS_DEFS")

litho_android_library(
    name = "components",
    srcs = glob([
        "*.java",
        "animation/*.java",
        "dataflow/**/*.java",
        "displaylist/*.java",
        "reference/*.java",
    ]),
    exported_deps = [
        COMPONENTS_ANNOTATIONS_TARGET,
        COMPONENTS_CONFIG_TARGET,
        COMPONENTS_PROGUARDANNOTATIONS_TARGET,
        make_dep_path("litho-core/src/main/java/com/facebook/litho/internal:internal"),
    ],
    provided_deps = [
        COMPONENTS_ANDROIDSUPPORT_TARGET,
        COMPONENTS_DISPLAYLISTSTUBS_TARGET,
        COMPONENTS_YOGA_TARGET,
        COMPONENTS_JSR_TARGET,
    ],
    tests = [
        COMPONENTS_TEST_TARGET,
    ],
    visibility = COMPONENTS_VISIBILITY,
    deps = [
        COMPONENTS_INFERANNOTATIONS_TARGET,
        COMPONENTS_RES_TARGET,
        COMPONENTS_VIEWCOMPAT_TARGET,
    ],
)
