Permalink
Browse files

Android backend: tidy up the --suffix handling.

Make --suffix .foo generate a makefile called GypAndroid.foo.mk,
instead of GypAndroid.mk.foo.
Review URL: https://codereview.chromium.org/11418007

git-svn-id: http://gyp.googlecode.com/svn/trunk@1535 78cadc50-ecff-11dd-a971-7dbc132099af
  • Loading branch information...
1 parent cb7a494 commit aa8606012db2e9a370a32ced181e16b19e276f4b torne@chromium.org committed Nov 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pylib/gyp/generator/android.py
@@ -1004,7 +1004,7 @@ def CalculateMakefilePath(build_file, base_name):
default_configuration = 'Default'
srcdir = '.'
- makefile_name = 'GypAndroid.mk' + options.suffix
+ makefile_name = 'GypAndroid' + options.suffix + '.mk'
makefile_path = os.path.join(options.toplevel_dir, makefile_name)
assert not options.generator_output, (
'The Android backend does not support options.generator_output.')

0 comments on commit aa86060

Please sign in to comment.