| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 DEPS = [ | 5 DEPS = [ |
| 6 'depot_tools/bot_update', | 6 'depot_tools/bot_update', |
| 7 'depot_tools/gclient', | 7 'depot_tools/gclient', |
| 8 'recipe_engine/path', | 8 'recipe_engine/path', |
| 9 'recipe_engine/platform', | 9 'recipe_engine/platform', |
| 10 'recipe_engine/properties', | 10 'recipe_engine/properties', |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 'oneiric_32-newlib-arm_hw-pnacl-panda-spec', | 25 'oneiric_32-newlib-arm_hw-pnacl-panda-spec', |
| 26 # tryserver.nacl builders | 26 # tryserver.nacl builders |
| 27 'nacl-arm_opt_panda': | 27 'nacl-arm_opt_panda': |
| 28 'nacl-arm_hw_opt_panda', | 28 'nacl-arm_hw_opt_panda', |
| 29 'nacl-arm_perf_panda': | 29 'nacl-arm_perf_panda': |
| 30 'nacl-arm_hw_perf_panda', | 30 'nacl-arm_hw_perf_panda', |
| 31 } | 31 } |
| 32 | 32 |
| 33 def _CheckoutSteps(api): | 33 def _CheckoutSteps(api): |
| 34 api.gclient.set_config('nacl') | 34 api.gclient.set_config('nacl') |
| 35 result = api.bot_update.ensure_checkout(force=True) | 35 result = api.bot_update.ensure_checkout() |
| 36 | 36 |
| 37 # HACK(iannucci): bot_update.ensure_checkout should return an actual meaninful | 37 # HACK(iannucci): bot_update.ensure_checkout should return an actual meaninful |
| 38 # object with actual meaningful semantics. | 38 # object with actual meaningful semantics. |
| 39 got_revision = result.presentation.properties['got_revision'] | 39 got_revision = result.presentation.properties['got_revision'] |
| 40 api.gclient.runhooks() | 40 api.gclient.runhooks() |
| 41 return got_revision | 41 return got_revision |
| 42 | 42 |
| 43 def _AnnotatedStepsSteps(api, got_revision): | 43 def _AnnotatedStepsSteps(api, got_revision): |
| 44 # Default environemnt; required by all builders. | 44 # Default environemnt; required by all builders. |
| 45 env = { | 45 env = { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 mastername = 'client.nacl', | 98 mastername = 'client.nacl', |
| 99 buildername = 'oneiric_32-newlib-arm_hw-pnacl-panda-dbg', | 99 buildername = 'oneiric_32-newlib-arm_hw-pnacl-panda-dbg', |
| 100 revision = 'abcd', | 100 revision = 'abcd', |
| 101 slavename='TestSlave', | 101 slavename='TestSlave', |
| 102 buildnumber = 5678, | 102 buildnumber = 5678, |
| 103 parent_slavename = 'TestSlave', | 103 parent_slavename = 'TestSlave', |
| 104 parent_buildername = 'precise_64-newlib-arm_qemu-pnacl-dbg', | 104 parent_buildername = 'precise_64-newlib-arm_qemu-pnacl-dbg', |
| 105 parent_buildnumber = 1, | 105 parent_buildnumber = 1, |
| 106 slavetype = 'BuilderTester', | 106 slavetype = 'BuilderTester', |
| 107 )) | 107 )) |
| OLD | NEW |