lib/android: move all android annotations to the `aware` submodule
authorAlexis Laferrière <alexis.laf@xymus.net>
Mon, 16 Feb 2015 19:23:22 +0000 (14:23 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Tue, 17 Feb 2015 21:14:26 +0000 (16:14 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/android/aware.nit
lib/android/platform.nit

index 92a3a80..6740fe2 100644 (file)
 
 # Android compatibility module
 #
-# Defines the `@android` annotation used to tag `ldflags` annotations.
-module aware is new_annotation(android)
+# Defines all Android related annoations including the `@android` annotations
+# used to tag `ldflags` annotations.
+module aware is
+       new_annotation android
+       new_annotation java_package
+       new_annotation min_api_version
+       new_annotation max_api_version
+       new_annotation target_api_version
+       new_annotation android_manifest
+       new_annotation android_manifest_application
+       new_annotation android_manifest_activity
+end
index 7c15af5..2f44028 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-module platform is
-       platform("android")
-       new_annotation java_package
-       new_annotation min_api_version
-       new_annotation max_api_version
-       new_annotation target_api_version
-       new_annotation android_manifest
-       new_annotation android_manifest_application
-       new_annotation android_manifest_activity
-end
+# Triggers compilation for the android platform
+module platform is platform "android"
 
 import java
 import app