зеркало из https://github.com/mozilla/gecko-dev.git
Bug 996780 - Use ANDROID_TARGET_SDK for Eclipse project target. r=nalexander
This commit is contained in:
Родитель
d13e9068ab
Коммит
73af88dd0a
|
@ -238,6 +238,7 @@ class AndroidEclipseBackend(CommonBackend):
|
|||
defines['IDE_PROJECT_FILTERED_RESOURCES'] = pretty_print(filteredResources).strip()
|
||||
else:
|
||||
defines['IDE_PROJECT_FILTERED_RESOURCES'] = ''
|
||||
defines['ANDROID_TARGET_SDK'] = self.environment.substs['ANDROID_TARGET_SDK']
|
||||
|
||||
copier = FileCopier()
|
||||
finder = FileFinder(template_directory)
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
# project structure.
|
||||
|
||||
# Project target.
|
||||
target=android-16
|
||||
target=android-@ANDROID_TARGET_SDK@
|
||||
@IDE_PROJECT_LIBRARY_SETTING@
|
||||
@IDE_PROJECT_LIBRARY_REFERENCES@
|
||||
|
|
|
@ -29,6 +29,13 @@ test_data_path = mozpath.join(test_data_path, 'data')
|
|||
|
||||
|
||||
CONFIGS = DefaultOnReadDict({
|
||||
'android_eclipse': {
|
||||
'defines': [],
|
||||
'non_global_defines': [],
|
||||
'substs': [
|
||||
('ANDROID_TARGET_SDK', '16'),
|
||||
],
|
||||
},
|
||||
'stub0': {
|
||||
'defines': [
|
||||
('MOZ_TRUE_1', '1'),
|
||||
|
|
Загрузка…
Ссылка в новой задаче