From e9d4c4afc5c2d2925f84f6fa1763c4d952fdec4f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Fri, 2 May 2014 06:39:44 -0400 Subject: [PATCH 1/1] lib/android: move platform declaration to a submodule MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- lib/android/android.nit | 7 ++++--- lib/android/platform.nit | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 lib/android/platform.nit diff --git a/lib/android/android.nit b/lib/android/android.nit index 144747e..add5bd7 100644 --- a/lib/android/android.nit +++ b/lib/android/android.nit @@ -1,5 +1,7 @@ # This file is part of NIT ( http://www.nitlanguage.org ). # +# Copyright 2014 Alexis Laferrière +# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -19,7 +21,6 @@ # The tools `android`, `ndk-build` and `ant` must be in your PATH. # # Will, in the near future, provide services specific to Android. -module android is platform +module android -import java -import app +import platform diff --git a/lib/android/platform.nit b/lib/android/platform.nit new file mode 100644 index 0000000..9b8b189 --- /dev/null +++ b/lib/android/platform.nit @@ -0,0 +1,20 @@ +# This file is part of NIT ( http://www.nitlanguage.org ). +# +# Copyright 2014 Alexis Laferrière +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +module platform is platform("android") + +import java +import app -- 1.7.9.5