Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Side by Side Diff: scripts/slave/recipes/libvpx/unittests.py

Issue 1919193002: build: roll infra_paths changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/git', 6 'depot_tools/git',
7 'depot_tools/infra_paths',
7 'recipe_engine/path', 8 'recipe_engine/path',
8 'recipe_engine/platform', 9 'recipe_engine/platform',
9 'recipe_engine/properties', 10 'recipe_engine/properties',
10 'recipe_engine/python', 11 'recipe_engine/python',
11 'recipe_engine/step', 12 'recipe_engine/step',
12 ] 13 ]
13 14
14 # TODO (joshualitt) the configure script is messed up so we need a relative 15 # TODO (joshualitt) the configure script is messed up so we need a relative
15 # path. Essentially, it must be using argv[0] when invoking some of the 16 # path. Essentially, it must be using argv[0] when invoking some of the
16 # scripts in the libvpx directory 17 # scripts in the libvpx directory
17 CONFIGURE_PATH_REL = './libvpx/configure' 18 CONFIGURE_PATH_REL = './libvpx/configure'
18 19
19 def RunSteps(api): 20 def RunSteps(api):
20 # Paths and other constants 21 # Paths and other constants
21 build_root = api.path['slave_build'] 22 build_root = api.infra_paths['slave_build']
22 23
23 # libvpx paths 24 # libvpx paths
24 libvpx_git_url = api.properties['libvpx_git_url'] 25 libvpx_git_url = api.properties['libvpx_git_url']
25 libvpx_root = build_root.join('libvpx') 26 libvpx_root = build_root.join('libvpx')
26 27
27 api.python.inline( 28 api.python.inline(
28 'clean_build', r""" 29 'clean_build', r"""
29 import os, sys, shutil 30 import os, sys, shutil
30 root = sys.argv[1] 31 root = sys.argv[1]
31 nuke_dirs = sys.argv[2:] 32 nuke_dirs = sys.argv[2:]
(...skipping 13 matching lines...) Expand all
45 46
46 api.step('run tests', ['make', 'test', '-j8']) 47 api.step('run tests', ['make', 'test', '-j8'])
47 48
48 def GenTests(api): 49 def GenTests(api):
49 # Right now we just support linux, but one day we will have mac and windows 50 # Right now we just support linux, but one day we will have mac and windows
50 # as well 51 # as well
51 yield ( 52 yield (
52 api.test('basic_linux_64') + 53 api.test('basic_linux_64') +
53 api.properties( 54 api.properties(
54 libvpx_git_url='https://chromium.googlesource.com/webm/libvpx')) 55 libvpx_git_url='https://chromium.googlesource.com/webm/libvpx'))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698