blob: 1c50d18ed32b9cd9bfda23ef5b71cd1e3510f340 [file] [log] [blame]
Dan Willemsend3eac262017-09-08 22:47:47 -07001//
2// Copyright 2010 The Android Open Source Project
3//
4// Opaque Binary Blob (OBB) Tool
5//
6
Bob Badoure539dba2021-02-12 17:07:05 -08007package {
8 // See: http://go/android-license-faq
9 // A large-scale-change added 'default_applicable_licenses' to import
10 // all of the 'license_kinds' from "frameworks_base_license"
11 // to get the below license kinds:
12 // SPDX-license-identifier-Apache-2.0
13 default_applicable_licenses: ["frameworks_base_license"],
14}
15
Dan Willemsend3eac262017-09-08 22:47:47 -070016cc_binary_host {
17 name: "obbtool",
18
19 srcs: ["Main.cpp"],
20
21 cflags: [
22 "-Wall",
23 "-Werror",
24 "-Wno-mismatched-tags",
25 ],
26
27 static_libs: [
28 "libandroidfw",
29 "libutils",
30 "libcutils",
31 "liblog",
32 ],
33
34 // This tool is prebuilt if we're doing an app-only build.
35 product_variables: {
36 unbundled_build: {
37 enabled: false,
38 },
39 },
40}
41
42//####################################################
43cc_binary_host {
44 name: "pbkdf2gen",
45
46 cflags: [
47 "-Wall",
48 "-Werror",
49 "-Wno-mismatched-tags",
50 ],
51 srcs: ["pbkdf2gen.cpp"],
52 static_libs: ["libcrypto"],
53
54 // This tool is prebuilt if we're doing an app-only build.
55 product_variables: {
56 unbundled_build: {
57 enabled: false,
58 },
59 },
60}