# See the License for the specific language governing permissions and
# limitations under the License.
-module platform is platform("android")
+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
+end
import java
import app
#
# The features offered by this modules are common to all platforms, but
# may not be available on all devices.
-module app
+module app is
+ new_annotation app_name
+ new_annotation app_version
+end
# App subclasses are cross-platform applications
#
module java is
c_compiler_option("-I $(JAVA_HOME)/include/")
c_linker_option("-L $(JNI_LIB_PATH) -ljvm")
+ new_annotation extra_java_files
end
import jvm
# limitations under the License.
# Offers services to serialize a Nit objects to different persistent formats
-module serialization
+module serialization is
+ new_annotation auto_serializable
+end
# Abstract serialization service to be sub-classed by specialized services.
interface Serializer