diff options
author | Jordan Bayles <jophba@chromium.org> | 2020-11-19 15:23:59 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-24 00:29:47 +0000 |
commit | b5ac6d34a14cc938258a938ebe3604a93776f7fa (patch) | |
tree | d1639452d029c93f6c6a233a0d3b7509190b199d /util/BUILD.gn | |
parent | a63f1abf172a55dde56701209770e1deb3fc52b1 (diff) | |
download | openscreen-b5ac6d34a14cc938258a938ebe3604a93776f7fa.tar.gz |
Add new enum name table
Add a new using statement and simple helper methods for storing enum
names as strings.
Doing this instead of porting Chrome's EnumTable class.
Bug: crbug.com/openscreen/111
Change-Id: Ib92be8d1837782fd28398e96e3e3a50674d4a07f
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2545125
Reviewed-by: Ryan Keane <rwkeane@google.com>
Commit-Queue: Jordan Bayles <jophba@chromium.org>
Diffstat (limited to 'util/BUILD.gn')
-rw-r--r-- | util/BUILD.gn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/BUILD.gn b/util/BUILD.gn index 2fdd24c0..9886c657 100644 --- a/util/BUILD.gn +++ b/util/BUILD.gn @@ -40,6 +40,7 @@ source_set("util") { "crypto/secure_hash.h", "crypto/sha2.cc", "crypto/sha2.h", + "enum_name_table.h", "hashing.h", "integer_division.h", "json/json_helpers.h", @@ -91,6 +92,7 @@ source_set("unittests") { "crypto/rsa_private_key_unittest.cc", "crypto/secure_hash_unittest.cc", "crypto/sha2_unittest.cc", + "enum_name_table_unittest.cc", "integer_division_unittest.cc", "json/json_helpers_unittest.cc", "json/json_serialization_unittest.cc", |