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