blob: 9ec89018909424ac0cde80adb6d2caea4c619974 [file] [log] [blame]
Eric Borenb82fdc72017-04-19 13:36:00 -04001[
2 {
3 "cmd": [
Eric Boren1701ece2018-02-16 15:32:53 -05004 "python",
5 "-u",
6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
7 "--path",
8 "[CUSTOM_/_B_WORK]/depot_tools",
9 "--url",
10 "https://chromium.googlesource.com/chromium/tools/depot_tools.git"
11 ],
12 "cwd": "[CUSTOM_/_B_WORK]/pdfium",
13 "name": "git setup"
14 },
15 {
16 "cmd": [
17 "git",
18 "retry",
19 "fetch",
20 "origin",
Eric Boren1701ece2018-02-16 15:32:53 -050021 "--progress"
22 ],
23 "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
24 "env": {
25 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
26 },
27 "infra_step": true,
28 "name": "git fetch"
29 },
30 {
31 "cmd": [
32 "git",
33 "checkout",
34 "-f",
Eric Borenccbe4002018-03-19 08:10:26 -040035 "06493714339009216197d59c5413da2a1efdf4a2"
Eric Boren1701ece2018-02-16 15:32:53 -050036 ],
37 "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
38 "infra_step": true,
39 "name": "git checkout"
40 },
41 {
42 "cmd": [
43 "git",
44 "rev-parse",
45 "HEAD"
46 ],
47 "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
48 "infra_step": true,
49 "name": "read revision",
50 "stdout": "/path/to/tmp/",
51 "~followup_annotations": [
52 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
53 ]
54 },
55 {
56 "cmd": [
57 "git",
58 "clean",
59 "-f",
60 "-d",
61 "-x"
62 ],
63 "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
64 "infra_step": true,
65 "name": "git clean"
66 },
67 {
68 "cmd": [
69 "git",
70 "submodule",
71 "sync"
72 ],
73 "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
74 "infra_step": true,
75 "name": "submodule sync"
76 },
77 {
78 "cmd": [
79 "git",
80 "submodule",
81 "update",
82 "--init",
83 "--recursive"
84 ],
85 "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
86 "infra_step": true,
87 "name": "submodule update"
88 },
89 {
90 "cmd": [
91 "[CUSTOM_/_B_WORK]/depot_tools/gclient",
Eric Borenb82fdc72017-04-19 13:36:00 -040092 "runhook",
93 "gn_linux64"
94 ],
95 "cwd": "[CUSTOM_/_B_WORK]/pdfium",
96 "env": {
97 "BUILDTYPE": "Release",
98 "CHROME_HEADLESS": "1",
recipe-rollere0f7e162017-05-31 16:13:27 -070099 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
Ben Wagner6e0a6b32017-09-26 14:11:15 -0400100 "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths"
Eric Borenb82fdc72017-04-19 13:36:00 -0400101 },
102 "name": "runhook"
103 },
104 {
105 "cmd": [
106 "python",
107 "build/linux/sysroot_scripts/install-sysroot.py",
108 "--arch=amd64"
109 ],
110 "cwd": "[CUSTOM_/_B_WORK]/pdfium",
111 "env": {
112 "BUILDTYPE": "Release",
113 "CHROME_HEADLESS": "1",
recipe-rollere0f7e162017-05-31 16:13:27 -0700114 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
Ben Wagner6e0a6b32017-09-26 14:11:15 -0400115 "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths"
Eric Borenb82fdc72017-04-19 13:36:00 -0400116 },
117 "name": "sysroot"
118 },
119 {
120 "cmd": [
121 "gn",
122 "gen",
123 "out/skia",
124 "--args=pdf_is_standalone=true clang_use_chrome_plugins=false is_component_build=false is_debug=false pdf_use_skia_paths=true"
125 ],
126 "cwd": "[CUSTOM_/_B_WORK]/pdfium",
127 "env": {
128 "BUILDTYPE": "Release",
129 "CHROME_HEADLESS": "1",
130 "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools",
recipe-rollere0f7e162017-05-31 16:13:27 -0700131 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
Ben Wagner6e0a6b32017-09-26 14:11:15 -0400132 "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths"
Eric Borenb82fdc72017-04-19 13:36:00 -0400133 },
134 "name": "gn_gen"
135 },
136 {
137 "cmd": [
138 "ninja",
139 "-C",
140 "out/skia",
141 "-j100"
142 ],
143 "cwd": "[CUSTOM_/_B_WORK]/pdfium",
144 "env": {
145 "BUILDTYPE": "Release",
146 "CHROME_HEADLESS": "1",
147 "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools",
recipe-rollere0f7e162017-05-31 16:13:27 -0700148 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
Ben Wagner6e0a6b32017-09-26 14:11:15 -0400149 "SKIA_OUT": "[CUSTOM_/_B_WORK]/pdfium/third_party/skia/out/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths"
Eric Borenb82fdc72017-04-19 13:36:00 -0400150 },
151 "name": "build_pdfium"
152 },
153 {
154 "name": "$result",
155 "recipe_result": null,
156 "status_code": 0
157 }
158]