blob: 2514094a153bdbb04099c2ffd8b8b8d4d531b84c [file] [log] [blame]
Colin Cross7884c192016-12-05 13:26:22 -08001// Copyright 2015 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
15cc_binary {
16 name: "vkinfo",
17
18 clang: true,
19 cflags: [
20 "-fvisibility=hidden",
21 "-fstrict-aliasing",
22
23 "-DLOG_TAG=\"vkinfo\"",
24
25 "-Weverything",
26 "-Werror",
27 "-Wno-padded",
28 "-Wno-undef",
29 "-Wno-switch-enum",
30 ],
31 cppflags: [
Colin Cross7884c192016-12-05 13:26:22 -080032 "-Wno-c++98-compat-pedantic",
33 "-Wno-c99-extensions",
34 "-Wno-old-style-cast",
35 ],
36
37 srcs: ["vkinfo.cpp"],
38
39 shared_libs: [
40 "libvulkan",
41 "liblog",
42 ],
43}