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