blob: 265ee666539fb5c7ce1c9209b66843547132ce2f [file] [log] [blame]
David Anderson41241232018-06-13 16:50:11 -07001//
2// Copyright (C) 2018 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
17cc_defaults {
18 name: "lp_defaults",
19 cflags: [
20 "-Werror",
21 "-Wextra",
22 ],
23 target: {
24 linux_bionic: {
25 enabled: true,
26 },
27 },
28}
29
30cc_binary {
31 name: "lpdump",
32 defaults: ["lp_defaults"],
33 host_supported: true,
34 static_libs: [
35 "libbase",
36 "libcrypto",
37 "libcrypto_utils",
38 "liblog",
39 "liblp",
40 ],
41 srcs: [
42 "lpdump.cc",
43 ],
44}
45
46cc_binary {
47 name: "lpmake",
48 defaults: ["lp_defaults"],
49 host_supported: true,
50 static_libs: [
51 "libbase",
52 "libcrypto",
53 "libcrypto_utils",
54 "liblog",
55 "liblp",
56 ],
57 srcs: [
58 "lpmake.cc",
59 ],
60}
61
62cc_binary {
63 name: "lpflash",
64 defaults: ["lp_defaults"],
65 host_supported: true,
66 static_libs: [
67 "libbase",
68 "libcrypto",
69 "libcrypto_utils",
70 "liblog",
71 "liblp",
72 ],
73 srcs: [
74 "lpflash.cc",
75 ],
76}