0

How can i define LOCAL_C_INCLUDES inside ndk{} block of my module gradle??

This ndk block of my module gradle file:

ndk {
            platformVersion = 21;
            moduleName "main"
            toolchain = "clang"
            stl = 'gnustl_static'         
            cppFlags.addAll(['-std=c++11', '-Wall', '-D__STDC_INT64__'])
            ldLibs.addAll(['android', 'log'])     
}
Michael
  • 57,169
  • 9
  • 80
  • 125
Arpan Sarkar
  • 2,301
  • 2
  • 13
  • 24

1 Answers1

0

you can use CFlags and cppFlags for that:

CFLags.add '-Ipath/to/include'

and so on.

Alex Cohn
  • 56,089
  • 9
  • 113
  • 307