5 Star 6 Fork 27

OpenHarmony/third_party_wayland-ivi-extension

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
mamingshuai 提交于 2021-06-02 00:37 . update OpenHarmony 2.0 Canary
Sections in this file describe:
- How to build
- Example applications
- How to test
How to build on different platforms
====================================
Pre-requisite:
- Weston
- CMake required (version 2.6 or higher)
- Open GLES and EGL for example applications
- Gtest for the test suite
Build up
1. Pull the current codebase form the git repo
E.g. git clone https://github.com/GENIVI/wayland-ivi-extension.git
2. Create a build directory
E.g mkdir build_ivi_extension
3. In <build-dir> Generate build system for your platform using CMake.
E.g. cd <build-dir>
cmake -DCMAKE_TOOLCHAIN_FILE=<your setting *.cmake> ../
4. Start the build and install
E.g. sudo make install
Example applications
====================================
Pre-requisite:
- Modify weston.ini to use ivi-shell.so
Example:
[core]
shell=ivi-shell.so
modules=ivi-controller.so
[ivi-shell]
ivi-input-module=ivi-input-controller.so
- Set Environmental values
Example:
export XDG_RUNTIME_DIR=/var/run/<your user name>/1000
export LD_LIBRARY_PATH=<your installation path>/lib
Start-up Weston:
Example: <your installation path>/bin/weston
Start-up HMI helper:
Example: <your installation path>/bin/layer-add-surfaces 1000 1
EGLWLMockNavigation:
Example: <your installation path>/bin/EGLWLMockNavigation
How to test
====================================
1. Build the testsuite by setting BUILD_ILM_API_TESTS option.
Example: cmake -DBUILD_ILM_API_TESTS
2. After starting up Weston run the testsuite.
Example: <your installation path>/bin/ivi-layermanagement-api-test
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony/third_party_wayland-ivi-extension.git
[email protected]:openharmony/third_party_wayland-ivi-extension.git
openharmony
third_party_wayland-ivi-extension
third_party_wayland-ivi-extension
master

搜索帮助