diff options
author | Wyatt Hepler <hepler@google.com> | 2021-04-05 18:00:24 -0700 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2021-04-06 23:03:29 +0000 |
commit | 7c8b339ca254a8a56a27d34be7c551bb3ec94e9c (patch) | |
tree | 6a334e926f9d69450f5c2de169ff2b4fca52907e | |
parent | 21ab0f4ec0e6fd82d13187a940b820f57003c469 (diff) | |
download | pigweed-7c8b339ca254a8a56a27d34be7c551bb3ec94e9c.tar.gz |
pw_tokenizer: Move encode_args.h header to make it public
Change-Id: I337cd70dce1344cd61a661ca41d50035d2b37aa2
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/39983
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Wyatt Hepler <hepler@google.com>
-rw-r--r-- | pw_tokenizer/BUILD | 2 | ||||
-rw-r--r-- | pw_tokenizer/BUILD.gn | 4 | ||||
-rw-r--r-- | pw_tokenizer/encode_args.cc | 2 | ||||
-rw-r--r-- | pw_tokenizer/public/pw_tokenizer/encode_args.h (renamed from pw_tokenizer/pw_tokenizer_private/encode_args.h) | 0 | ||||
-rw-r--r-- | pw_tokenizer/tokenize.cc | 2 | ||||
-rw-r--r-- | pw_tokenizer/tokenize_to_global_handler.cc | 2 | ||||
-rw-r--r-- | pw_tokenizer/tokenize_to_global_handler_with_payload.cc | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/pw_tokenizer/BUILD b/pw_tokenizer/BUILD index f05d088d2..4b288be09 100644 --- a/pw_tokenizer/BUILD +++ b/pw_tokenizer/BUILD @@ -37,10 +37,10 @@ pw_cc_library( "public/pw_tokenizer/internal/pw_tokenizer_65599_fixed_length_80_hash_macro.h", "public/pw_tokenizer/internal/pw_tokenizer_65599_fixed_length_96_hash_macro.h", "public/pw_tokenizer/internal/tokenize_string.h", - "pw_tokenizer_private/encode_args.h", "tokenize.cc", ], hdrs = [ + "public/pw_tokenizer/encode_args.h", "public/pw_tokenizer/hash.h", "public/pw_tokenizer/tokenize.h", ], diff --git a/pw_tokenizer/BUILD.gn b/pw_tokenizer/BUILD.gn index 17749745a..8a0305f09 100644 --- a/pw_tokenizer/BUILD.gn +++ b/pw_tokenizer/BUILD.gn @@ -76,6 +76,7 @@ pw_source_set("pw_tokenizer") { ] deps = [ dir_pw_varint ] public = [ + "public/pw_tokenizer/encode_args.h", "public/pw_tokenizer/hash.h", "public/pw_tokenizer/tokenize.h", ] @@ -90,7 +91,6 @@ pw_source_set("pw_tokenizer") { "public/pw_tokenizer/internal/pw_tokenizer_65599_fixed_length_80_hash_macro.h", "public/pw_tokenizer/internal/pw_tokenizer_65599_fixed_length_96_hash_macro.h", "public/pw_tokenizer/internal/tokenize_string.h", - "pw_tokenizer_private/encode_args.h", "tokenize.cc", ] friend = [ ":*" ] @@ -274,6 +274,7 @@ _simple_tokenize_test_sources = [ "$dir_pw_varint/varint.cc", "encode_args.cc", "public/pw_tokenizer/config.h", + "public/pw_tokenizer/encode_args.h", "public/pw_tokenizer/hash.h", "public/pw_tokenizer/internal/argument_types.h", "public/pw_tokenizer/internal/argument_types_macro_4_byte.h", @@ -285,7 +286,6 @@ _simple_tokenize_test_sources = [ "public/pw_tokenizer/tokenize.h", "public/pw_tokenizer/tokenize_to_global_handler.h", "public/pw_tokenizer/tokenize_to_global_handler_with_payload.h", - "pw_tokenizer_private/encode_args.h", "simple_tokenize_test.cc", "tokenize.cc", "tokenize_to_global_handler.cc", diff --git a/pw_tokenizer/encode_args.cc b/pw_tokenizer/encode_args.cc index 1ab08edb8..041d51f41 100644 --- a/pw_tokenizer/encode_args.cc +++ b/pw_tokenizer/encode_args.cc @@ -12,7 +12,7 @@ // License for the specific language governing permissions and limitations under // the License. -#include "pw_tokenizer_private/encode_args.h" +#include "pw_tokenizer/encode_args.h" #include <algorithm> #include <cstring> diff --git a/pw_tokenizer/pw_tokenizer_private/encode_args.h b/pw_tokenizer/public/pw_tokenizer/encode_args.h index d16c3bf8b..d16c3bf8b 100644 --- a/pw_tokenizer/pw_tokenizer_private/encode_args.h +++ b/pw_tokenizer/public/pw_tokenizer/encode_args.h diff --git a/pw_tokenizer/tokenize.cc b/pw_tokenizer/tokenize.cc index 16703bbd0..f34a81d30 100644 --- a/pw_tokenizer/tokenize.cc +++ b/pw_tokenizer/tokenize.cc @@ -20,7 +20,7 @@ #include <cstring> -#include "pw_tokenizer_private/encode_args.h" +#include "pw_tokenizer/encode_args.h" namespace pw { namespace tokenizer { diff --git a/pw_tokenizer/tokenize_to_global_handler.cc b/pw_tokenizer/tokenize_to_global_handler.cc index da36a494d..78b79a0dd 100644 --- a/pw_tokenizer/tokenize_to_global_handler.cc +++ b/pw_tokenizer/tokenize_to_global_handler.cc @@ -14,7 +14,7 @@ #include "pw_tokenizer/tokenize_to_global_handler.h" -#include "pw_tokenizer_private/encode_args.h" +#include "pw_tokenizer/encode_args.h" namespace pw { namespace tokenizer { diff --git a/pw_tokenizer/tokenize_to_global_handler_with_payload.cc b/pw_tokenizer/tokenize_to_global_handler_with_payload.cc index 56b652011..0380aef2c 100644 --- a/pw_tokenizer/tokenize_to_global_handler_with_payload.cc +++ b/pw_tokenizer/tokenize_to_global_handler_with_payload.cc @@ -14,7 +14,7 @@ #include "pw_tokenizer/tokenize_to_global_handler_with_payload.h" -#include "pw_tokenizer_private/encode_args.h" +#include "pw_tokenizer/encode_args.h" namespace pw { namespace tokenizer { |