Repository navigation
Expand file tree
/
Copy pathBUCK
More file actions
40 lines (35 loc) · 1.29 KB
/
Copy pathBUCK
File metadata and controls
40 lines (35 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright (c) 2017-present, Facebook, Inc.
#
# This source code is licensed under the Apache 2.0 license found in the
# LICENSE file in the root directory of this source tree.
load("//tools/build_defs/oss:litho_defs.bzl", "LITHO_INFERANNOTATIONS_TARGET", "LITHO_JSR_TARGET", "LITHO_PROGUARDANNOTATIONS_TARGET", "LITHO_SOLOADER_TARGET", "LITHO_VISIBILITY", "litho_android_library")
load("//tools/build_defs/oss:fb_native_wrapper.bzl", "fb_native")
load("//tools/build_defs/oss:litho_defs.bzl", "LITHO_VISIBILITY", "fb_java_library")
litho_android_library(
name = "yoga",
srcs = glob(["src/main/java/**/*.java"]),
visibility = LITHO_VISIBILITY,
deps = [
LITHO_PROGUARDANNOTATIONS_TARGET,
LITHO_SOLOADER_TARGET,
LITHO_INFERANNOTATIONS_TARGET,
LITHO_JSR_TARGET,
":proguard-annotations",
],
)
fb_java_library(
name = "proguard-annotations",
visibility = LITHO_VISIBILITY,
exported_deps = [
":proguard-annotations-prebuilt",
],
)
fb_native.prebuilt_jar(
name = "proguard-annotations-prebuilt",
binary_jar = ":proguard-annotations.jar",
)
fb_native.remote_file(
name = "proguard-annotations.jar",
sha1 = "3d015bb821875657ac8e4b808a223aae339defb2",
url = "mvn:com.facebook.yoga:proguard-annotations:jar:1.14.1",
)