diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2015-01-04 16:23:40 +0100 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2015-01-04 16:30:41 +0100 |
commit | a18407f7a0547cd5c2a645e7948bc4925026332f (patch) | |
tree | c18c632a1387cfe98cd82545e388a35c63298c8b /play-services-location | |
parent | d1a6842ba7f8147e2b9590331a504b82ebde944c (diff) | |
download | cgeo-a18407f7a0547cd5c2a645e7948bc4925026332f.zip cgeo-a18407f7a0547cd5c2a645e7948bc4925026332f.tar.gz cgeo-a18407f7a0547cd5c2a645e7948bc4925026332f.tar.bz2 |
fix #4585: split play services
Diffstat (limited to 'play-services-location')
16 files changed, 200 insertions, 0 deletions
diff --git a/play-services-location/.classpath b/play-services-location/.classpath new file mode 100644 index 0000000..f8b9238 --- /dev/null +++ b/play-services-location/.classpath @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path="src"> + <attributes> + <attribute name="ignore_optional_problems" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="src" path="gen"> + <attributes> + <attribute name="ignore_optional_problems" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> + <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> + <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> + <classpathentry kind="output" path="bin/classes"/> +</classpath> diff --git a/play-services-location/.project b/play-services-location/.project new file mode 100644 index 0000000..14e2859 --- /dev/null +++ b/play-services-location/.project @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>play-services-location</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> +</projectDescription> diff --git a/play-services-location/.settings/org.eclipse.jdt.core.prefs b/play-services-location/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..b080d2d --- /dev/null +++ b/play-services-location/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/play-services-location/AndroidManifest.xml b/play-services-location/AndroidManifest.xml new file mode 100644 index 0000000..c3729c9 --- /dev/null +++ b/play-services-location/AndroidManifest.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="com.google.android.gms.location"> + <uses-sdk android:minSdkVersion="9"/> + <application /> +</manifest> diff --git a/play-services-location/build.xml b/play-services-location/build.xml new file mode 100644 index 0000000..157ab53 --- /dev/null +++ b/play-services-location/build.xml @@ -0,0 +1,91 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="play_services_location" default="help"> + + <!-- The local.properties file is created and updated by the 'android' tool. + It contains the path to the SDK. It should *NOT* be checked into + Version Control Systems. --> + <property file="local.properties" /> + + <!-- The ant.properties file can be created by you. It is only edited by the + 'android' tool to add properties to it. + This is the place to change some Ant specific build properties. + Here are some properties you may want to change/update: + + source.dir + The name of the source directory. Default is 'src'. + out.dir + The name of the output directory. Default is 'bin'. + + For other overridable properties, look at the beginning of the rules + files in the SDK, at tools/ant/build.xml + + Properties related to the SDK location or the project target should + be updated using the 'android' tool with the 'update' action. + + This file is an integral part of the build system for your + application and should be checked into Version Control Systems. + + --> + <property file="ant.properties" /> + + <!-- if sdk.dir was not set from one of the property file, then + get it from the ANDROID_HOME env var. + This must be done before we load project.properties since + the proguard config can use sdk.dir --> + <property environment="env" /> + <condition property="sdk.dir" value="${env.ANDROID_HOME}"> + <isset property="env.ANDROID_HOME" /> + </condition> + + <!-- The project.properties file is created and updated by the 'android' + tool, as well as ADT. + + This contains project specific properties such as project target, and library + dependencies. Lower level build properties are stored in ant.properties + (or in .classpath for Eclipse projects). + + This file is an integral part of the build system for your + application and should be checked into Version Control Systems. --> + <loadproperties srcFile="project.properties" /> + + <!-- quick check on sdk.dir --> + <fail + message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable." + unless="sdk.dir" /> + + <!-- + Import per project custom build rules if present at the root of the project. + This is the place to put custom intermediary targets such as: + -pre-build + -pre-compile + -post-compile (This is typically used for code obfuscation. + Compiled code location: ${out.classes.absolute.dir} + If this is not done in place, override ${out.dex.input.absolute.dir}) + -post-package + -post-build + -pre-clean + --> + <import file="custom_rules.xml" optional="true" /> + + <!-- Import the actual build file. + + To customize existing targets, there are two options: + - Customize only one target: + - copy/paste the target into this file, *before* the + <import> task. + - customize it to your needs. + - Customize the whole content of build.xml + - copy/paste the content of the rules files (minus the top node) + into this file, replacing the <import> task. + - customize to your needs. + + *********************** + ****** IMPORTANT ****** + *********************** + In all cases you must update the value of version-tag below to read 'custom' instead of an integer, + in order to avoid having your file be overridden by tools such as "android update project" + --> + <!-- version-tag: 1 --> + <import file="${sdk.dir}/tools/ant/build.xml" /> + +</project> diff --git a/play-services-location/libs/play-services-location.jar b/play-services-location/libs/play-services-location.jar Binary files differnew file mode 100644 index 0000000..b440785 --- /dev/null +++ b/play-services-location/libs/play-services-location.jar diff --git a/play-services-location/proguard.txt b/play-services-location/proguard.txt new file mode 100644 index 0000000..0c9693a --- /dev/null +++ b/play-services-location/proguard.txt @@ -0,0 +1,20 @@ +-keep class * extends java.util.ListResourceBundle { + protected Object[][] getContents(); +} + +# Keep SafeParcelable value, needed for reflection. This is required to support backwards +# compatibility of some classes. +-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable { + public static final *** NULL; +} + +# Keep the names of classes/members we need for client functionality. +-keepnames @com.google.android.gms.common.annotation.KeepName class * +-keepclassmembernames class * { + @com.google.android.gms.common.annotation.KeepName *; +} + +# Needed for Parcelable/SafeParcelable Creators to not get stripped +-keepnames class * implements android.os.Parcelable { + public static final ** CREATOR; +}
\ No newline at end of file diff --git a/play-services-location/project.properties b/play-services-location/project.properties new file mode 100644 index 0000000..ad36a32 --- /dev/null +++ b/play-services-location/project.properties @@ -0,0 +1,15 @@ +# 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.txt + +# Project target. +target=Google Inc.:Google APIs:19 +android.library=true diff --git a/play-services-location/res/drawable-hdpi/powered_by_google_dark.png b/play-services-location/res/drawable-hdpi/powered_by_google_dark.png Binary files differnew file mode 100644 index 0000000..721905c --- /dev/null +++ b/play-services-location/res/drawable-hdpi/powered_by_google_dark.png diff --git a/play-services-location/res/drawable-hdpi/powered_by_google_light.png b/play-services-location/res/drawable-hdpi/powered_by_google_light.png Binary files differnew file mode 100644 index 0000000..53328af --- /dev/null +++ b/play-services-location/res/drawable-hdpi/powered_by_google_light.png diff --git a/play-services-location/res/drawable-mdpi/powered_by_google_dark.png b/play-services-location/res/drawable-mdpi/powered_by_google_dark.png Binary files differnew file mode 100644 index 0000000..a152807 --- /dev/null +++ b/play-services-location/res/drawable-mdpi/powered_by_google_dark.png diff --git a/play-services-location/res/drawable-mdpi/powered_by_google_light.png b/play-services-location/res/drawable-mdpi/powered_by_google_light.png Binary files differnew file mode 100644 index 0000000..015a0ad --- /dev/null +++ b/play-services-location/res/drawable-mdpi/powered_by_google_light.png diff --git a/play-services-location/res/drawable-xhdpi/powered_by_google_dark.png b/play-services-location/res/drawable-xhdpi/powered_by_google_dark.png Binary files differnew file mode 100644 index 0000000..ffd9126 --- /dev/null +++ b/play-services-location/res/drawable-xhdpi/powered_by_google_dark.png diff --git a/play-services-location/res/drawable-xhdpi/powered_by_google_light.png b/play-services-location/res/drawable-xhdpi/powered_by_google_light.png Binary files differnew file mode 100644 index 0000000..d9f0593 --- /dev/null +++ b/play-services-location/res/drawable-xhdpi/powered_by_google_light.png diff --git a/play-services-location/res/drawable-xxhdpi/powered_by_google_dark.png b/play-services-location/res/drawable-xxhdpi/powered_by_google_dark.png Binary files differnew file mode 100644 index 0000000..0165a01 --- /dev/null +++ b/play-services-location/res/drawable-xxhdpi/powered_by_google_dark.png diff --git a/play-services-location/res/drawable-xxhdpi/powered_by_google_light.png b/play-services-location/res/drawable-xxhdpi/powered_by_google_light.png Binary files differnew file mode 100644 index 0000000..aa6b6db --- /dev/null +++ b/play-services-location/res/drawable-xxhdpi/powered_by_google_light.png |