summaryrefslogtreecommitdiff
path: root/tools/obbtool/Android.bp
blob: f87965860ce18a367950ece2470eeb9e43b8de10 (plain)
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
//
// Copyright 2010 The Android Open Source Project
//
// Opaque Binary Blob (OBB) Tool
//

cc_binary_host {
    name: "obbtool",

    srcs: ["Main.cpp"],

    cflags: [
        "-Wall",
        "-Werror",
        "-Wno-mismatched-tags",
    ],

    static_libs: [
        "libandroidfw",
        "libutils",
        "libcutils",
        "liblog",
    ],

    // This tool is prebuilt if we're doing an app-only build.
    product_variables: {
        unbundled_build: {
            enabled: false,
        },
    },
}

//####################################################
cc_binary_host {
    name: "pbkdf2gen",

    cflags: [
        "-Wall",
        "-Werror",
        "-Wno-mismatched-tags",
    ],
    srcs: ["pbkdf2gen.cpp"],
    static_libs: ["libcrypto"],

    // This tool is prebuilt if we're doing an app-only build.
    product_variables: {
        unbundled_build: {
            enabled: false,
        },
    },
}