This topic describes how to build a Native Client project in the Tizen Studio.
Due to NaCl deprecation by the Chromium project, Tizen TV will continue its support for NaCl only until 2021-year products. Meanwhile, Tizen TV will start focusing on high-performance, cross-browser WebAssembly from 2020-year products.
A Native Client (NaCl) project can be built using the "Debug-glibc", "Debug-pnacl", "Release-glibc" or "Release-pnacl" configurations. Depending on the selected build configuration, binaries are created for either one or several architectures, with or without debug symbols.
Table 1. Build configurations
To build a NaCl project:
Define the NaCl toolchain to use for building the project.
Select a build configuration.
In the "Project Explorer" view, right-click the project, select "Build Configurations > Set Active", and select the configuration you want.
The "Debug-pnacl" configuration is active by default.
In the "Project Explorer" view, right-click the project and select "Build project".
In the "Console" view, you can monitor the build progress and status.
The build result is located in the "CurrentBin" directory inside the main project directory.
The directory is actually a symbolic link to the build directory for the current build configuration ("Debug-glibc", "Debug-pnacl", "Release-glibc", or "Release-pnacl"). On systems where symbolic links are not supported, the "CurrentBin" directory is a copy of the build directory.
Depending on the build configuration, the build process can result in the following files:
The ".pexe" file is not listed in the manifest file, since it is only supported by the Google Chrome™ browser.
To customize a build configuration:
In the "Project Explorer" view, right-click the project and select "Properties > C/C++ Build > Settings".
From the "Configuration" drop-down menu, select the configuration that you want to modify.
Modify the desired settings.
For each tool, you can change the command name and its options.
Change the settings with caution, as they can cause the build system to break.
You can configure the following tools: