12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- cc_library_shared {
- name: "liblayers_proto",
- export_include_dirs: ["include"],
- srcs: [
- "LayerProtoParser.cpp",
- "layers.proto",
- "layerstrace.proto",
- ],
- shared_libs: [
- "[email protected]",
- "libgui",
- "libui",
- "libprotobuf-cpp-lite",
- "libbase",
- ],
- proto: {
- export_proto_headers: true,
- },
- cppflags: [
- "-Werror",
- "-Wno-unused-parameter",
- "-Wno-format",
- "-Wno-c++98-compat-pedantic",
- "-Wno-float-conversion",
- "-Wno-disabled-macro-expansion",
- "-Wno-float-equal",
- "-Wno-sign-conversion",
- "-Wno-padded",
- "-Wno-old-style-cast",
- "-Wno-undef",
- ],
- }
- java_library_static {
- name: "layersprotosnano",
- host_supported: true,
- proto: {
- type: "nano",
- },
- srcs: ["*.proto"],
- no_framework_libs: true,
- target: {
- android: {
- jarjar_rules: "jarjar-rules.txt",
- },
- host: {
- static_libs: ["libprotobuf-java-nano"],
- },
- },
- }
|