-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ycm_extra_conf.py
30 lines (27 loc) · 1.37 KB
/
.ycm_extra_conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import os
ndkPath = '/Users/nikki/Library/Android/sdk/ndk-bundle'
basePath = os.path.dirname(os.path.realpath(__file__))
def FlagsForFile(filename, **kwargs):
return {
'flags': [
'-std=c++14',
'-DFOLLY_NO_CONFIG=1',
'-DFOLLY_USE_LIBCPP',
'-I' + basePath + '/ReactAndroid/src/main/jni/first-party/jni-hack/real',
'-I' + basePath + '/ReactAndroid/src/main/jni/react/jni',
'-I' + basePath + '/ReactAndroid/../ReactCommon/cxxreact/..',
'-I' + basePath + '/ReactAndroid/build/third-party-ndk/folly',
'-I' + basePath + '/ReactAndroid/build/third-party-ndk/jsc',
'-I' + basePath + '/ReactAndroid/src/main/jni/first-party/fbgloginit',
'-I' + basePath + '/ReactAndroid/../ReactCommon/privatedata/..',
'-I' + basePath + '/ReactAndroid/../ReactCommon/jschelpers/..',
'-I' + basePath + '/ReactAndroid/src/main/jni/first-party/fb/include',
'-I' + basePath + '/ReactAndroid/build/third-party-ndk/glog/..',
'-I' + basePath + '/ReactAndroid/build/third-party-ndk/glog/glog-0.3.3/src/',
'-I' + basePath + '/ReactAndroid/build/third-party-ndk/boost/boost_1_63_0',
'-I' + basePath + '/ReactAndroid/build/third-party-ndk/double-conversion',
'-I' + basePath + '/ReactAndroid/../ReactCommon/yoga',
'-idirafter' + ndkPath + '/platforms/android-21/arch-x86_64/usr/include',
'-Doff64_t=off_t',
],
}