libv8 6.3.292.48.1 → 6.7.288.46.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (195) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +10 -34
  3. data/CHANGELOG.md +16 -0
  4. data/README.md +9 -63
  5. data/Rakefile +2 -2
  6. data/ext/libv8/builder.rb +22 -87
  7. data/ext/libv8/extconf.rb +1 -1
  8. data/ext/libv8/paths.rb +5 -18
  9. data/lib/libv8/version.rb +1 -1
  10. data/spec/location_spec.rb +1 -2
  11. data/spec/spec_helper.rb +0 -1
  12. data/vendor/depot_tools/.gitattributes +1 -2
  13. data/vendor/depot_tools/OWNERS +0 -1
  14. data/vendor/depot_tools/PRESUBMIT.py +11 -6
  15. data/vendor/depot_tools/README.md +0 -1
  16. data/vendor/depot_tools/WATCHLISTS +0 -6
  17. data/vendor/depot_tools/auth.py +129 -87
  18. data/vendor/depot_tools/autoninja +11 -1
  19. data/vendor/depot_tools/autoninja.bat +7 -1
  20. data/vendor/depot_tools/autoninja.py +14 -6
  21. data/vendor/depot_tools/bootstrap/win/manifest.txt +1 -1
  22. data/vendor/depot_tools/bootstrap/win/manifest_bleeding_edge.txt +1 -1
  23. data/vendor/depot_tools/cipd +23 -2
  24. data/vendor/depot_tools/cipd.bat +2 -2
  25. data/vendor/depot_tools/cipd_client_version +1 -1
  26. data/vendor/depot_tools/cipd_manifest.txt +17 -7
  27. data/vendor/depot_tools/cit.py +7 -6
  28. data/vendor/depot_tools/cpplint.py +195 -35
  29. data/vendor/depot_tools/detect_host_arch.py +51 -0
  30. data/vendor/depot_tools/download_from_google_storage.py +85 -26
  31. data/vendor/depot_tools/fetch.py +11 -6
  32. data/vendor/depot_tools/fetch_configs/chromium.py +0 -1
  33. data/vendor/depot_tools/fetch_configs/goma_client.py +41 -0
  34. data/vendor/depot_tools/fetch_configs/infra.py +0 -1
  35. data/vendor/depot_tools/fetch_configs/infra_internal.py +0 -1
  36. data/vendor/depot_tools/gclient-new-workdir.py +4 -0
  37. data/vendor/depot_tools/gclient.py +732 -476
  38. data/vendor/depot_tools/gclient_eval.py +569 -58
  39. data/vendor/depot_tools/gclient_scm.py +258 -46
  40. data/vendor/depot_tools/gclient_utils.py +17 -1
  41. data/vendor/depot_tools/gerrit_util.py +46 -13
  42. data/vendor/depot_tools/git_cache.py +0 -2
  43. data/vendor/depot_tools/git_cl.py +176 -335
  44. data/vendor/depot_tools/git_common.py +19 -16
  45. data/vendor/depot_tools/git_footers.py +19 -5
  46. data/vendor/depot_tools/git_hyper_blame.py +9 -3
  47. data/vendor/depot_tools/git_new_branch.py +15 -3
  48. data/vendor/depot_tools/git_upstream_diff.py +7 -2
  49. data/vendor/depot_tools/gsutil.py +1 -1
  50. data/vendor/depot_tools/infra/config/cq.cfg +1 -2
  51. data/vendor/depot_tools/infra/config/recipes.cfg +1 -1
  52. data/vendor/depot_tools/luci-auth +13 -0
  53. data/vendor/depot_tools/luci-auth.bat +8 -0
  54. data/vendor/depot_tools/man/html/depot_tools.html +0 -8
  55. data/vendor/depot_tools/man/html/git-upstream-diff.html +20 -3
  56. data/vendor/depot_tools/man/man1/git-upstream-diff.1 +27 -6
  57. data/vendor/depot_tools/man/man7/depot_tools.7 +0 -5
  58. data/vendor/depot_tools/man/man7/depot_tools_tutorial.7 +2 -2
  59. data/vendor/depot_tools/man/src/git-upstream-diff.txt +21 -3
  60. data/vendor/depot_tools/man/src/make_docs.sh +6 -0
  61. data/vendor/depot_tools/my_activity.py +283 -93
  62. data/vendor/depot_tools/owners.py +9 -4
  63. data/vendor/depot_tools/owners_finder.py +7 -3
  64. data/vendor/depot_tools/post_build_ninja_summary.py +322 -0
  65. data/vendor/depot_tools/presubmit_canned_checks.py +91 -106
  66. data/vendor/depot_tools/presubmit_support.py +219 -157
  67. data/vendor/depot_tools/prpc +13 -0
  68. data/vendor/depot_tools/prpc.bat +8 -0
  69. data/vendor/depot_tools/recipes/OWNERS +3 -1
  70. data/vendor/depot_tools/recipes/README.recipes.md +70 -111
  71. data/vendor/depot_tools/recipes/recipe_modules/bot_update/__init__.py +12 -5
  72. data/vendor/depot_tools/recipes/recipe_modules/bot_update/api.py +36 -68
  73. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/deprecated_got_revision_mapping.json +0 -8
  74. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/{trychange_oauth2_json.json → no_apply_patch_on_gclient.json} +64 -10
  75. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/{no_shallow.json → shallow.json} +1 -1
  76. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob.json +0 -8
  77. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_empty_revision.json +0 -8
  78. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail.json +0 -6
  79. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch.json +0 -7
  80. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch_download.json +0 -6
  81. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_angle_deprecated.json +44 -0
  82. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/{trychange_oauth2_buildbot.json → tryjob_gerrit_branch_heads.json} +51 -5
  83. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8.json +0 -8
  84. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8_head_by_default.json +48 -8
  85. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.py +19 -26
  86. data/vendor/depot_tools/recipes/recipe_modules/bot_update/resources/bot_update.py +193 -155
  87. data/vendor/depot_tools/recipes/recipe_modules/bot_update/test_api.py +9 -0
  88. data/vendor/depot_tools/recipes/recipe_modules/gclient/api.py +2 -7
  89. data/vendor/depot_tools/recipes/recipe_modules/gclient/config.py +31 -5
  90. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/basic.json +37 -19
  91. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/buildbot.json +37 -19
  92. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/revision.json +37 -19
  93. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/tryserver.json +37 -23
  94. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.py +4 -0
  95. data/vendor/depot_tools/recipes/recipe_modules/gerrit/api.py +40 -8
  96. data/vendor/depot_tools/recipes/recipe_modules/gerrit/examples/full.expected/basic.json +3 -3
  97. data/vendor/depot_tools/recipes/recipe_modules/gerrit/examples/full.py +6 -3
  98. data/vendor/depot_tools/recipes/recipe_modules/gitiles/OWNERS +0 -1
  99. data/vendor/depot_tools/recipes/recipe_modules/tryserver/__init__.py +0 -1
  100. data/vendor/depot_tools/recipes/recipe_modules/tryserver/api.py +7 -56
  101. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_wrong_patch.json +0 -1
  102. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.py +15 -16
  103. data/vendor/depot_tools/recipes/recipes.py +4 -2
  104. data/vendor/depot_tools/recipes/trigger_recipe_roller.txt +12 -0
  105. data/vendor/depot_tools/roll_dep.py +35 -37
  106. data/vendor/depot_tools/support/chromite_wrapper +1 -1
  107. data/vendor/depot_tools/third_party/logilab/astroid/README.chromium +3 -3
  108. data/vendor/depot_tools/third_party/logilab/astroid/__pkginfo__.py +2 -2
  109. data/vendor/depot_tools/third_party/logilab/astroid/astpeephole.py +86 -0
  110. data/vendor/depot_tools/third_party/logilab/astroid/bases.py +53 -66
  111. data/vendor/depot_tools/third_party/logilab/astroid/brain/py2pytest.py +31 -31
  112. data/vendor/depot_tools/third_party/logilab/astroid/brain/pynose.py +39 -16
  113. data/vendor/depot_tools/third_party/logilab/astroid/brain/pysix_moves.py +225 -189
  114. data/vendor/depot_tools/third_party/logilab/astroid/inference.py +45 -41
  115. data/vendor/depot_tools/third_party/logilab/astroid/manager.py +1 -0
  116. data/vendor/depot_tools/third_party/logilab/astroid/modutils.py +2 -2
  117. data/vendor/depot_tools/third_party/logilab/astroid/node_classes.py +3 -2
  118. data/vendor/depot_tools/third_party/logilab/astroid/nodes.py +1 -0
  119. data/vendor/depot_tools/third_party/logilab/astroid/protocols.py +57 -3
  120. data/vendor/depot_tools/third_party/logilab/astroid/raw_building.py +1 -1
  121. data/vendor/depot_tools/third_party/logilab/astroid/rebuilder.py +21 -1
  122. data/vendor/depot_tools/third_party/logilab/astroid/scoped_nodes.py +58 -33
  123. data/vendor/depot_tools/third_party/pylint/README.chromium +2 -2
  124. data/vendor/depot_tools/third_party/pylint/__pkginfo__.py +3 -3
  125. data/vendor/depot_tools/third_party/pylint/checkers/base.py +6 -18
  126. data/vendor/depot_tools/third_party/pylint/checkers/classes.py +64 -63
  127. data/vendor/depot_tools/third_party/pylint/checkers/design_analysis.py +25 -57
  128. data/vendor/depot_tools/third_party/pylint/checkers/format.py +14 -10
  129. data/vendor/depot_tools/third_party/pylint/checkers/python3.py +142 -37
  130. data/vendor/depot_tools/third_party/pylint/checkers/spelling.py +10 -1
  131. data/vendor/depot_tools/third_party/pylint/checkers/stdlib.py +50 -7
  132. data/vendor/depot_tools/third_party/pylint/checkers/strings.py +1 -1
  133. data/vendor/depot_tools/third_party/pylint/epylint.py +2 -1
  134. data/vendor/depot_tools/third_party/pylint/gui.py +1 -1
  135. data/vendor/depot_tools/third_party/pylint/lint.py +88 -23
  136. data/vendor/depot_tools/third_party/pylint/reporters/html.py +37 -5
  137. data/vendor/depot_tools/third_party/pylint/testutils.py +1 -1
  138. data/vendor/depot_tools/third_party/pylint/utils.py +5 -0
  139. data/vendor/depot_tools/vpython +31 -1
  140. data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +35 -2
  141. data/vendor/depot_tools/win_toolchain/package_from_installed.py +0 -15
  142. data/vendor/depot_tools/yapf +17 -0
  143. data/vendor/depot_tools/{apply_issue.bat → yapf.bat} +2 -2
  144. metadata +16 -58
  145. data/ext/libv8/compiler.rb +0 -39
  146. data/ext/libv8/compiler/apple_llvm.rb +0 -22
  147. data/ext/libv8/compiler/clang.rb +0 -22
  148. data/ext/libv8/compiler/gcc.rb +0 -22
  149. data/ext/libv8/compiler/generic_compiler.rb +0 -66
  150. data/ext/libv8/make.rb +0 -13
  151. data/ext/libv8/patcher.rb +0 -21
  152. data/patches/0001-Build-a-standalone-static-library.patch +0 -26
  153. data/patches/0002-Don-t-compile-unnecessary-stuff.patch +0 -85
  154. data/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch +0 -25
  155. data/patches/0004-Do-not-embed-debug-symbols-in-macOS-libraries.patch +0 -25
  156. data/patches/0005-Remove-TryInstallOptimizedCode.patch +0 -321
  157. data/patches/mingw-generate-makefiles.sh +0 -97
  158. data/spec/compiler/apple_llvm_spec.rb +0 -37
  159. data/spec/compiler/clang_spec.rb +0 -37
  160. data/spec/compiler/gcc_spec.rb +0 -37
  161. data/spec/compiler/generic_compiler_spec.rb +0 -50
  162. data/spec/compiler_spec.rb +0 -45
  163. data/spec/support/compiler_helpers.rb +0 -47
  164. data/vendor/depot_tools/apply_issue +0 -8
  165. data/vendor/depot_tools/apply_issue.py +0 -315
  166. data/vendor/depot_tools/man/html/git-cherry-pick-upload.html +0 -815
  167. data/vendor/depot_tools/man/man1/git-cherry-pick-upload.1 +0 -80
  168. data/vendor/depot_tools/man/src/_git-cherry-pick-upload_desc.helper.txt +0 -1
  169. data/vendor/depot_tools/man/src/git-cherry-pick-upload.demo.1.sh +0 -17
  170. data/vendor/depot_tools/man/src/git-cherry-pick-upload.txt +0 -35
  171. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2.json +0 -8
  172. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_json_win.json +0 -196
  173. data/vendor/depot_tools/recipes/recipe_modules/rietveld/__init__.py +0 -6
  174. data/vendor/depot_tools/recipes/recipe_modules/rietveld/api.py +0 -97
  175. data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.expected/basic.json +0 -8
  176. data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.expected/buildbot.json +0 -30
  177. data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.expected/no_auth.json +0 -27
  178. data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.py +0 -38
  179. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_rietveld_patch.json +0 -69
  180. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_rietveld_patch_new.json +0 -69
  181. data/vendor/depot_tools/third_party/cq_client/OWNERS +0 -2
  182. data/vendor/depot_tools/third_party/cq_client/README.depot_tools.md +0 -2
  183. data/vendor/depot_tools/third_party/cq_client/README.md +0 -59
  184. data/vendor/depot_tools/third_party/cq_client/__init__.py +0 -3
  185. data/vendor/depot_tools/third_party/cq_client/v1/__init__.py +0 -3
  186. data/vendor/depot_tools/third_party/cq_client/v1/cq.pb.go +0 -810
  187. data/vendor/depot_tools/third_party/cq_client/v1/cq.proto +0 -281
  188. data/vendor/depot_tools/third_party/cq_client/v1/cq_pb2.py +0 -794
  189. data/vendor/depot_tools/third_party/cq_client/v1/testdata/cq_both.cfg +0 -71
  190. data/vendor/depot_tools/third_party/cq_client/v1/testdata/cq_gerrit.cfg +0 -58
  191. data/vendor/depot_tools/third_party/cq_client/v1/testdata/cq_rietveld.cfg +0 -60
  192. data/vendor/depot_tools/third_party/cq_client/v2/__init__.py +0 -3
  193. data/vendor/depot_tools/third_party/cq_client/v2/cq.pb.go +0 -792
  194. data/vendor/depot_tools/third_party/cq_client/v2/cq.proto +0 -270
  195. data/vendor/depot_tools/third_party/cq_client/v2/cq_pb2.py +0 -841
