ada5a44f3b
exec_script runs every time gn does, which is explicitly on every one of our bot runs. That should be enough to obviate the .git/logs/HEAD hack. Easiest way to do this was to swap around find.py's argument order to allow multiple search directories. This is the root of all the .gyp changes. This moves the blacklist into BUILD.gn, which I think is nice. It expands it a little as we're now searching recursively, into include/gpu/vk which we can't include safely without the Vulkan SDK. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2205903004 Review-Url: https://codereview.chromium.org/2205903004
17 lines
423 B
Python
17 lines
423 B
Python
#!/usr/bin/env python
|
|
#
|
|
# Copyright 2016 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import sys
|
|
|
|
with open(sys.argv[1], "w") as f:
|
|
f.write('// skia.h generated by GN.\n')
|
|
f.write('#ifndef skia_h_DEFINED\n')
|
|
f.write('#define skia_h_DEFINED\n')
|
|
for h in sys.argv[2:]:
|
|
f.write('#include "' + h + '"\n')
|
|
f.write('#endif//skia_h_DEFINED\n')
|