Home | History | Annotate | Download | only in libnativeloader
      1 // Shared library for target
      2 // ========================================================
      3 cc_library {
      4     name: "libnativeloader",
      5     host_supported: true,
      6     srcs: ["native_loader.cpp"],
      7     shared_libs: [
      8         "libnativehelper",
      9         "liblog",
     10         "libcutils",
     11         "libnativebridge",
     12         "libbase",
     13     ],
     14     target: {
     15         android: {
     16             shared_libs: ["libdl"],
     17         },
     18         host: {
     19             host_ldlibs: ["-ldl"],
     20         },
     21     },
     22     clang: true,
     23     cflags: [
     24         "-Werror",
     25         "-Wall",
     26     ],
     27     cppflags: [
     28         "-fvisibility=hidden",
     29     ],
     30     export_include_dirs: ["include"],
     31     local_include_dirs: ["include"],
     32 }
     33