Merge: app.nit: Intro the `app_files` annotation, and use it in calculator
authorJean Privat <jean@pryen.org>
Wed, 3 Aug 2016 16:38:43 +0000 (12:38 -0400)
committerJean Privat <jean@pryen.org>
Wed, 3 Aug 2016 16:38:43 +0000 (12:38 -0400)
commit0ec26dfafd56c73adfd08a2cdb829f55d72c8018
tree4ad18e05739fcf12b43a7b545130ad674c6c999b
parent3a6c485eafaf3e9429b7d1ae69e4c669f76b4cb9
parentb71627cfdb47b95110cfb7c887d7c2d88e849ef3
Merge: app.nit: Intro the `app_files` annotation, and use it in calculator

Intro `app_files`, an annotation to specify where to find more Android and iOS specific files. This effectively associates resources to a specific Nit module. It can be used to have different icons per branding, or to package graphical assets with a module from the lib.

It is used in the calculator to assign a different icon to the scientific calculator variant.

Pull-Request: #2228
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Romain Chanoir <romain.chanoir@viacesi.fr>
src/platform/android.nit