Skip to content

Commit 6d556df

Browse files
committed
chore(android): refresh native vscode paths
Updates the Android C/C++ configuration to use monorepo NativeScript paths and an environment-provided NDK instead of stale pre-refactor local paths.
1 parent 1dae9f7 commit 6d556df

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

platforms/android/.vscode/c_cpp_properties.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,23 @@
44
"name": "Android",
55
"includePath": [
66
"${workspaceFolder}/**",
7-
"/Users/ammarahmed/Library/Android/sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/darwin-x86_64/**",
8-
"${workspaceFolder}/test-app/runtime/src/main/cpp/jsc/include"
7+
"${workspaceFolder}/../../NativeScript/**",
8+
"${env:ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/darwin-x86_64/**"
99
],
1010
"defines": [],
11-
"compilerPath": "/Users/ammarahmed/Library/Android/sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang-17",
11+
"compilerPath": "${env:ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++",
1212
"cStandard": "c17",
1313
"cppStandard": "c++17",
1414
"intelliSenseMode": "clang-x86",
1515
"browse": {
1616
"path": [
17-
"/Users/ammarahmed/Library/Android/sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/darwin-x86_64",
18-
"${workspaceFolder}/test-app/runtime/src/main/cpp/jsc/include"
17+
"${workspaceFolder}/**",
18+
"${workspaceFolder}/../../NativeScript/**",
19+
"${env:ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/darwin-x86_64"
1920
],
2021
"limitSymbolsToIncludedHeaders": false
2122
}
2223
}
2324
],
2425
"version": 4
25-
}
26+
}

0 commit comments

Comments
 (0)