зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1247047 - Add play-services-measurement, required by play-services-gcm 8.4.0. r=ahunt
MozReview-Commit-ID: 4T65x2u3LmZ --HG-- extra : rebase_source : 76665608e6d884538977e4ca1261e36a9fc5540e
This commit is contained in:
Родитель
05ce52d892
Коммит
164ed8d6be
|
@ -234,6 +234,7 @@ if test -n "$MOZ_ANDROID_GCM" ; then
|
|||
MOZ_ANDROID_AAR(play-services-base, $ANDROID_GOOGLE_PLAY_SERVICES_VERSION, google, com/google/android/gms)
|
||||
MOZ_ANDROID_AAR(play-services-basement, $ANDROID_GOOGLE_PLAY_SERVICES_VERSION, google, com/google/android/gms)
|
||||
MOZ_ANDROID_AAR(play-services-gcm, $ANDROID_GOOGLE_PLAY_SERVICES_VERSION, google, com/google/android/gms)
|
||||
MOZ_ANDROID_AAR(play-services-measurement, $ANDROID_GOOGLE_PLAY_SERVICES_VERSION, google, com/google/android/gms)
|
||||
fi
|
||||
|
||||
])
|
||||
|
|
|
@ -195,6 +195,7 @@ dependencies {
|
|||
compile "com.google.android.gms:play-services-basement:${mozconfig.substs.ANDROID_GOOGLE_PLAY_SERVICES_VERSION}"
|
||||
compile "com.google.android.gms:play-services-base:${mozconfig.substs.ANDROID_GOOGLE_PLAY_SERVICES_VERSION}"
|
||||
compile "com.google.android.gms:play-services-gcm:${mozconfig.substs.ANDROID_GOOGLE_PLAY_SERVICES_VERSION}"
|
||||
compile "com.google.android.gms:play-services-measurement:${mozconfig.substs.ANDROID_GOOGLE_PLAY_SERVICES_VERSION}"
|
||||
}
|
||||
|
||||
// Gradle based builds include LeakCanary. Gradle based tests include the no-op version. Mach
|
||||
|
|
|
@ -84,6 +84,7 @@ ifdef MOZ_ANDROID_GCM
|
|||
$(ANDROID_PLAY_SERVICES_BASE_AAR_LIB) \
|
||||
$(ANDROID_PLAY_SERVICES_BASEMENT_AAR_LIB) \
|
||||
$(ANDROID_PLAY_SERVICES_GCM_AAR_LIB) \
|
||||
$(ANDROID_PLAY_SERVICES_MEASUREMENT_AAR_LIB) \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
|
@ -124,6 +125,7 @@ ifdef MOZ_ANDROID_GCM
|
|||
$(ANDROID_PLAY_SERVICES_BASE_AAR_LIB) \
|
||||
$(ANDROID_PLAY_SERVICES_BASEMENT_AAR_LIB) \
|
||||
$(ANDROID_PLAY_SERVICES_GCM_AAR_LIB) \
|
||||
$(ANDROID_PLAY_SERVICES_MEASUREMENT_AAR_LIB) \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
|
@ -431,6 +433,7 @@ generated/com/google/android/gms/appindexing/R.java: .aapt.deps ;
|
|||
generated/com/google/android/gms/base/R.java: .aapt.deps ;
|
||||
generated/com/google/android/gms/cast/R.java: .aapt.deps ;
|
||||
generated/com/google/android/gms/gcm/R.java: .aapt.deps ;
|
||||
generated/com/google/android/gms/measurement/R.java: .aapt.deps ;
|
||||
|
||||
gecko.ap_: .aapt.deps ;
|
||||
R.txt: .aapt.deps ;
|
||||
|
|
|
@ -775,6 +775,7 @@ if CONFIG['MOZ_ANDROID_GCM']:
|
|||
CONFIG['ANDROID_PLAY_SERVICES_BASE_AAR_LIB'],
|
||||
CONFIG['ANDROID_PLAY_SERVICES_BASEMENT_AAR_LIB'],
|
||||
CONFIG['ANDROID_PLAY_SERVICES_GCM_AAR_LIB'],
|
||||
CONFIG['ANDROID_PLAY_SERVICES_MEASUREMENT_AAR_LIB'],
|
||||
]
|
||||
|
||||
if CONFIG['ANDROID_PLAY_SERVICES_BASE_AAR']:
|
||||
|
@ -792,6 +793,11 @@ if CONFIG['MOZ_ANDROID_GCM']:
|
|||
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_PLAY_SERVICES_GCM_AAR_RES']]
|
||||
resjar.generated_sources += ['com/google/android/gms/gcm/R.java']
|
||||
|
||||
if CONFIG['ANDROID_PLAY_SERVICES_MEASUREMENT_AAR']:
|
||||
ANDROID_EXTRA_PACKAGES += ['com.google.android.gms.measurement']
|
||||
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_PLAY_SERVICES_MEASUREMENT_AAR_RES']]
|
||||
resjar.generated_sources += ['com/google/android/gms/measurement/R.java']
|
||||
|
||||
if CONFIG['MOZ_INSTALL_TRACKING']:
|
||||
gbjar.extra_jars += [
|
||||
CONFIG['ANDROID_PLAY_SERVICES_ADS_AAR_LIB'],
|
||||
|
|
Загрузка…
Ссылка в новой задаче