blob: 92ace035cffddb11fc8adde6cc50536a5d05ea53 [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",
Andreas Gampe370f0412018-10-02 12:11:11 -070017 defaults: ["art_defaults"],
Nicolas Geoffray51cba192018-03-19 11:11:18 +000018 host_supported: true,
Nicolas Geoffraydd96ed32018-03-21 11:00:14 +000019 srcs: [
Nicolas Geoffray2ebff052018-04-04 22:32:03 +010020 "flow_analysis.cc",
Nicolas Geoffray534a0a12018-03-24 20:02:25 +000021 "hidden_api.cc",
Nicolas Geoffray11ed0272018-03-28 18:18:48 +010022 "hidden_api_finder.cc",
Nicolas Geoffray2ebff052018-04-04 22:32:03 +010023 "precise_hidden_api_finder.cc",
Nicolas Geoffraydd96ed32018-03-21 11:00:14 +000024 "resolver.cc",
25 "veridex.cc",
26 ],
Nicolas Geoffray51cba192018-03-19 11:11:18 +000027 cflags: ["-Wall", "-Werror"],
Nicolas Geoffray8fb67842018-05-23 11:22:30 +010028 static_libs: [
David Sehr1f010162018-05-15 08:59:32 -070029 "libdexfile",
30 "libartbase",
31 "libbase",
Nicolas Geoffray8fb67842018-05-23 11:22:30 +010032 "liblog",
33 "libutils",
34 "libz",
35 "libziparchive",
David Sehr1f010162018-05-15 08:59:32 -070036 ],
Nicolas Geoffray8fb67842018-05-23 11:22:30 +010037 stl: "libc++_static",
Nicolas Geoffray51cba192018-03-19 11:11:18 +000038 header_libs: [
39 "art_libartbase_headers",
40 ],
41}