From: Alexis Laferrière Date: Mon, 16 Feb 2015 19:23:22 +0000 (-0500) Subject: lib/android: move all android annotations to the `aware` submodule X-Git-Tag: v0.7.2~13^2~1 X-Git-Url: http://nitlanguage.org lib/android: move all android annotations to the `aware` submodule Signed-off-by: Alexis Laferrière --- diff --git a/lib/android/aware.nit b/lib/android/aware.nit index 92a3a80..6740fe2 100644 --- a/lib/android/aware.nit +++ b/lib/android/aware.nit @@ -16,5 +16,15 @@ # 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 diff --git a/lib/android/platform.nit b/lib/android/platform.nit index 7c15af5..2f44028 100644 --- a/lib/android/platform.nit +++ b/lib/android/platform.nit @@ -14,16 +14,8 @@ # 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