| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 | |
| 6 from master import master_config | |
| 7 from master.factory import chromium_factory | |
| 8 | |
| 9 defaults = {} | |
| 10 | |
| 11 helper = master_config.Helper(defaults) | |
| 12 B = helper.Builder | |
| 13 F = helper.Factory | |
| 14 | |
| 15 def linux(): | |
| 16 return chromium_factory.ChromiumFactory('src/out', 'linux2') | |
| 17 | |
| 18 | |
| 19 ################################################################################ | |
| 20 ## Release | |
| 21 ################################################################################ | |
| 22 | |
| 23 defaults['category'] = 'gpu' | |
| 24 | |
| 25 # | |
| 26 # Linux Rel tests | |
| 27 # | |
| 28 | |
| 29 B('GPU Linux (NVIDIA)', 'f_gpu_linux_rel', scheduler='global_scheduler') | |
| 30 F('f_gpu_linux_rel', linux().ChromiumFactory( | |
| 31 target='Release', | |
| 32 tests=[ | |
| 33 'content_gl_tests', | |
| 34 'gles2_conform_test', | |
| 35 'gl_tests', | |
| 36 'gpu_content_tests', | |
| 37 'gpu_frame_rate', | |
| 38 'gpu_throughput', | |
| 39 'tab_capture_performance', | |
| 40 ], | |
| 41 options=[ | |
| 42 '--build-tool=ninja', | |
| 43 '--compiler=goma', | |
| 44 '--', | |
| 45 'chromium_gpu_builder', | |
| 46 ], | |
| 47 factory_properties={ | |
| 48 'generate_gtest_json': True, | |
| 49 'perf_id': 'gpu-webkit-linux-nvidia', | |
| 50 'show_perf_results': True, | |
| 51 'gclient_env': { | |
| 52 'GYP_GENERATORS': 'ninja', | |
| 53 'GYP_DEFINES': 'fastbuild=1 internal_gles2_conform_tests=1', | |
| 54 }, | |
| 55 'blink_config': 'blink', | |
| 56 })) | |
| 57 | |
| 58 ################################################################################ | |
| 59 ## Debug | |
| 60 ################################################################################ | |
| 61 | |
| 62 B('GPU Linux (dbg) (NVIDIA)', 'f_gpu_linux_dbg', scheduler='global_scheduler') | |
| 63 F('f_gpu_linux_dbg', linux().ChromiumFactory( | |
| 64 target='Debug', | |
| 65 tests=[ | |
| 66 'content_gl_tests', | |
| 67 'gles2_conform_test', | |
| 68 'gl_tests', | |
| 69 'gpu_content_tests', | |
| 70 ], | |
| 71 options=[ | |
| 72 '--build-tool=ninja', | |
| 73 '--compiler=goma', | |
| 74 '--', | |
| 75 'chromium_gpu_debug_builder' | |
| 76 ], | |
| 77 factory_properties={ | |
| 78 'generate_gtest_json': True, | |
| 79 'gclient_env': { | |
| 80 'GYP_GENERATORS': 'ninja', | |
| 81 'GYP_DEFINES': 'fastbuild=1 internal_gles2_conform_tests=1', | |
| 82 }, | |
| 83 'blink_config': 'blink', | |
| 84 })) | |
| 85 | |
| 86 | |
| 87 def Update(_config, _active_master, c): | |
| 88 return helper.Update(c) | |
| OLD | NEW |