From: Alexis Laferrière Date: Fri, 2 May 2014 10:39:44 +0000 (-0400) Subject: lib/android: move platform declaration to a submodule X-Git-Tag: v0.6.6~61^2~1 X-Git-Url: http://nitlanguage.org lib/android: move platform declaration to a submodule Signed-off-by: Alexis Laferrière --- 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