Home | History | Annotate | Download | only in tools
      1 // 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 
     15 cc_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: [
     32         "-std=c++1y",
     33         "-Wno-c++98-compat-pedantic",
     34         "-Wno-c99-extensions",
     35         "-Wno-old-style-cast",
     36     ],
     37 
     38     srcs: ["vkinfo.cpp"],
     39 
     40     shared_libs: [
     41         "libvulkan",
     42         "liblog",
     43     ],
     44 }
     45