Skip to content

Commit 5e04bae

Browse files
committed
add PrizeLauncher3
1 parent 6518a13 commit 5e04bae

File tree

1,052 files changed

+124318
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,052 files changed

+124318
-0
lines changed

PrizeLauncher3/.classpath

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="lib" path="lib/framework.jar"/>
4+
<classpathentry kind="lib" path="lib/mediatek-common_intermediates.jar"/>
5+
<classpathentry kind="lib" path="lib/core_intermediates.jar" sourcepath="D:/zhouerlong/code/apps/82_KKL/SDK_CODE/android-5.0.2_r1-sources.jar"/>
6+
<classpathentry kind="lib" path="lib/mediatek-framework_intermediates.jar"/>
7+
<classpathentry kind="lib" path="libs/Imageload.jar"/>
8+
<classpathentry kind="lib" path="libs/android-support-v13_intermediates.jar"/>
9+
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
10+
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
11+
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
12+
<classpathentry kind="src" path="src"/>
13+
<classpathentry kind="src" path="gen"/>
14+
<classpathentry kind="output" path="bin/classes"/>
15+
</classpath>

PrizeLauncher3/.project

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>ToggleWeightWatcher</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.jdt.core.javabuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
31+
<nature>org.eclipse.jdt.core.javanature</nature>
32+
</natures>
33+
</projectDescription>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
encoding/<project>=UTF-8

PrizeLauncher3/Android.mk

+104
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
#
2+
# Copyright (C) 2014 MediaTek Inc.
3+
# Modification based on code covered by the mentioned copyright
4+
# and/or permission notice(s).
5+
#
6+
#
7+
# Copyright (C) 2013 The Android Open Source Project
8+
#
9+
# Licensed under the Apache License, Version 2.0 (the "License");
10+
# you may not use this file except in compliance with the License.
11+
# You may obtain a copy of the License at
12+
#
13+
# http://www.apache.org/licenses/LICENSE-2.0
14+
#
15+
# Unless required by applicable law or agreed to in writing, software
16+
# distributed under the License is distributed on an "AS IS" BASIS,
17+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
# See the License for the specific language governing permissions and
19+
# limitations under the License.
20+
#
21+
22+
LOCAL_PATH := $(call my-dir)
23+
24+
#
25+
# Build app code.
26+
#
27+
include $(CLEAR_VARS)
28+
29+
LOCAL_MODULE_TAGS := optional
30+
31+
LOCAL_STATIC_JAVA_LIBRARIES := android-support-v13
32+
LOCAL_STATIC_JAVA_LIBRARIES += com.mediatek.launcher3.ext
33+
LOCAL_JAVA_LIBRARIES += mediatek-framework
34+
LOCAL_JAVA_LIBRARIES += framework
35+
LOCAL_JAVA_LIBRARIES += mediatek-common
36+
37+
LOCAL_SRC_FILES := $(call all-java-files-under, src) \
38+
#$(call all-java-files-under, WallpaperPicker/src) \
39+
$(call all-renderscript-files-under, src) \
40+
$(call all-proto-files-under, protos)
41+
#LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/WallpaperPicker/res $(LOCAL_PATH)/res
42+
43+
LOCAL_AAPT_FLAGS := --auto-add-overlay
44+
45+
LOCAL_PROTOC_OPTIMIZE_TYPE := nano
46+
#LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/
47+
48+
#LOCAL_SDK_VERSION := 21
49+
50+
LOCAL_PACKAGE_NAME := Launcher3
51+
LOCAL_DEX_PREOPT:=false
52+
LOCAL_CERTIFICATE := shared
53+
#LOCAL_PRIVILEGED_MODULE := true
54+
ifeq (OP09,$(word 1,$(subst _, ,$(OPTR_SPEC_SEG_DEF))))
55+
LOCAL_PRIVILEGED_MODULE := true
56+
endif
57+
58+
LOCAL_PRIVILEGED_MODULE := true
59+
60+
LOCAL_OVERRIDES_PACKAGES := Launcher2
61+
62+
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
63+
64+
include $(BUILD_PACKAGE)
65+
include $(call all-makefiles-under,$(LOCAL_PATH))
66+
#
67+
# Protocol Buffer Debug Utility in Java
68+
#
69+
include $(CLEAR_VARS)
70+
71+
LOCAL_SRC_FILES :=
72+
#$(call all-java-files-under, util) \
73+
$(call all-proto-files-under, protos)
74+
75+
LOCAL_PROTOC_OPTIMIZE_TYPE := nano
76+
LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/
77+
78+
LOCAL_MODULE_TAGS := optional
79+
LOCAL_MODULE := launcher_protoutil_lib
80+
LOCAL_IS_HOST_MODULE := true
81+
LOCAL_JAR_MANIFEST := util/etc/manifest.txt
82+
LOCAL_STATIC_JAVA_LIBRARIES := host-libprotobuf-java-2.3.0-nano
83+
84+
#include $(BUILD_HOST_JAVA_LIBRARY)
85+
86+
#
87+
# Protocol Buffer Debug Utility Wrapper Script
88+
#
89+
include $(CLEAR_VARS)
90+
LOCAL_IS_HOST_MODULE := true
91+
LOCAL_MODULE_CLASS := EXECUTABLES
92+
LOCAL_MODULE_TAGS := optional
93+
LOCAL_MODULE := launcher_protoutil
94+
95+
#include $(BUILD_SYSTEM)/base_rules.mk
96+
97+
$(LOCAL_BUILT_MODULE): launcher_protoutil_lib
98+
$(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/util/etc/launcher_protoutil | $(ACP)
99+
@echo "Copy: $(PRIVATE_MODULE) ($@)"
100+
$(copy-file-to-new-target)
101+
$(hide) chmod 755 $@
102+
103+
INTERNAL_DALVIK_MODULES += $(LOCAL_INSTALLED_MODULE)
104+

0 commit comments

Comments
 (0)