Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1163c372 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge changes from topic "vkjson-relocation" into pi-dev

* changes:
  Let vkjson use jsoncpp lib
  Move vkjson into framework/native/vulkan
parents c650f621 ef64b2a5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -55,4 +55,5 @@ subdirs = [
    "nulldrv",
    "libvulkan",
    "tools",
    "vkjson",
]
+1 −0
Original line number Diff line number Diff line
BasedOnStyle: Chromium
+52 −0
Original line number Diff line number Diff line
cc_library_static {
    name: "libvkjson",
    srcs: [
        "vkjson.cc",
        "vkjson_instance.cc",
    ],
    cflags: [
        "-Wall",
        "-Werror",
    ],
    cppflags: [
        "-std=c++11",
        "-Wno-sign-compare",
    ],
    export_include_dirs: [
        ".",
    ],
    whole_static_libs: [
        "libjsoncpp",
    ],
    header_libs: [
        "vulkan_headers",
    ],
}

cc_library_static {
    name: "libvkjson_ndk",
    clang: true,
    srcs: [
        "vkjson.cc",
        "vkjson_instance.cc",
    ],
    cflags: [
        "-Wall",
        "-Werror",
    ],
    cppflags: [
        "-std=c++11",
        "-Wno-sign-compare",
    ],
    export_include_dirs: [
        ".",
    ],
    whole_static_libs: [
        "libjsoncpp_ndk",
    ],
    header_libs: [
        "vulkan_headers_ndk",
    ],
    sdk_version: "24",
    stl: "libc++_static",
}
Loading