Creating NaCl-enabled Projects
This topic describes how to create a TV application project with Native Client support enabled, which allows you to develop the TV application and its Native Client modules simultaneously.
Important
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.
With the Tizen Studio, you can create a TV application project linked to 1 or more Native Client (NaCl) projects, so you can develop the TV application and the NaCl modules at the same time. You can create a new TV application project with NaCl enabled, or add NaCl support to an existing TV application project.
Prerequisites
To develop NaCl-enabled TV applications, install the Tizen Studio with the Samsung NaCl SDK.
Creating NaCl-enabled TV Applications
To create a NaCl-enabled TV application project:
-
In the Tizen Studio main menu, select "File > New > Tizen Project".
-
Select "Template" or "Sample", and click "Next".
Figure 1. Select project type
-
Select the profile ("Custom") and version from the drop-down list and click "Next".
The available versions depend on the platform version you have installed and are using to develop the application.
Figure 2. Select profile and version
-
Select the "Web Application" application type, fill the "NaCl (C/C++)" check box, and click "Next".
Figure 3. Select application type
-
Select a template or sample, and click "Next".
The Tizen Project Wizard creates the project based on the selected template or sample.
Figure 4. Select application template
-
Define the project properties and click "Next".
Figure 5. Define project properties
-
Select the NaCl toolchain that you want to use for building NaCl modules, and click "Finish".
If the toolchain you want is not installed, select it from the list and click "Download" to install it.
Figure 6. Select toolchain
Note
You can switch to another NaCl toolchain at any time during application development. For more information, see Managing NaCl Toolchains.
Adding NaCl Support to a Project
To enable NaCl support on an existing TV application project:
-
In the Tizen Studio "Project Explorer" view, right-click the project you want to add NaCl support to.
-
Select "Configure > Enable NaCl support".
-
Select the NaCl toolchain that you want to use for building NaCl modules, and click "OK".
If the toolchain you want is not installed, select it from the list and click "Download" to install it.