blob: cfc7512a9e870f620c598a237fa1f0dc17d0eb76 [file] [log] [blame]
Will Drewryd4ae5282017-01-03 22:06:26 -06001//
2// Copyright (C) 2017 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_library {
18 name: "libese",
19 host_supported: true,
20
21 srcs: [
22 "ese.c",
23 ],
24
25 local_include_dirs: [
26 "include",
27 ],
28
29 // Ensure that only explicitly exported symbols are visible.
30 cflags: ["-fvisibility=internal"],
31 debug: {
32 cflags: ["-DLOG_NDEBUG=0"],
33 },
34 target: {
35 android: {
36 },
37
38 darwin: {
39 enabled: false,
40 },
41
42 linux: {
43 },
44
45 windows: {
46 enabled: false,
47 },
48 },
49
50 shared_libs: ["liblog"],
51 export_include_dirs: ["include"],
52}
53
54subdirs = ["tests"]