Home | History | Annotate | Download | only in layerproto
      1 cc_library_shared {
      2     name: "liblayers_proto",
      3     vendor_available: true,
      4     export_include_dirs: ["include"],
      5 
      6     srcs: [
      7         "LayerProtoParser.cpp",
      8         "layers.proto",
      9         "layerstrace.proto",
     10     ],
     11 
     12     shared_libs: [
     13         "android.hardware.graphics.common (a] 1.1",
     14         "libui",
     15         "libprotobuf-cpp-lite",
     16         "libbase",
     17     ],
     18 
     19     proto: {
     20         export_proto_headers: true,
     21     },
     22 
     23     cppflags: [
     24         "-Werror",
     25         "-Wno-unused-parameter",
     26         "-Wno-format",
     27         "-Wno-c++98-compat-pedantic",
     28         "-Wno-float-conversion",
     29         "-Wno-disabled-macro-expansion",
     30         "-Wno-float-equal",
     31         "-Wno-sign-conversion",
     32         "-Wno-padded",
     33         "-Wno-old-style-cast",
     34         "-Wno-undef",
     35     ],
     36 
     37 }
     38 
     39 java_library_static {
     40     name: "layersprotosnano",
     41     host_supported: true,
     42     proto: {
     43         type: "nano",
     44     },
     45     srcs: ["*.proto"],
     46     no_framework_libs: true,
     47     target: {
     48         android: {
     49             jarjar_rules: "jarjar-rules.txt",
     50         },
     51         host: {
     52             static_libs: ["libprotobuf-java-nano"],
     53         },
     54     },
     55 }
     56