Remove .fp logic from CheckGeneratedFiles bot
Change-Id: I20541992cc85bf52c5672c437fe6baa823841987 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/426397 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
552a81a6c7
commit
768843b52f
@ -170,31 +170,6 @@
|
||||
},
|
||||
"name": "generate gl interfaces"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"import os\nimport subprocess\n\nfor r, d, files in os.walk(os.path.join('[START_DIR]/cache/work/skia', 'src')):\n for f in files:\n if f.endswith('.fp'):\n path = os.path.join(r, f)\n print 'touch %s' % path\n subprocess.check_call(['touch', path])\n"
|
||||
],
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "touch fp files",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@python.inline@import os@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@for r, d, files in os.walk(os.path.join('[START_DIR]/cache/work/skia', 'src')):@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@ if f.endswith('.fp'):@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@ path = os.path.join(r, f)@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@ print 'touch %s' % path@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@ subprocess.check_call(['touch', path])@@@",
|
||||
"@@@STEP_LOG_END@python.inline@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"vpython",
|
||||
|
@ -43,21 +43,6 @@ def RunSteps(api):
|
||||
api.step('generate gl interfaces',
|
||||
cmd=['make', '-C', 'tools/gpu/gl/interface', 'generate'])
|
||||
|
||||
# Touch all .fp files so that the generated files are rebuilt.
|
||||
api.run(
|
||||
api.python.inline,
|
||||
'touch fp files',
|
||||
program="""import os
|
||||
import subprocess
|
||||
|
||||
for r, d, files in os.walk(os.path.join('%s', 'src')):
|
||||
for f in files:
|
||||
if f.endswith('.fp'):
|
||||
path = os.path.join(r, f)
|
||||
print 'touch %%s' %% path
|
||||
subprocess.check_call(['touch', path])
|
||||
""" % cwd)
|
||||
|
||||
# Run GN, regenerate the SKSL files, and make sure rewritten #includes work.
|
||||
api.build(checkout_root=checkout_root,
|
||||
out_dir=api.vars.build_dir.join('out', 'Release'))
|
||||
|
Loading…
Reference in New Issue
Block a user