Bug 996780 - Use ANDROID_TARGET_SDK for Eclipse project target. r=nalexander

This commit is contained in:
Jim Chen 2014-04-15 13:43:00 +02:00
parent 4fe9a6d3e0
commit 16c2343be6
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -9,6 +9,6 @@
# project structure.
# Project target.
target=android-16
target=android-@ANDROID_TARGET_SDK@
@IDE_PROJECT_LIBRARY_SETTING@
@IDE_PROJECT_LIBRARY_REFERENCES@