diff options
author | Michael Chan <mchan@android.com> | 2012-11-21 03:15:40 -0800 |
---|---|---|
committer | Michael Chan <mchan@android.com> | 2012-11-21 15:01:45 -0800 |
commit | 14a97b233fd212cd87fcb66b1ce79a560930dcdd (patch) | |
tree | a0e6159b149929232b1cc7897c4481d8baa537df | |
parent | 8e93f66f4617f2f4cb3e2a1919988fdf401b51f4 (diff) | |
download | android_packages_apps_Calendar-14a97b233fd212cd87fcb66b1ce79a560930dcdd.tar.gz android_packages_apps_Calendar-14a97b233fd212cd87fcb66b1ce79a560930dcdd.tar.bz2 android_packages_apps_Calendar-14a97b233fd212cd87fcb66b1ce79a560930dcdd.zip |
Added eclipse project files
You will also need to create frameworks/ex/chips as another eclipse project
then add that as a library to this project
Change-Id: Ia0cd534101dade3303fd72efda4a21924c099ae1
-rw-r--r-- | .classpath | 12 | ||||
-rwxr-xr-x | mkprojectfile | 53 | ||||
-rw-r--r-- | project.properties | 16 |
3 files changed, 81 insertions, 0 deletions
diff --git a/.classpath b/.classpath new file mode 100644 index 00000000..bc997ac5 --- /dev/null +++ b/.classpath @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path="src"/> + <classpathentry kind="src" path="gen"/> + <classpathentry kind="src" path="src_ex_common"/> + <classpathentry kind="src" path="src_opt_calendar"/> + <classpathentry kind="src" path="extensions_src"/> + <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> + <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> + <classpathentry kind="lib" path="../../../out/target/common/obj/JAVA_LIBRARIES/android-support-v4_intermediates/classes"/> + <classpathentry kind="output" path="bin/classes"/> +</classpath> diff --git a/mkprojectfile b/mkprojectfile new file mode 100755 index 00000000..0dc8c83f --- /dev/null +++ b/mkprojectfile @@ -0,0 +1,53 @@ +#!/bin/bash +# Creates eclipse .project file + +pushd ../../.. > /dev/null +sed -e "s,SRC_ROOT_DIR,$PWD," <<- EOF > packages/apps/Calendar/.project +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>B-CalendarAndroid</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>com.android.ide.eclipse.adt.ApkBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>com.android.ide.eclipse.adt.AndroidNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> + <linkedResources> + <link> + <name>src_ex_common</name> + <type>2</type> + <location>SRC_ROOT_DIR/frameworks/ex/common/java</location> + </link> + <link> + <name>src_opt_calendar</name> + <type>2</type> + <location>SRC_ROOT_DIR/frameworks/opt/calendar/src</location> + </link> + </linkedResources> +</projectDescription> +EOF +popd > /dev/null + diff --git a/project.properties b/project.properties new file mode 100644 index 00000000..de6a52e3 --- /dev/null +++ b/project.properties @@ -0,0 +1,16 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system edit +# "ant.properties", and override values to adapt the script to your +# project structure. +# +# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): +#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt + +# Project target. +target=android-17 +android.library.reference.1=../../../frameworks/ex/chips +android.library=false |