forked from facebook/litho
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUCK
61 lines (56 loc) · 1.33 KB
/
BUCK
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# 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",
exported_deps = [
COMPONENTS_STETHO_JAVA_TARGET,
COMPONENTS_JAVA_TARGET,
COMPONENTS_YOGAPREBUILT_TARGET,
COMPONENTS_ANDROIDSUPPORT_TARGET,
],
visibility = [
"PUBLIC",
],
deps = [
":build_config",
],
)
android_aar(
name = "release-litho-core",
include_build_config_class = True,
manifest_skeleton = "litho-core/src/main/AndroidManifest.xml",
visibility = [
"PUBLIC",
],
deps = [
COMPONENTS_JAVA_TARGET,
COMPONENTS_CONFIG_TARGET,
":build_config",
":res",
],
)
android_resource(
name = "res",
package = "com.facebook.litho",
res = "litho-core/src/main/res",
visibility = [
"PUBLIC",
],
deps = [
],
)
android_build_config(
name = "build_config",
package = "com.facebook.litho",
values = [
"boolean IS_INTERNAL_BUILD = true",
],
visibility = [
COMPONENTS_VISIBILITY,
],
)