summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-01-03 23:44:51 +0000
committerThomas Martitz <kugel@rockbox.org>2012-01-03 23:44:51 +0000
commit3fdb48b3fe0986b267a82692d067dc4c563ba9b1 (patch)
tree4beed930934beb5f1329d61080bc4286c8c18d58
parentc1bd9b0361ba92c29ceef68d74093e70a1a3e481 (diff)
downloadrockbox-3fdb48b3fe0986b267a82692d067dc4c563ba9b1.tar.gz
rockbox-3fdb48b3fe0986b267a82692d067dc4c563ba9b1.zip
android: Add preliminary eclipse support for building the native code, disabled by default.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31549 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--android/.externalToolBuilders/make libs.launch12
-rw-r--r--android/.externalToolBuilders/tools_configure.launch10
-rw-r--r--android/.project20
3 files changed, 42 insertions, 0 deletions
diff --git a/android/.externalToolBuilders/make libs.launch b/android/.externalToolBuilders/make libs.launch
new file mode 100644
index 0000000000..8bd4718e28
--- /dev/null
+++ b/android/.externalToolBuilders/make libs.launch
@@ -0,0 +1,12 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType">
3<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${workspace}"/>
4<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="false"/>
5<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
6<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="false"/>
7<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="/usr/bin/make"/>
8<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,auto,"/>
9<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="libs NODEPS=''"/>
10<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
11<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/Rockbox}"/>
12</launchConfiguration>
diff --git a/android/.externalToolBuilders/tools_configure.launch b/android/.externalToolBuilders/tools_configure.launch
new file mode 100644
index 0000000000..7e2e1ab8da
--- /dev/null
+++ b/android/.externalToolBuilders/tools_configure.launch
@@ -0,0 +1,10 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType">
3<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
4<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="false"/>
5<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${project_loc}/../tools/configure"/>
6<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,"/>
7<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="--target=201 --type=ad --lcdwidth=320 --lcdheight=480"/>
8<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
9<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
10</launchConfiguration>
diff --git a/android/.project b/android/.project
index 7e8d136317..e7c1cddcf2 100644
--- a/android/.project
+++ b/android/.project
@@ -6,6 +6,26 @@
6 </projects> 6 </projects>
7 <buildSpec> 7 <buildSpec>
8 <buildCommand> 8 <buildCommand>
9 <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
10 <triggers>full,</triggers>
11 <arguments>
12 <dictionary>
13 <key>LaunchConfigHandle</key>
14 <value>&lt;project&gt;/.externalToolBuilders/tools_configure.launch</value>
15 </dictionary>
16 </arguments>
17 </buildCommand>
18 <buildCommand>
19 <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
20 <triggers>auto,full,incremental,</triggers>
21 <arguments>
22 <dictionary>
23 <key>LaunchConfigHandle</key>
24 <value>&lt;project&gt;/.externalToolBuilders/make libs.launch</value>
25 </dictionary>
26 </arguments>
27 </buildCommand>
28 <buildCommand>
9 <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> 29 <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
10 <arguments> 30 <arguments>
11 </arguments> 31 </arguments>