@@ -8,6 +8,15 @@ from recipe_engine import recipe_test_api
8
8
 
9
9
 
10
10
  class BotUpdateTestApi(recipe_test_api.RecipeTestApi):
11
+ def properties(self, apply_patch_on_gclient):
12
+ ret = self.test(None)
13
+ ret.properties = {
14
+ '$depot_tools/bot_update': {
15
+ 'apply_patch_on_gclient': apply_patch_on_gclient,
16
+ }
17
+ }
18
+ return ret
19
+
11
20
  def output_json(self, root, first_sln, revision_mapping, fail_patch=False,
12
21
  fixed_revisions=None):
13
22
  """Deterministically synthesize json.output test data for gclient's
@@ -79,13 +79,8 @@ class GclientApi(recipe_api.RecipeApi):
79
79
  if self.spec_alias:
80
80
  prefix = ('[spec: %s] ' % self.spec_alias) + prefix
81
81
 
82
- # TODO(phajdan.jr): create a helper for adding to PATH.
83
- env = self.m.context.env
84
- env.setdefault('PATH', '%(PATH)s')
85
- env['PATH'] = self.m.path.pathsep.join([
86
- env['PATH'], str(self._module.PACKAGE_REPO_ROOT)])
87
-
88
- with self.m.context(env=env):
82
+ with self.m.context(
83
+ env_suffixes={'PATH': [self._module.PACKAGE_REPO_ROOT]}):
89
84
  return self.m.python(prefix + name,
90
85
  self.package_repo_resource('gclient.py'),
91
86
  cmd,
@@ -23,7 +23,7 @@ def BaseConfig(USE_MIRROR=True, CACHE_DIR=None,
23
23
  hidden=False),
24
24
  managed = Single(bool, empty_val=True, required=False, hidden=False),
25
25
  custom_deps = Dict(value_type=(basestring, types.NoneType)),
26
- custom_vars = Dict(value_type=basestring),
26
+ custom_vars = Dict(value_type=(basestring, types.BooleanType)),
27
27
  safesync_url = Single(basestring, required=False),
28
28
 
29
29
  revision = Single(
@@ -35,6 +35,8 @@ def BaseConfig(USE_MIRROR=True, CACHE_DIR=None,
35
35
  hooks = List(basestring),
36
36
  target_os = Set(basestring),
37
37
  target_os_only = Single(bool, empty_val=False, required=False),
38
+ target_cpu = Set(basestring),
39
+ target_cpu_only = Single(bool, empty_val=False, required=False),
38
40
  cache_dir = Static(cache_dir, hidden=False),
39
41
 
40
42
  # If supplied, use this as the source root (instead of the first solution's
@@ -92,6 +94,13 @@ def BaseConfig(USE_MIRROR=True, CACHE_DIR=None,
92
94
  required=False,
93
95
  hidden=True),
94
96
 
97
+ # Check out refs/tags.
98
+ with_tags = Single(
99
+ bool,
100
+ empty_val=False,
101
+ required=False,
102
+ hidden=True),
103
+
95
104
  disable_syntax_validation = Single(bool, empty_val=False, required=False),
96
105
 
97
106
  USE_MIRROR = Static(bool(USE_MIRROR)),
@@ -245,6 +254,8 @@ def pdfium(c):
245
254
  soln = c.solutions.add()
246
255
  soln.name = 'pdfium'
247
256
  soln.url = 'https://pdfium.googlesource.com/pdfium.git'
257
+ m = c.got_revision_mapping
258
+ m['pdfium'] = 'got_revision'
248
259
 
249
260
  @config_ctx()
250
261
  def mojo(c):
@@ -348,8 +359,7 @@ def recipes_py_bare(c):
348
359
  def catapult(c):
349
360
  soln = c.solutions.add()
350
361
  soln.name = 'catapult'
351
- soln.url = ('https://chromium.googlesource.com/external/github.com/'
352
- 'catapult-project/catapult.git')
362
+ soln.url = 'https://chromium.googlesource.com/catapult'
353
363
  c.got_revision_mapping['catapult'] = 'got_revision'
354
364
 
355
365
  @config_ctx(includes=['infra_internal'])
@@ -361,17 +371,27 @@ def infradata_master_manager(c):
361
371
  del c.got_revision_mapping['infra_internal']
362
372
  c.got_revision_mapping['infra-data-master-manager'] = 'got_revision'
363
373
 
374
+ @config_ctx()
375
+ def infradata_config(c):
376
+ soln = c.solutions.add()
377
+ soln.name = 'infra-data-config'
378
+ soln.url = 'https://chrome-internal.googlesource.com/infradata/config.git'
379
+ c.got_revision_mapping['infra-data-config'] = 'got_revision'
380
+
364
381
  @config_ctx()
365
382
  def with_branch_heads(c):
366
383
  c.with_branch_heads = True
367
384
 
385
+ @config_ctx()
386
+ def with_tags(c):
387
+ c.with_tags = True
388
+
368
389
  @config_ctx()
369
390
  def custom_tabs_client(c):
370
391
  soln = c.solutions.add()
371
392
  soln.name = 'custom_tabs_client'
372
393
  # TODO(pasko): test custom-tabs-client within a full chromium checkout.
373
- soln.url = ('https://chromium.googlesource.com/external/github.com/'
374
- 'GoogleChrome/custom-tabs-client.git')
394
+ soln.url = 'https://chromium.googlesource.com/custom-tabs-client'
375
395
  c.got_revision_mapping['custom_tabs_client'] = 'got_revision'
376
396
 
377
397
  @config_ctx()
@@ -379,3 +399,9 @@ def gerrit_test_cq_normal(c):
379
399
  soln = c.solutions.add()
380
400
  soln.name = 'gerrit-test-cq-normal'
381
401
  soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git'
402
+
403
+ @config_ctx()
404
+ def angle(c):
405
+ soln = c.solutions.add()
406
+ soln.name = 'angle'
407
+ soln.url = 'https://chromium.googlesource.com/angle/angle.git'
@@ -6,10 +6,12 @@
6
6
  "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
7
7
  "config",
8
8
  "--spec",
9
- "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]"
9
+ "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'custom_vars': {'string_var': 'string_val', 'true_var': True}, 'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]"
10
10
  ],
11
- "env": {
12
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
11
+ "env_suffixes": {
12
+ "PATH": [
13
+ "RECIPE_PACKAGE_REPO[depot_tools]"
14
+ ]
13
15
  },
14
16
  "infra_step": true,
15
17
  "name": "gclient setup"
@@ -33,8 +35,10 @@
33
35
  "--output-json",
34
36
  "/path/to/tmp/json"
35
37
  ],
36
- "env": {
37
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
38
+ "env_suffixes": {
39
+ "PATH": [
40
+ "RECIPE_PACKAGE_REPO[depot_tools]"
41
+ ]
38
42
  },
39
43
  "infra_step": true,
40
44
  "name": "gclient sync",
@@ -60,8 +64,10 @@
60
64
  "user.name",
61
65
  "local_bot"
62
66
  ],
63
- "env": {
64
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
67
+ "env_suffixes": {
68
+ "PATH": [
69
+ "RECIPE_PACKAGE_REPO[depot_tools]"
70
+ ]
65
71
  },
66
72
  "infra_step": true,
67
73
  "name": "gclient recurse (git config user.name)"
@@ -77,8 +83,10 @@
77
83
  "user.email",
78
84
  "local_bot@example.com"
79
85
  ],
80
- "env": {
81
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
86
+ "env_suffixes": {
87
+ "PATH": [
88
+ "RECIPE_PACKAGE_REPO[depot_tools]"
89
+ ]
82
90
  },
83
91
  "infra_step": true,
84
92
  "name": "gclient recurse (git config user.email)"
@@ -93,8 +101,10 @@
93
101
  "cache_dir = '[CACHE]/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'Angle', 'url': 'https://chromium.googlesource.com/angle/angle.git'}]"
94
102
  ],
95
103
  "cwd": "[START_DIR]/src/third_party",
96
- "env": {
97
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
104
+ "env_suffixes": {
105
+ "PATH": [
106
+ "RECIPE_PACKAGE_REPO[depot_tools]"
107
+ ]
98
108
  },
99
109
  "infra_step": true,
100
110
  "name": "[spec: Angle] gclient setup"
@@ -121,8 +131,10 @@
121
131
  "/path/to/tmp/json"
122
132
  ],
123
133
  "cwd": "[START_DIR]/src/third_party",
124
- "env": {
125
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
134
+ "env_suffixes": {
135
+ "PATH": [
136
+ "RECIPE_PACKAGE_REPO[depot_tools]"
137
+ ]
126
138
  },
127
139
  "infra_step": true,
128
140
  "name": "[spec: Angle] gclient sync",
@@ -153,8 +165,10 @@
153
165
  "local_bot"
154
166
  ],
155
167
  "cwd": "[START_DIR]/src/third_party",
156
- "env": {
157
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
168
+ "env_suffixes": {
169
+ "PATH": [
170
+ "RECIPE_PACKAGE_REPO[depot_tools]"
171
+ ]
158
172
  },
159
173
  "infra_step": true,
160
174
  "name": "[spec: Angle] gclient recurse (git config user.name)"
@@ -171,8 +185,10 @@
171
185
  "local_bot@example.com"
172
186
  ],
173
187
  "cwd": "[START_DIR]/src/third_party",
174
- "env": {
175
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
188
+ "env_suffixes": {
189
+ "PATH": [
190
+ "RECIPE_PACKAGE_REPO[depot_tools]"
191
+ ]
176
192
  },
177
193
  "infra_step": true,
178
194
  "name": "[spec: Angle] gclient recurse (git config user.email)"
@@ -209,8 +225,10 @@
209
225
  "runhooks"
210
226
  ],
211
227
  "cwd": "[START_DIR]/src",
212
- "env": {
213
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
228
+ "env_suffixes": {
229
+ "PATH": [
230
+ "RECIPE_PACKAGE_REPO[depot_tools]"
231
+ ]
214
232
  },
215
233
  "name": "gclient runhooks"
216
234
  },
@@ -6,10 +6,12 @@
6
6
  "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
7
7
  "config",
8
8
  "--spec",
9
- "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]"
9
+ "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'custom_vars': {'string_var': 'string_val', 'true_var': True}, 'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]"
10
10
  ],
11
- "env": {
12
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
11
+ "env_suffixes": {
12
+ "PATH": [
13
+ "RECIPE_PACKAGE_REPO[depot_tools]"
14
+ ]
13
15
  },
14
16
  "infra_step": true,
15
17
  "name": "gclient setup"
@@ -33,8 +35,10 @@
33
35
  "--output-json",
34
36
  "/path/to/tmp/json"
35
37
  ],
36
- "env": {
37
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
38
+ "env_suffixes": {
39
+ "PATH": [
40
+ "RECIPE_PACKAGE_REPO[depot_tools]"
41
+ ]
38
42
  },
39
43
  "infra_step": true,
40
44
  "name": "gclient sync",
@@ -60,8 +64,10 @@
60
64
  "user.name",
61
65
  "local_bot"
62
66
  ],
63
- "env": {
64
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
67
+ "env_suffixes": {
68
+ "PATH": [
69
+ "RECIPE_PACKAGE_REPO[depot_tools]"
70
+ ]
65
71
  },
66
72
  "infra_step": true,
67
73
  "name": "gclient recurse (git config user.name)"
@@ -77,8 +83,10 @@
77
83
  "user.email",
78
84
  "local_bot@example.com"
79
85
  ],
80
- "env": {
81
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
86
+ "env_suffixes": {
87
+ "PATH": [
88
+ "RECIPE_PACKAGE_REPO[depot_tools]"
89
+ ]
82
90
  },
83
91
  "infra_step": true,
84
92
  "name": "gclient recurse (git config user.email)"
@@ -93,8 +101,10 @@
93
101
  "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'Angle', 'url': 'https://chromium.googlesource.com/angle/angle.git'}]"
94
102
  ],
95
103
  "cwd": "[START_DIR]/src/third_party",
96
- "env": {
97
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
104
+ "env_suffixes": {
105
+ "PATH": [
106
+ "RECIPE_PACKAGE_REPO[depot_tools]"
107
+ ]
98
108
  },
99
109
  "infra_step": true,
100
110
  "name": "[spec: Angle] gclient setup"
@@ -121,8 +131,10 @@
121
131
  "/path/to/tmp/json"
122
132
  ],
123
133
  "cwd": "[START_DIR]/src/third_party",
124
- "env": {
125
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
134
+ "env_suffixes": {
135
+ "PATH": [
136
+ "RECIPE_PACKAGE_REPO[depot_tools]"
137
+ ]
126
138
  },
127
139
  "infra_step": true,
128
140
  "name": "[spec: Angle] gclient sync",
@@ -153,8 +165,10 @@
153
165
  "local_bot"
154
166
  ],
155
167
  "cwd": "[START_DIR]/src/third_party",
156
- "env": {
157
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
168
+ "env_suffixes": {
169
+ "PATH": [
170
+ "RECIPE_PACKAGE_REPO[depot_tools]"
171
+ ]
158
172
  },
159
173
  "infra_step": true,
160
174
  "name": "[spec: Angle] gclient recurse (git config user.name)"
@@ -171,8 +185,10 @@
171
185
  "local_bot@example.com"
172
186
  ],
173
187
  "cwd": "[START_DIR]/src/third_party",
174
- "env": {
175
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
188
+ "env_suffixes": {
189
+ "PATH": [
190
+ "RECIPE_PACKAGE_REPO[depot_tools]"
191
+ ]
176
192
  },
177
193
  "infra_step": true,
178
194
  "name": "[spec: Angle] gclient recurse (git config user.email)"
@@ -209,8 +225,10 @@
209
225
  "runhooks"
210
226
  ],
211
227
  "cwd": "[START_DIR]/src",
212
- "env": {
213
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
228
+ "env_suffixes": {
229
+ "PATH": [
230
+ "RECIPE_PACKAGE_REPO[depot_tools]"
231
+ ]
214
232
  },
215
233
  "name": "gclient runhooks"
216
234
  },
@@ -6,10 +6,12 @@
6
6
  "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
7
7
  "config",
8
8
  "--spec",
9
- "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]"
9
+ "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'custom_vars': {'string_var': 'string_val', 'true_var': True}, 'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]"
10
10
  ],
11
- "env": {
12
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
11
+ "env_suffixes": {
12
+ "PATH": [
13
+ "RECIPE_PACKAGE_REPO[depot_tools]"
14
+ ]
13
15
  },
14
16
  "infra_step": true,
15
17
  "name": "gclient setup"
@@ -35,8 +37,10 @@
35
37
  "--output-json",
36
38
  "/path/to/tmp/json"
37
39
  ],
38
- "env": {
39
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
40
+ "env_suffixes": {
41
+ "PATH": [
42
+ "RECIPE_PACKAGE_REPO[depot_tools]"
43
+ ]
40
44
  },
41
45
  "infra_step": true,
42
46
  "name": "gclient sync",
@@ -62,8 +66,10 @@
62
66
  "user.name",
63
67
  "local_bot"
64
68
  ],
65
- "env": {
66
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
69
+ "env_suffixes": {
70
+ "PATH": [
71
+ "RECIPE_PACKAGE_REPO[depot_tools]"
72
+ ]
67
73
  },
68
74
  "infra_step": true,
69
75
  "name": "gclient recurse (git config user.name)"
@@ -79,8 +85,10 @@
79
85
  "user.email",
80
86
  "local_bot@example.com"
81
87
  ],
82
- "env": {
83
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
88
+ "env_suffixes": {
89
+ "PATH": [
90
+ "RECIPE_PACKAGE_REPO[depot_tools]"
91
+ ]
84
92
  },
85
93
  "infra_step": true,
86
94
  "name": "gclient recurse (git config user.email)"
@@ -95,8 +103,10 @@
95
103
  "cache_dir = '[CACHE]/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'Angle', 'url': 'https://chromium.googlesource.com/angle/angle.git'}]"
96
104
  ],
97
105
  "cwd": "[START_DIR]/src/third_party",
98
- "env": {
99
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
106
+ "env_suffixes": {
107
+ "PATH": [
108
+ "RECIPE_PACKAGE_REPO[depot_tools]"
109
+ ]
100
110
  },
101
111
  "infra_step": true,
102
112
  "name": "[spec: Angle] gclient setup"
@@ -125,8 +135,10 @@
125
135
  "/path/to/tmp/json"
126
136
  ],
127
137
  "cwd": "[START_DIR]/src/third_party",
128
- "env": {
129
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
138
+ "env_suffixes": {
139
+ "PATH": [
140
+ "RECIPE_PACKAGE_REPO[depot_tools]"
141
+ ]
130
142
  },
131
143
  "infra_step": true,
132
144
  "name": "[spec: Angle] gclient sync",
@@ -157,8 +169,10 @@
157
169
  "local_bot"
158
170
  ],
159
171
  "cwd": "[START_DIR]/src/third_party",
160
- "env": {
161
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
172
+ "env_suffixes": {
173
+ "PATH": [
174
+ "RECIPE_PACKAGE_REPO[depot_tools]"
175
+ ]
162
176
  },
163
177
  "infra_step": true,
164
178
  "name": "[spec: Angle] gclient recurse (git config user.name)"
@@ -175,8 +189,10 @@
175
189
  "local_bot@example.com"
176
190
  ],
177
191
  "cwd": "[START_DIR]/src/third_party",
178
- "env": {
179
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
192
+ "env_suffixes": {
193
+ "PATH": [
194
+ "RECIPE_PACKAGE_REPO[depot_tools]"
195
+ ]
180
196
  },
181
197
  "infra_step": true,
182
198
  "name": "[spec: Angle] gclient recurse (git config user.email)"
@@ -213,8 +229,10 @@
213
229
  "runhooks"
214
230
  ],
215
231
  "cwd": "[START_DIR]/src",
216
- "env": {
217
- "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
232
+ "env_suffixes": {
233
+ "PATH": [
234
+ "RECIPE_PACKAGE_REPO[depot_tools]"
235
+ ]
218
236
  },
219
237
  "name": "gclient runhooks"
220
238
  },