• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2008 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17java_library_host {
18    name: "layoutlib",
19
20    srcs: ["src/**/*.java"],
21    java_resource_dirs: ["resources"],
22
23    libs: [
24        "kxml2-2.3.0",
25        "layoutlib_api-prebuilt",
26        "tools-common-prebuilt",
27        "guava",
28    ],
29
30    static_libs: [
31        "temp_layoutlib",
32        "ninepatch-prebuilt",
33        "layoutlib-common",
34        "layoutlib-validator",
35    ],
36
37    dist: {
38        targets: ["layoutlib"],
39    },
40}
41
42java_library_host {
43    name: "layoutlib-no-framework",
44
45    srcs: ["src/**/*.java"],
46    java_resource_dirs: ["resources"],
47
48    libs: [
49        "kxml2-2.3.0",
50        "temp_layoutlib",
51        "guava",
52    ],
53
54    static_libs: [
55        "layoutlib_create",
56        "layoutlib_api-prebuilt",
57        "tools-common-prebuilt",
58        "ninepatch-prebuilt",
59        "layoutlib-common",
60        "layoutlib-validator",
61    ],
62
63    dist: {
64        targets: ["layoutlib"],
65    },
66}
67