/usr/share/ecere/samples/android/helloAndroid.epj is in ecere-samples 0.44.15-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | {
"Version" : 0.2,
"ModuleName" : "hello",
"Options" : {
"Warnings" : "All",
"TargetType" : "SharedLibrary",
"TargetFileName" : "hello",
"Libraries" : [
"ecere",
"log",
"android",
"EGL",
"GLESv1_CM"
],
"PostbuildCommands" : [
"$(call mkdir,$(OBJ)classes)",
"$(call mkdir,$(OBJ)apk/lib/arm64-v8a)",
"javac -verbose -d $(OBJ)/classes -classpath C:/android-sdk/platforms/android-22/android.jar;$(OBJ) -sourcepath . $(MODULE).java",
"dx --dex --verbose --output=$(OBJ)apk/classes.dex $(OBJ)classes",
"$(call cp,../../ecere/obj/android.linux.$(COMPILER)/libecere.so,$(OBJ)apk/lib/arm64-v8a)",
"$(call cp,$(TARGET),$(OBJ)apk/lib/arm64-v8a)",
"aapt package -v -f -m -M android/AndroidManifest.xml -F $(OBJ)$(MODULE)-unsigned.apk -I C:/android-sdk/platforms/android-22/android.jar -S android/res $(OBJ)apk",
"jarsigner -sigalg MD5withRSA -digestalg SHA1 -keystore C:/android-sdk/debug.keystore -storepass android $(OBJ)$(MODULE)-unsigned.apk androiddebugkey -signedjar $(OBJ)$(MODULE).apk",
"adb uninstall com.ecere.$(MODULE)",
"adb install $(OBJ)$(MODULE).apk",
"adb shell am start -a android.intent.action.MAIN -n com.ecere.$(MODULE)/.hello"
]
},
"Configurations" : [
{
"Name" : "Debug",
"Options" : {
"Debug" : true,
"Optimization" : "None",
"PreprocessorDefinitions" : [
"_DEBUG"
],
"Console" : true
}
},
{
"Name" : "Release",
"Options" : {
"Debug" : false,
"Optimization" : "Speed"
}
}
],
"Files" : [
{
"Folder" : "android",
"Files" : [
{
"Folder" : "res",
"Files" : [
{
"Folder" : "values",
"Files" : [
"strings.xml"
]
}
]
},
"AndroidManifest.xml"
]
},
"helloAndroid.ec",
"note.txt",
"hello.java"
],
"ResourcesPath" : "",
"Resources" : [
"res/ecere sdk.png"
]
}
|