| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 """ | 110 """ |
| 111 ) | 111 ) |
| 112 | 112 |
| 113 SKIA_TOOLS = ( | 113 SKIA_TOOLS = ( |
| 114 """ | 114 """ |
| 115 ############################################################# | 115 ############################################################# |
| 116 # Build the skia tools | 116 # Build the skia tools |
| 117 # | 117 # |
| 118 | 118 |
| 119 # benchmark (timings) | 119 # benchmark (timings) |
| 120 include $(BASE_PATH)/tools/Android.mk | 120 include $(BASE_PATH)/bench/Android.mk |
| 121 | 121 |
| 122 # golden-master (fidelity / regression test) | 122 # golden-master (fidelity / regression test) |
| 123 include $(BASE_PATH)/gm/Android.mk | 123 include $(BASE_PATH)/gm/Android.mk |
| 124 | 124 |
| 125 # diamond-master (one test to rule them all) | 125 # diamond-master (one test to rule them all) |
| 126 include $(BASE_PATH)/dm/Android.mk | 126 include $(BASE_PATH)/dm/Android.mk |
| 127 """ | 127 """ |
| 128 ) | 128 ) |
| 129 | 129 |
| 130 | 130 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 if data.condition: | 231 if data.condition: |
| 232 f.write('ifeq ($(%s), true)\n' % data.condition) | 232 f.write('ifeq ($(%s), true)\n' % data.condition) |
| 233 write_local_vars(f, data.vars_dict, True, data.name) | 233 write_local_vars(f, data.vars_dict, True, data.name) |
| 234 if data.condition: | 234 if data.condition: |
| 235 f.write('endif\n\n') | 235 f.write('endif\n\n') |
| 236 | 236 |
| 237 write_include_stlport(f) | 237 write_include_stlport(f) |
| 238 f.write('include $(BUILD_SHARED_LIBRARY)\n') | 238 f.write('include $(BUILD_SHARED_LIBRARY)\n') |
| 239 f.write(SKIA_TOOLS) | 239 f.write(SKIA_TOOLS) |
| 240 | 240 |
| OLD | NEW |