Skip to content

Commit 54f2f3d

Browse files
authored
* no static initializers Chromium bans static initializers of class objects. Wrap the std::array static variables with a function that returns a reference to them. This is option 2 to remove static initializers, at https://chromium.googlesource.com/chromium/src.git/+/HEAD/docs/static_initializers.md#Removing-Static-Initializers Also, lookup methods update a pointer-to-const pointer. * Fix GN build for ggt.py modules
1 parent cc1e6c5 commit 54f2f3d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

BUILD.gn

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ action("spvtools_core_tables") {
4949
cldebuginfo100_insts_file,
5050
core_json_file,
5151
debuginfo_insts_file,
52+
"utils/Table/__init__.py",
53+
"utils/Table/Context.py",
54+
"utils/Table/IndexRange.py",
55+
"utils/Table/Operand.py",
56+
"utils/Table/StringList.py",
5257
]
5358
outputs = [
5459
core_tables_body_file,

0 commit comments

Comments
 (0)