1// 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 15package { 16 // See: http://go/android-license-faq 17 // A large-scale-change added 'default_applicable_licenses' to import 18 // all of the 'license_kinds' from "art_license" 19 // to get the below license kinds: 20 // SPDX-license-identifier-Apache-2.0 21 default_applicable_licenses: ["art_license"], 22} 23 24cc_binary { 25 name: "veridex", 26 defaults: ["art_defaults"], 27 host_supported: true, 28 srcs: [ 29 "flow_analysis.cc", 30 "hidden_api.cc", 31 "hidden_api_finder.cc", 32 "precise_hidden_api_finder.cc", 33 "resolver.cc", 34 "veridex.cc", 35 ], 36 cflags: [ 37 "-Wall", 38 "-Werror", 39 ], 40 static_libs: [ 41 "libdexfile", 42 "libartbase", 43 "libartpalette", 44 "libbase", 45 "liblog", 46 "libz", 47 "libziparchive", 48 ], 49 stl: "libc++_static", 50 header_libs: [ 51 "art_libartbase_headers", 52 ], 53 target: { 54 darwin: { 55 enabled: true, 56 }, 57 }, 58} 59 60// Expose the appcompat.sh script for use by the build. 61sh_binary_host { 62 name: "veridex-appcompat", 63 src: "appcompat.sh", 64 filename_from_src: true, 65} 66