Separate masque private_tokens code into a separate source list. This code depends on anonymous_tokens code that is available as open source but is not part of or depended on by QUICHE, so it does not build by default. PiperOrigin-RevId: 864434786
diff --git a/build/source_list.bzl b/build/source_list.bzl index 936906c..7b95eec 100644 --- a/build/source_list.bzl +++ b/build/source_list.bzl
@@ -1018,6 +1018,12 @@ "balsa/simple_buffer.cc", "balsa/standard_header_map.cc", ] +masque_private_tokens_hdrs = [ + "quic/masque/private_tokens.h", +] +masque_private_tokens_srcs = [ + "quic/masque/private_tokens.cc", +] masque_support_hdrs = [ "quic/masque/masque_client.h", "quic/masque/masque_client_session.h", @@ -1032,7 +1038,6 @@ "quic/masque/masque_server_backend.h", "quic/masque/masque_server_session.h", "quic/masque/masque_utils.h", - "quic/masque/private_tokens.h", ] masque_support_srcs = [ "quic/masque/masque_client.cc", @@ -1048,7 +1053,6 @@ "quic/masque/masque_server_backend.cc", "quic/masque/masque_server_session.cc", "quic/masque/masque_utils.cc", - "quic/masque/private_tokens.cc", ] io_tool_support_hdrs = [ "common/platform/api/quiche_event_loop.h",
diff --git a/build/source_list.gni b/build/source_list.gni index fdeba3b..4b683b3 100644 --- a/build/source_list.gni +++ b/build/source_list.gni
@@ -1018,6 +1018,12 @@ "src/quiche/balsa/simple_buffer.cc", "src/quiche/balsa/standard_header_map.cc", ] +masque_private_tokens_hdrs = [ + "src/quiche/quic/masque/private_tokens.h", +] +masque_private_tokens_srcs = [ + "src/quiche/quic/masque/private_tokens.cc", +] masque_support_hdrs = [ "src/quiche/quic/masque/masque_client.h", "src/quiche/quic/masque/masque_client_session.h", @@ -1032,7 +1038,6 @@ "src/quiche/quic/masque/masque_server_backend.h", "src/quiche/quic/masque/masque_server_session.h", "src/quiche/quic/masque/masque_utils.h", - "src/quiche/quic/masque/private_tokens.h", ] masque_support_srcs = [ "src/quiche/quic/masque/masque_client.cc", @@ -1048,7 +1053,6 @@ "src/quiche/quic/masque/masque_server_backend.cc", "src/quiche/quic/masque/masque_server_session.cc", "src/quiche/quic/masque/masque_utils.cc", - "src/quiche/quic/masque/private_tokens.cc", ] io_tool_support_hdrs = [ "src/quiche/common/platform/api/quiche_event_loop.h",
diff --git a/build/source_list.json b/build/source_list.json index 27714a5..802917f 100644 --- a/build/source_list.json +++ b/build/source_list.json
@@ -1017,6 +1017,12 @@ "quiche/balsa/simple_buffer.cc", "quiche/balsa/standard_header_map.cc" ], + "masque_private_tokens_hdrs": [ + "quiche/quic/masque/private_tokens.h" + ], + "masque_private_tokens_srcs": [ + "quiche/quic/masque/private_tokens.cc" + ], "masque_support_hdrs": [ "quiche/quic/masque/masque_client.h", "quiche/quic/masque/masque_client_session.h", @@ -1030,8 +1036,7 @@ "quiche/quic/masque/masque_server.h", "quiche/quic/masque/masque_server_backend.h", "quiche/quic/masque/masque_server_session.h", - "quiche/quic/masque/masque_utils.h", - "quiche/quic/masque/private_tokens.h" + "quiche/quic/masque/masque_utils.h" ], "masque_support_srcs": [ "quiche/quic/masque/masque_client.cc", @@ -1046,8 +1051,7 @@ "quiche/quic/masque/masque_server.cc", "quiche/quic/masque/masque_server_backend.cc", "quiche/quic/masque/masque_server_session.cc", - "quiche/quic/masque/masque_utils.cc", - "quiche/quic/masque/private_tokens.cc" + "quiche/quic/masque/masque_utils.cc" ], "io_tool_support_hdrs": [ "quiche/common/platform/api/quiche_event_loop.h",