-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: export OHOS_NDK_HOME to env by default #6
Conversation
Could you sign-off your commit? ( Is there a reason |
Signed-off-by: richerfu <[email protected]>
In fact, there is not. When I was doing related adaptation work in the early days, I did not find any documents related to the environment variables output by |
Should |
Rebased and merged in #12 |
I think you are right and how about the following variable definition?
./
├── ets
├── js
├── native
├── previewer
└── toolchains
If you agree, I will gradually replace it with the above definition in the future. @jschwe |
For the long-term I would suggest migrating to For the parent directory of
|
OK, i got it. OHOS_BASE_SDK_DIR: the root directory for SDK and the sub-folders should be api-version and so on. there is another question that for newer DevEco Studio version it will provide more complex struct. ./${OHOS_BASE_SDK_DIR}
└── default
├── hms
│ ├── ets
│ ├── native
│ ├── previewer
│ └── toolchains
├── openharmony
│ ├── ets
│ ├── js
│ ├── native
│ ├── previewer
│ └── toolchains
└── sdk-pkg.json
└── HarmonyNext-Beta.2
├── hms
│ ├── ets
│ ├── native
│ ├── previewer
│ └── toolchains
├── openharmony
│ ├── ets
│ ├── js
│ ├── native
│ ├── previewer
│ └── toolchains
└── sdk-pkg.json So i think we need to define a variable for the parent folder with |
Actually it is different depending on if you use DevEco Studio to compile for OpenHarmony or for HarmonyOS NEXT. This means we have two different environment variable names ( |
This can help us optimize the user experience, ohrs and some community adaptations use
OHOS_NDK_HOME
by default.