blob: 96d4a094b5a71bcc91558aace5926e184d46190a [file] [log] [blame]
Nicolas Geoffray51cba192018-03-19 11:11:18 +00001// Copyright (C) 2018 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
Nicolas Geoffrayd1ef7172018-03-28 09:16:31 +010015cc_binary {
Nicolas Geoffray51cba192018-03-19 11:11:18 +000016 name: "veridex",
17 host_supported: true,
Nicolas Geoffraydd96ed32018-03-21 11:00:14 +000018 srcs: [
Nicolas Geoffray2ebff052018-04-04 22:32:03 +010019 "flow_analysis.cc",
Nicolas Geoffray534a0a12018-03-24 20:02:25 +000020 "hidden_api.cc",
Nicolas Geoffray11ed0272018-03-28 18:18:48 +010021 "hidden_api_finder.cc",
Nicolas Geoffray2ebff052018-04-04 22:32:03 +010022 "precise_hidden_api_finder.cc",
Nicolas Geoffraydd96ed32018-03-21 11:00:14 +000023 "resolver.cc",
24 "veridex.cc",
25 ],
Nicolas Geoffray51cba192018-03-19 11:11:18 +000026 cflags: ["-Wall", "-Werror"],
Nicolas Geoffray8fb67842018-05-23 11:22:30 +010027 static_libs: [
David Sehr1f010162018-05-15 08:59:32 -070028 "libdexfile",
29 "libartbase",
30 "libbase",
Nicolas Geoffray8fb67842018-05-23 11:22:30 +010031 "liblog",
32 "libutils",
33 "libz",
34 "libziparchive",
David Sehr1f010162018-05-15 08:59:32 -070035 ],
Nicolas Geoffray8fb67842018-05-23 11:22:30 +010036 stl: "libc++_static",
Nicolas Geoffray51cba192018-03-19 11:11:18 +000037 header_libs: [
38 "art_libartbase_headers",
39 ],
40}