Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
BlissLauncher
Commits
b7ecc3db
Commit
b7ecc3db
authored
Mar 30, 2018
by
Amit Kumar
Browse files
Add new libraries to Android.mk
parent
4700b42f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Android.mk
View file @
b7ecc3db
LOCAL_PATH
:=
$(
call
my-dir
)
include
$(CLEAR_VARS)
# Module_Tags controls what build flavors the package gets included in.
LOCAL_MODULE_TAGS
:=
optional
# Package name of the app.
LOCAL_PACKAGE_NAME
:=
BlissLauncher
# Certificate to use to sign the apk. In this case, sign using platform certificate.
LOCAL_CERTIFICATE
:=
platform
LOCAL_DEX_PREOPT
:=
false
# Enable or disable proguard.
LOCAL_PROGUARD_ENABLED
:=
disabled
# Manifest file for this app.
LOCAL_MANIFEST_FILE
:=
app/src/main/AndroidManifest.xml
# Resource directory for this app.
LOCAL_RESOURCE_DIR
+=
$(LOCAL_PATH)
/app/src/main/res/
ifeq
($(TARGET_BUILD_APPS),)
LOCAL_RESOURCE_DIR
+=
frameworks/support/v7/appcompat/res
...
...
@@ -17,34 +26,47 @@ else
LOCAL_RESOURCE_DIR
+=
prebuilts/sdk/current/support/v7/appcompat/res
LOCAL_RESOURCE_DIR
+=
prebuilts/sdk/current/support/v7/gridlayout/res
endif
# Java source directory for this app.
LOCAL_SRC_FILES
:=
$(
call
all-java-files-under, app/src/main/
)
#
u
nbundled
#
U
nbundled
java libraries.
LOCAL_STATIC_JAVA_LIBRARIES
:=
\
android-common
\
android-support-v4
\
android-support-v7-appcompat
\
android-support-v7-gridlayout
\
rxrelay
\
rxjava
\
rxandroid
rxjava
# Unbundled aar libraries.
LOCAL_STATIC_JAVA_AAR_LIBRARIES
:=
rxandroid
\
calligraphy
\
circleindicator
# SDK Version for this build.
LOCAL_SDK_VERSION
:=
current
LOCAL_PRIVILEGED_MODULE
:=
true
# Flags for AAPT.
LOCAL_AAPT_FLAGS
:=
--auto-add-overlay
\
--extra-packages
android.support.v4
\
--extra-packages
android.support.v7.appcompat
\
--extra-packages
android.support.v7.gridlayout
\
--extra-packages
uk.co.chrisjenx.calligraphy
\
--extra-packages
me.relex.circleindicator
include
$(BUILD_PACKAGE)
include
$(CLEAR_VARS)
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES
:=
rxrelay:libs/rxrelay-2.0.0.jar rxjava:libs/rxjava-2.1.10.jar rxandroid:libs/rxandroid-2.0.2.aar
# Prebuilt java and aar libraries.
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES
:=
rxrelay:libs/rxrelay-2.0.0.jar
\
rxjava:libs/rxjava-2.1.10.jar
\
rxandroid:libs/rxandroid-2.0.2.aar
\
circleindicator:libs/circleindicator-1.2.2.aar
\
calligraphy:libs/calligraphy-2.3.0.aar
include
$(BUILD_MULTI_PREBUILT)
...
...
app/src/main/AndroidManifest.xml
View file @
b7ecc3db
...
...
@@ -6,6 +6,10 @@
<uses-permission
android:name=
"android.permission.INTERNET"
/>
<uses-permission
android:name=
"android.permission.ACCESS_NETWORK_STATE"
/>
<uses-sdk
android:minSdkVersion=
"22"
android:targetSdkVersion=
"26"
/>
<application
android:name=
".BlissLauncher"
android:allowBackup=
"true"
...
...
libs/calligraphy-2.3.0.aar
0 → 100644
View file @
b7ecc3db
File added
libs/circleindicator-1.2.2.aar
0 → 100644
View file @
b7ecc3db
File added
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment