41bc4ee5d2340a37419dffb63043805227f01038
[sdk] / samples / android / helloAndroid.epj
1 {
2    "Version" : 0.2,
3    "ModuleName" : "Hello",
4    "Options" : {
5       "Warnings" : "All",
6       "TargetType" : "SharedLibrary",
7       "TargetFileName" : "Hello",
8       "Libraries" : [
9          "ecere",
10          "log",
11          "android",
12          "EGL",
13          "GLESv1_CM"
14       ],
15       "PostbuildCommands" : [
16          "$(call mkdirq,$(OBJ)apk/lib/armeabi)",
17          "$(call mkdirq,$(OBJ)apk/lib/x86)",
18          "$(call cpv,../../ecere/obj/android.linux.$(COMPILER)/libecere.so,$(OBJ)apk/lib/armeabi)",
19          "$(call cpv,$(TARGET),$(OBJ)apk/lib/armeabi)",
20          "aapt package -v -f -m -M android/AndroidManifest.xml -F $(OBJ)$(MODULE)-unsigned.apk -I C:/android-sdk/platforms/android-20/android.jar -S android/res $(OBJ)apk",
21          "jarsigner -storepass android -sigalg MD5withRSA -digestalg SHA1 $(OBJ)$(MODULE)-unsigned.apk -keystore C:/Users/Jerome/debug.keystore androiddebugkey -signedjar $(OBJ)$(MODULE).apk",
22          "adb uninstall com.ecere.Hello",
23          "adb install $(OBJ)$(MODULE).apk",
24          "adb shell am start -a android.intent.action.MAIN -n com.ecere.Hello/android.app.NativeActivity"
25       ]
26    },
27    "Configurations" : [
28       {
29          "Name" : "Debug",
30          "Options" : {
31             "Debug" : true,
32             "Optimization" : "None",
33             "PreprocessorDefinitions" : [
34                "_DEBUG"
35             ],
36             "Console" : true
37          }
38       },
39       {
40          "Name" : "Release",
41          "Options" : {
42             "Debug" : false,
43             "Optimization" : "Speed"
44          }
45       }
46    ],
47    "Files" : [
48       {
49          "Folder" : "android",
50          "Files" : [
51             {
52                "Folder" : "res",
53                "Files" : [
54                   {
55                      "Folder" : "values",
56                      "Files" : [
57                         "strings.xml"
58                      ]
59                   }
60                ]
61             },
62             "AndroidManifest.xml"
63          ]
64       },
65       "helloAndroid.ec",
66       "note.txt"
67    ],
68    "ResourcesPath" : "",
69    "Resources" : [
70       "res/ecere sdk.png"
71    ]
72 }