зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1271428 - Pre: add cardview support library r=sebastian
MozReview-Commit-ID: 3rOJRnv1ujO --HG-- extra : rebase_source : ddd199820174110bafdcf625a6bf9a359290e0ea
This commit is contained in:
Родитель
cea8e5072a
Коммит
1aec36f857
|
@ -341,6 +341,7 @@ case "$target" in
|
|||
AC_SUBST(ANDROID_TOOLS)
|
||||
|
||||
MOZ_ANDROID_AAR(appcompat-v7, 23.0.1, android, com/android/support)
|
||||
MOZ_ANDROID_AAR(cardview-v7, 23.0.1, android, com/android/support)
|
||||
MOZ_ANDROID_AAR(design, 23.0.1, android, com/android/support)
|
||||
MOZ_ANDROID_AAR(recyclerview-v7, 23.0.1, android, com/android/support)
|
||||
MOZ_ANDROID_AAR(support-v4, 23.0.1, android, com/android/support, REQUIRED_INTERNAL_IMPL)
|
||||
|
|
|
@ -173,6 +173,7 @@ android {
|
|||
dependencies {
|
||||
compile 'com.android.support:support-v4:23.0.1'
|
||||
compile 'com.android.support:appcompat-v7:23.0.1'
|
||||
compile 'com.android.support:cardview-v7:23.0.1'
|
||||
compile 'com.android.support:recyclerview-v7:23.0.1'
|
||||
compile 'com.android.support:design:23.0.1'
|
||||
|
||||
|
|
|
@ -62,6 +62,7 @@ JAVA_CLASSPATH += \
|
|||
$(ANDROID_SUPPORT_V4_AAR_LIB) \
|
||||
$(ANDROID_SUPPORT_V4_AAR_INTERNAL_LIB) \
|
||||
$(ANDROID_APPCOMPAT_V7_AAR_LIB) \
|
||||
$(ANDROID_CARDVIEW_V7_AAR_LIB) \
|
||||
$(ANDROID_DESIGN_AAR_LIB) \
|
||||
$(ANDROID_RECYCLERVIEW_V7_AAR_LIB) \
|
||||
$(NULL)
|
||||
|
@ -103,6 +104,7 @@ java_bundled_libs := \
|
|||
$(ANDROID_SUPPORT_V4_AAR_LIB) \
|
||||
$(ANDROID_SUPPORT_V4_AAR_INTERNAL_LIB) \
|
||||
$(ANDROID_APPCOMPAT_V7_AAR_LIB) \
|
||||
$(ANDROID_CARDVIEW_V7_AAR_LIB) \
|
||||
$(ANDROID_DESIGN_AAR_LIB) \
|
||||
$(ANDROID_RECYCLERVIEW_V7_AAR_LIB) \
|
||||
$(NULL)
|
||||
|
@ -418,6 +420,7 @@ generated/org/mozilla/gecko/R.java: .aapt.deps ;
|
|||
# If native devices are enabled, add Google Play Services, build their resources
|
||||
generated/android/support/v4/R.java: .aapt.deps ;
|
||||
generated/android/support/v7/appcompat/R.java: .aapt.deps ;
|
||||
generated/android/support/v7/cardview/R.java: .aapt.deps ;
|
||||
generated/android/support/design/R.java: .aapt.deps ;
|
||||
generated/android/support/v7/mediarouter/R.java: .aapt.deps ;
|
||||
generated/android/support/v7/recyclerview/R.java: .aapt.deps ;
|
||||
|
|
|
@ -62,6 +62,10 @@ if CONFIG['ANDROID_APPCOMPAT_V7_AAR']:
|
|||
ANDROID_EXTRA_PACKAGES += ['android.support.v7.appcompat']
|
||||
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_APPCOMPAT_V7_AAR_RES']]
|
||||
resjar.generated_sources += ['android/support/v7/appcompat/R.java']
|
||||
if CONFIG['ANDROID_CARDVIEW_V7_AAR']:
|
||||
ANDROID_EXTRA_PACKAGES += ['android.support.v7.cardview']
|
||||
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_CARDVIEW_V7_AAR_RES']]
|
||||
resjar.generated_sources += ['android/support/v7/cardview/R.java']
|
||||
if CONFIG['ANDROID_DESIGN_AAR']:
|
||||
ANDROID_EXTRA_PACKAGES += ['android.support.design']
|
||||
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_DESIGN_AAR_RES']]
|
||||
|
@ -817,6 +821,7 @@ if CONFIG['MOZ_INSTALL_TRACKING']:
|
|||
resjar.generated_sources += ['com/google/android/gms/R.java']
|
||||
|
||||
gbjar.extra_jars += [CONFIG['ANDROID_APPCOMPAT_V7_AAR_LIB']]
|
||||
gbjar.extra_jars += [CONFIG['ANDROID_CARDVIEW_V7_AAR_LIB']]
|
||||
gbjar.extra_jars += [CONFIG['ANDROID_DESIGN_AAR_LIB']]
|
||||
gbjar.extra_jars += [CONFIG['ANDROID_RECYCLERVIEW_V7_AAR_LIB']]
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче