pastebin

Paste Search Dynamic
Recent pastes
art/compiler/Android.bp
  1. libart_cc_defaults {
  2.     name: "some_llvm_defaults",
  3.     defaults: [
  4.         // I am not using llvm-defaults as compilation will break on warnings like: -Wc++14-extensions
  5.         // "llvm-defaults",
  6.         "force_build_llvm_components",
  7.     ],
  8.     target: {
  9.         android: {
  10.             srcs: [
  11.                 // my additional .cc files go here..
  12.             ],
  13.         },
  14.     },
  15.     // I think this is the proper way to include the headers
  16.     header_libs: ["llvm-headers"],
  17.     // not sure about the next 2 lines
  18.     // export_shared_lib_headers: ["libLLVM_android"],
  19.     // compile_multilib: "first",
  20.  
  21.     // that's how I should include the library I think, but it gives me the error#1 listed below
  22.     shared_libs: ["libLLVM_android"],
  23.     cflags: [
  24.         // some flags necessary for LLVM
  25.         "-D__STDC_LIMIT_MACROS",
  26.         "-D__STDC_CONSTANT_MACROS",
  27.         "-Wno-unused-parameter",
  28.     ],
  29.     // headers shouldn't be included like this I think, but instead
  30.     // with someting like header_libs that I did above
  31.     include_dirs: [
  32.         "external/llvm/include",
  33.     ],
  34. }
Parsed in 0.004 seconds