OSDN Git Service

Bump version to 1.3.0 and update changelog.
[android-x86/external-exfat.git] / Android.bp
1 /*
2  * Free exFAT implementation.
3  * Copyright (C) 2017  liminghao, LongPingWEI
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19
20 cc_defaults {
21     name: "exfat_defaults",
22
23     cflags: [
24         "-std=gnu99",
25         "-Wno-error",
26         "-D_FILE_OFFSET_BITS=64",
27         "-DPACKAGE=\"exfat\"",
28         "-DVERSION=\"1.3.0\"",
29     ],
30     tags: ["optional"],
31     shared_libs: ["liblog"],
32 }
33
34 cc_library_static {
35     name: "libexfat",
36
37     srcs: ["libexfat/*.c"],
38     defaults: ["exfat_defaults"],
39     local_include_dirs: ["libexfat"],
40     export_include_dirs: ["libexfat"],
41 }
42
43
44 cc_binary {
45     name: "mkfs.exfat",
46
47     srcs: ["mkfs/*.c"],
48     defaults: ["exfat_defaults"],
49     local_include_dirs: ["mkfs"],
50     static_libs: ["libexfat"],
51 }
52
53 cc_binary {
54     name: "fsck.exfat",
55
56     srcs: ["fsck/main.c"],
57     defaults: ["exfat_defaults"],
58     local_include_dirs: ["fsck"],
59     static_libs: ["libexfat"],
60 }
61
62 cc_binary {
63     name: "dumpexfat",
64
65     srcs: ["dump/main.c"],
66     defaults: ["exfat_defaults"],
67     local_include_dirs: ["dump"],
68     static_libs: ["libexfat"],
69 }
70
71 cc_binary {
72     name: "exfatlabel",
73
74     srcs: ["label/main.c"],
75     defaults: ["exfat_defaults"],
76     local_include_dirs: ["label"],
77     static_libs: ["libexfat"],
78 }