OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport os, sys, shutil\nroot = sys.argv[1]\nnuke_dirs = sys.argv[2:]\nf
or fname in os.listdir(root):\n path = os.path.join(root, fname)\n if os.path.
isfile(path):\n os.unlink(path)\n elif fname in nuke_dirs:\n shutil.rmtre
e(path)\n", | 6 "\nimport os, sys, shutil\nroot = sys.argv[1]\nnuke_dirs = sys.argv[2:]\nf
or fname in os.listdir(root):\n path = os.path.join(root, fname)\n if os.path.
isfile(path):\n os.unlink(path)\n elif fname in nuke_dirs:\n shutil.rmtre
e(path)\n", |
7 "[CWD]", | 7 "[SLAVE_BUILD]", |
8 "libs", | 8 "libs", |
9 "obj", | 9 "obj", |
10 "vp8", | 10 "vp8", |
11 "vp9", | 11 "vp9", |
12 "vpx", | 12 "vpx", |
13 "vpx_mem", | 13 "vpx_mem", |
14 "vpx_ports", | 14 "vpx_ports", |
15 "vpx_scale", | 15 "vpx_scale", |
16 "third_party" | 16 "third_party" |
17 ], | 17 ], |
| 18 "cwd": "[SLAVE_BUILD]", |
18 "name": "clean_build", | 19 "name": "clean_build", |
19 "~followup_annotations": [ | 20 "~followup_annotations": [ |
20 "@@@STEP_LOG_LINE@python.inline@@@@", | 21 "@@@STEP_LOG_LINE@python.inline@@@@", |
21 "@@@STEP_LOG_LINE@python.inline@import os, sys, shutil@@@", | 22 "@@@STEP_LOG_LINE@python.inline@import os, sys, shutil@@@", |
22 "@@@STEP_LOG_LINE@python.inline@root = sys.argv[1]@@@", | 23 "@@@STEP_LOG_LINE@python.inline@root = sys.argv[1]@@@", |
23 "@@@STEP_LOG_LINE@python.inline@nuke_dirs = sys.argv[2:]@@@", | 24 "@@@STEP_LOG_LINE@python.inline@nuke_dirs = sys.argv[2:]@@@", |
24 "@@@STEP_LOG_LINE@python.inline@for fname in os.listdir(root):@@@", | 25 "@@@STEP_LOG_LINE@python.inline@for fname in os.listdir(root):@@@", |
25 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(root, fname)@@@", | 26 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(root, fname)@@@", |
26 "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(path):@@@", | 27 "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(path):@@@", |
27 "@@@STEP_LOG_LINE@python.inline@ os.unlink(path)@@@", | 28 "@@@STEP_LOG_LINE@python.inline@ os.unlink(path)@@@", |
28 "@@@STEP_LOG_LINE@python.inline@ elif fname in nuke_dirs:@@@", | 29 "@@@STEP_LOG_LINE@python.inline@ elif fname in nuke_dirs:@@@", |
29 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(path)@@@", | 30 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(path)@@@", |
30 "@@@STEP_LOG_END@python.inline@@@" | 31 "@@@STEP_LOG_END@python.inline@@@" |
31 ] | 32 ] |
32 }, | 33 }, |
33 { | 34 { |
34 "cmd": [ | 35 "cmd": [ |
35 "python", | 36 "python", |
36 "-u", | 37 "-u", |
37 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", | 38 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
38 "--path", | 39 "--path", |
39 "[CWD]/libvpx", | 40 "[SLAVE_BUILD]/libvpx", |
40 "--url", | 41 "--url", |
41 "https://chromium.googlesource.com/webm/libvpx" | 42 "https://chromium.googlesource.com/webm/libvpx" |
42 ], | 43 ], |
| 44 "cwd": "[SLAVE_BUILD]", |
43 "name": "git setup" | 45 "name": "git setup" |
44 }, | 46 }, |
45 { | 47 { |
46 "cmd": [ | 48 "cmd": [ |
47 "git", | 49 "git", |
48 "retry", | 50 "retry", |
49 "fetch", | 51 "fetch", |
50 "origin", | 52 "origin", |
51 "master", | 53 "master", |
52 "--recurse-submodules" | 54 "--recurse-submodules" |
53 ], | 55 ], |
54 "cwd": "[CWD]/libvpx", | 56 "cwd": "[SLAVE_BUILD]/libvpx", |
55 "name": "git fetch" | 57 "name": "git fetch" |
56 }, | 58 }, |
57 { | 59 { |
58 "cmd": [ | 60 "cmd": [ |
59 "git", | 61 "git", |
60 "checkout", | 62 "checkout", |
61 "-f", | 63 "-f", |
62 "FETCH_HEAD" | 64 "FETCH_HEAD" |
63 ], | 65 ], |
64 "cwd": "[CWD]/libvpx", | 66 "cwd": "[SLAVE_BUILD]/libvpx", |
65 "name": "git checkout" | 67 "name": "git checkout" |
66 }, | 68 }, |
67 { | 69 { |
68 "cmd": [ | 70 "cmd": [ |
69 "git", | 71 "git", |
70 "rev-parse", | 72 "rev-parse", |
71 "HEAD" | 73 "HEAD" |
72 ], | 74 ], |
73 "cwd": "[CWD]/libvpx", | 75 "cwd": "[SLAVE_BUILD]/libvpx", |
74 "name": "read revision", | 76 "name": "read revision", |
75 "stdout": "/path/to/tmp/", | 77 "stdout": "/path/to/tmp/", |
76 "~followup_annotations": [ | 78 "~followup_annotations": [ |
77 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" | 79 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
78 ] | 80 ] |
79 }, | 81 }, |
80 { | 82 { |
81 "cmd": [ | 83 "cmd": [ |
82 "git", | 84 "git", |
83 "clean", | 85 "clean", |
84 "-f", | 86 "-f", |
85 "-d", | 87 "-d", |
86 "-x" | 88 "-x" |
87 ], | 89 ], |
88 "cwd": "[CWD]/libvpx", | 90 "cwd": "[SLAVE_BUILD]/libvpx", |
89 "name": "git clean" | 91 "name": "git clean" |
90 }, | 92 }, |
91 { | 93 { |
92 "cmd": [ | 94 "cmd": [ |
93 "git", | 95 "git", |
94 "submodule", | 96 "submodule", |
95 "sync" | 97 "sync" |
96 ], | 98 ], |
97 "cwd": "[CWD]/libvpx", | 99 "cwd": "[SLAVE_BUILD]/libvpx", |
98 "name": "submodule sync" | 100 "name": "submodule sync" |
99 }, | 101 }, |
100 { | 102 { |
101 "cmd": [ | 103 "cmd": [ |
102 "git", | 104 "git", |
103 "submodule", | 105 "submodule", |
104 "update", | 106 "update", |
105 "--init", | 107 "--init", |
106 "--recursive" | 108 "--recursive" |
107 ], | 109 ], |
108 "cwd": "[CWD]/libvpx", | 110 "cwd": "[SLAVE_BUILD]/libvpx", |
109 "name": "submodule update" | 111 "name": "submodule update" |
110 }, | 112 }, |
111 { | 113 { |
112 "cmd": [ | 114 "cmd": [ |
113 "./libvpx/configure" | 115 "./libvpx/configure" |
114 ], | 116 ], |
| 117 "cwd": "[SLAVE_BUILD]", |
115 "name": "configure" | 118 "name": "configure" |
116 }, | 119 }, |
117 { | 120 { |
118 "cmd": [ | 121 "cmd": [ |
119 "make", | 122 "make", |
120 "test", | 123 "test", |
121 "-j8" | 124 "-j8" |
122 ], | 125 ], |
| 126 "cwd": "[SLAVE_BUILD]", |
123 "name": "run tests" | 127 "name": "run tests" |
124 }, | 128 }, |
125 { | 129 { |
126 "name": "$result", | 130 "name": "$result", |
127 "recipe_result": null, | 131 "recipe_result": null, |
128 "status_code": 0 | 132 "status_code": 0 |
129 } | 133 } |
130 ] | 134 ] |
OLD | NEW |