| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 | 2 |
| 3 # Copyright 2014 Google Inc. | 3 # Copyright 2014 Google Inc. |
| 4 # | 4 # |
| 5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
| 6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
| 7 | 7 |
| 8 """ | 8 """ |
| 9 Functions for creating an Android.mk from already created dictionaries. | 9 Functions for creating an Android.mk from already created dictionaries. |
| 10 """ | 10 """ |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 _key += '_' + name | 69 _key += '_' + name |
| 70 write_group(f, _key, _items, _append) | 70 write_group(f, _key, _items, _append) |
| 71 | 71 |
| 72 | 72 |
| 73 AUTOGEN_WARNING = ( | 73 AUTOGEN_WARNING = ( |
| 74 """ | 74 """ |
| 75 ############################################################################### | 75 ############################################################################### |
| 76 # | 76 # |
| 77 # THIS FILE IS AUTOGENERATED BY GYP_TO_ANDROID.PY. DO NOT EDIT. | 77 # THIS FILE IS AUTOGENERATED BY GYP_TO_ANDROID.PY. DO NOT EDIT. |
| 78 # | 78 # |
| 79 # For bugs, please contact scroggo@google.com or djsollen@google.com |
| 80 # |
| 79 ############################################################################### | 81 ############################################################################### |
| 80 | 82 |
| 81 """ | 83 """ |
| 82 ) | 84 ) |
| 83 | 85 |
| 84 DEBUGGING_HELP = ( | 86 DEBUGGING_HELP = ( |
| 85 """ | 87 """ |
| 86 ############################################################################### | 88 ############################################################################### |
| 87 # | 89 # |
| 88 # PROBLEMS WITH SKIA DEBUGGING?? READ THIS... | 90 # PROBLEMS WITH SKIA DEBUGGING?? READ THIS... |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 for data in deviations_from_common: | 220 for data in deviations_from_common: |
| 219 if data.condition: | 221 if data.condition: |
| 220 f.write('ifeq ($(%s), true)\n' % data.condition) | 222 f.write('ifeq ($(%s), true)\n' % data.condition) |
| 221 write_local_vars(f, data.vars_dict, True, data.name) | 223 write_local_vars(f, data.vars_dict, True, data.name) |
| 222 if data.condition: | 224 if data.condition: |
| 223 f.write('endif\n\n') | 225 f.write('endif\n\n') |
| 224 | 226 |
| 225 f.write('include $(BUILD_SHARED_LIBRARY)\n') | 227 f.write('include $(BUILD_SHARED_LIBRARY)\n') |
| 226 f.write(SKIA_TOOLS) | 228 f.write(SKIA_TOOLS) |
| 227 | 229 |
| OLD | NEW |