forked from kivy/python-for-android
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move all environment related stuff from build_arch to get_recipe_env
In order to keep the recipe more maintainable and readable, all the environment variables has been moved into method "get_recipe_env", overwriting the base class. To achieve this goal some other changes has been made: - Remove unused variables (platform_dir) - Move some "toolchain bin variables" directly into the env dictionary (because they are only used to set the corresponding env variables) - Add new env variable HOSTARCH (we use that in build_arch, cause this commit moves the needed variable that was used before this commit...and moreover...this new variable targets 'android_host' which still is not set as it should, so introducing this variable we avoid future errors when the target variable 'android_host' will get fixed) - Shorted long lines to avoid pep8 errors and to be more readable - Add some todo comments References: kivy#1412
- Loading branch information
Showing
1 changed file
with
62 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters