| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 | 5 |
| 6 """Utility class to build the Skia master BuildFactory's. | 6 """Utility class to build the Skia master BuildFactory's. |
| 7 | 7 |
| 8 Based on gclient_factory.py and adds Skia-specific steps.""" | 8 Based on gclient_factory.py and adds Skia-specific steps.""" |
| 9 | 9 |
| 10 | 10 |
| (...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 700 self.UpdateSteps() | 700 self.UpdateSteps() |
| 701 self.DownloadSKPs() | 701 self.DownloadSKPs() |
| 702 self.Compile(clobber) | 702 self.Compile(clobber) |
| 703 self.Install() | 703 self.Install() |
| 704 | 704 |
| 705 def NonPerfSteps(self): | 705 def NonPerfSteps(self): |
| 706 """ Add correctness testing BuildSteps. """ | 706 """ Add correctness testing BuildSteps. """ |
| 707 self.DownloadSKImageFiles() | 707 self.DownloadSKImageFiles() |
| 708 self.PreRender() | 708 self.PreRender() |
| 709 self.RunTests() | 709 self.RunTests() |
| 710 self.RunDM() |
| 710 self.RunGM() | 711 self.RunGM() |
| 711 self.RenderSKPs() | 712 self.RenderSKPs() |
| 712 self.RenderPdfs() | 713 self.RenderPdfs() |
| 713 self.RunDecodingTests() | 714 self.RunDecodingTests() |
| 714 self.PostRender() | 715 self.PostRender() |
| 715 self.UploadGMResults() | 716 self.UploadGMResults() |
| 716 self.UploadRenderedSKPs() | 717 self.UploadRenderedSKPs() |
| 717 self.UploadSKImageResults() | 718 self.UploadSKImageResults() |
| 718 self.CompareGMs() | 719 self.CompareGMs() |
| 719 self.CompareRenderedSKPs() | 720 self.CompareRenderedSKPs() |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 # Perf-only builder. | 810 # Perf-only builder. |
| 810 if not self._perf_output_basedir: | 811 if not self._perf_output_basedir: |
| 811 raise ValueError( | 812 raise ValueError( |
| 812 'BuildPerfOnly requires perf_output_basedir to be defined.') | 813 'BuildPerfOnly requires perf_output_basedir to be defined.') |
| 813 if self._configuration != CONFIG_RELEASE: | 814 if self._configuration != CONFIG_RELEASE: |
| 814 raise ValueError('BuildPerfOnly should run in %s configuration.' % | 815 raise ValueError('BuildPerfOnly should run in %s configuration.' % |
| 815 CONFIG_RELEASE) | 816 CONFIG_RELEASE) |
| 816 self.PerfSteps() | 817 self.PerfSteps() |
| 817 self.Validate() | 818 self.Validate() |
| 818 return self | 819 return self |
| OLD | NEW |