Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8847eb7a authored by Raj Yengisetty's avatar Raj Yengisetty
Browse files

Move CMHome into Trebuchet

Change-Id: I781d10319d183cfb6acca5926ebf64920caf570e
parent 8d355bd4
Loading
Loading
Loading
Loading
+29 −3
Original line number Diff line number Diff line
@@ -25,15 +25,36 @@ LOCAL_MODULE_TAGS := optional

LOCAL_STATIC_JAVA_LIBRARIES := android-support-v13 \
                               android-support-v7-recyclerview \
                               guava
                               guava \
                               org.cyanogenmod.launcher.home \
                               CMHomeSDK \
                               dashclockapiv2 \
                               android-support-v13 \
                               cmfm-android-support-v7-appcompat \
                               cmfm-android-support-design \
                               android-support-v7-recyclerview \
                               android-support-v7-cardview \
                               de-hdodenhof-circleimageview

library_src_files += ../../../external/cardslib/library/src/main/java \
                     ../../../external/cyanogen/cmhomeapi/src/main/java


LOCAL_SRC_FILES := $(call all-java-files-under, src) \
    $(call all-java-files-under, WallpaperPicker/src) \
    $(call all-java-files-under, $(library_src_files)) \
    $(call all-renderscript-files-under, src) \
    $(call all-proto-files-under, protos)
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/WallpaperPicker/res $(LOCAL_PATH)/res

LOCAL_AAPT_FLAGS := --auto-add-overlay
LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res \
    $(LOCAL_PATH)/WallpaperPicker/res \
    frameworks/support/v7/cardview/res \
    $(LOCAL_PATH)/../../../external/cardslib/library/src/main/res \
    $(LOCAL_PATH)/../../../external/cyanogen/cmhomeapi/src/main/res

LOCAL_AAPT_FLAGS := --auto-add-overlay \
    --extra-packages android.support.v7.cardview \
    --extra-packages it.gmariotti.cardslib.library \

LOCAL_PROTOC_OPTIMIZE_TYPE := nano
LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/
@@ -51,6 +72,10 @@ LOCAL_OVERRIDES_PACKAGES := Launcher3
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
LOCAL_PROGUARD_ENABLED := disabled

LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
    dashclockapiv2:libs/dashclock-api-r2.0.jar \
    de-hdodenhof-circleimageview:libs/de-hdodenhof-circleimageview.jar

include $(BUILD_PACKAGE)

include $(call all-makefiles-under,$(LOCAL_PATH))
@@ -72,6 +97,7 @@ LOCAL_IS_HOST_MODULE := true
LOCAL_JAR_MANIFEST := util/etc/manifest.txt
LOCAL_STATIC_JAVA_LIBRARIES := host-libprotobuf-java-2.3.0-nano


include $(BUILD_HOST_JAVA_LIBRARY)

#
+1 −0
Original line number Diff line number Diff line
@@ -98,6 +98,7 @@
    <uses-permission android:name="android.permission.BROADCAST_STICKY"/>
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.INJECT_EVENTS" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.GET_TASKS"/>
    <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
    <uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />

api/Android.mk

0 → 100644
+27 −0
Original line number Diff line number Diff line
#
# Copyright (C) 2014 The CyanogenMod 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.
#

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_MODULE := org.cyanogenmod.launcher.home

LOCAL_PROGUARD_FLAG_FILES := proguard.flags

include $(BUILD_STATIC_JAVA_LIBRARY)

include $(call all-makefiles-under,$(LOCAL_PATH))

api/CleanSpec.mk

0 → 100644
+14 −0
Original line number Diff line number Diff line
# Copyright (C) 2014 The CyanogenMod 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.
#

api/api.iml

0 → 100644
+11 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
  <component name="NewModuleRootManager" inherit-compiler-output="true">
    <exclude-output />
    <content url="file://$MODULE_DIR$">
      <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
    </content>
    <orderEntry type="inheritedJdk" />
    <orderEntry type="sourceFolder" forTests="false" />
  </component>
</module>
 No newline at end of file
Loading