(Deferred Shading) Fix some SVACE errors
[platform/core/uifw/dali-demo.git] / README.md
index 3de790b..d154302 100644 (file)
--- a/README.md
+++ b/README.md
          * [SMACK enabled Targets](#smack-enabled-targets)
          * [DEBUG Builds](#debug-builds-1)
    * [Creating an example](#creating-an-example)
-   * [Installing Emscripten Examples](#installing-emscripten-examples)
 
 # Build Instructions
 
 ## 1. Building for Ubuntu desktop
 
-### Minimum Requirements
+### Requirements
 
- - Ubuntu 14.04 or later
+ - Ubuntu 16.04 or later
  - Environment created using dali_env script in dali-core repository
+ - GCC version 6
+
+DALi requires a compiler supporting C++11 features.
+Ubuntu 16.04 is the first version to offer this by default (GCC v5.4.0).
+
+GCC version 6 is recommended since it has fixes for issues in version 5
+e.g. it avoids spurious 'defined but not used' warnings in header files.
 
 ### Building the Repository
 
@@ -66,14 +72,33 @@ Before running make install as normal:
  - Modify "com.samsung.dali-demo.xml" to include your example so that it can be launched on target.
  - No changes are required to the make system as long as the above is followed, your example will be automatically built & installed.
 
-# Installing Emscripten Examples
+## 3. Building for Android
+
+### Requirements
+
+ - Ubuntu 16.04 or later
+ - GCC version 6
+
+### Building the Repository
+
+To build the repository enter the 'build/android' folder:
+
+         $ cd dali-demo/build/android
+
+Then run the following command:
+
+         $ ./build.sh
+
+For debug build:
+
+         $ DEBUG=1 ./build.sh
+
+To clean the build:
 
-Some Emscripten Javascript examples are included in dali-demo.
+         $ ./build.sh clean
 
-They do not require building, to install them run the provided install script.
-Note: Your dali-env must be setup as it will install to your dali-env/opt/share/emscripten directory.
+To install apks:
 
-         $ cd ./emscripten-examples
-         $ ./install.sh
+         $ adb install -r ./app/build/outputs/apk/debug/dali-demo-debug.apk
+         $ adb install -r ./app/build/outputs/apk/release/dali-demo-release.apk
 
-Run the examples by either opening them in a browser, or, running the browser from the command line with an example as a parameter.