blob: b0f642bd5e01bebca73e5551d503bcc715f2b97a [file] [log] [blame]
Colin Cross44bb3ea2016-07-11 16:24:15 -07001// Copyright (C) 2008 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15
16cc_library_static {
17 name: "libbz",
18 host_supported: true,
19 arch: {
20 arm: {
21 // measurements show that the ARM version of ZLib is about x1.17 faster
22 // than the thumb one...
23 instruction_set: "arm",
24 },
25 },
26 cflags: [
27 "-O3",
28 "-DUSE_MMAP",
29 "-Wno-unused-parameter",
30 ],
31 export_include_dirs: ["."],
32 srcs: [
33 "blocksort.c",
34 "bzlib.c",
35 "compress.c",
36 "crctable.c",
37 "decompress.c",
38 "huffman.c",
39 "randtable.c",
40 ],
41 sdk_version: "9",
42 stl: "none",
43}