Skip to content

quiche: build quiche libraries#7340

Merged
mattklein123 merged 16 commits intoenvoyproxy:masterfrom
danzh2010:buildquche
Jun 20, 2019
Merged

quiche: build quiche libraries#7340
mattklein123 merged 16 commits intoenvoyproxy:masterfrom
danzh2010:buildquche

Conversation

@danzh2010
Copy link
Copy Markdown
Contributor

@danzh2010 danzh2010 commented Jun 20, 2019

Build quiche libraries needed for integration.
Update tar ball to 77ae31cbfb5bf41299c8c10a06a205a8a0d37cae. Remove quic_socket_address_impl.h. Add quic_bbr2_sender_impl.h. Update quic_logging_impl.h to support printing vector.
Sort all quic build targets in quiche.BUILD in alphabetical order.

Risk Level: low, not in use
Testing: no new code added, as long as bazel/external/quiche.BUILD compiles, it's fine.
Part of #2557

danzh1989 added 13 commits June 6, 2019 16:16
Signed-off-by: Dan Zhang <danzh@google.com>
Signed-off-by: Dan Zhang <danzh@google.com>
Signed-off-by: Dan Zhang <danzh@google.com>
Signed-off-by: Dan Zhang <danzh@google.com>
Signed-off-by: Dan Zhang <danzh@google.com>
Signed-off-by: Dan Zhang <danzh@google.com>
Signed-off-by: Dan Zhang <danzh@google.com>
Signed-off-by: Dan Zhang <danzh@google.com>
Signed-off-by: Dan Zhang <danzh@google.com>
Signed-off-by: Dan Zhang <danzh@google.com>
Signed-off-by: Dan Zhang <danzh@google.com>
Signed-off-by: Dan Zhang <danzh@google.com>
Signed-off-by: Dan Zhang <danzh@google.com>
@danzh2010
Copy link
Copy Markdown
Contributor Author

/assign wub

@repokitteh-read-only
Copy link
Copy Markdown

wub cannot be assigned to this issue.

🐱

Caused by: a #7340 (comment) was created by @danzh2010.

see: more, trace.

@danzh2010
Copy link
Copy Markdown
Contributor Author

/assign @wu-bin

Signed-off-by: Dan Zhang <danzh@google.com>
wu-bin
wu-bin previously approved these changes Jun 20, 2019
Copy link
Copy Markdown
Contributor

@wu-bin wu-bin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good! Just some nits on naming.


template <typename T> class QuicReferenceCountedPointerImpl {
public:
static_assert(std::is_base_of<QuicReferenceCountedImpl, T>::value,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, can I know what is the reason for this change?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

T might be just a forward declaration. In such case, this static_assert is checking incomplete type

name = "quic_platform_ip_address",
srcs = ["quiche/quic/platform/api/quic_ip_address.cc"],
hdrs = ["quiche/quic/platform/api/quic_ip_address.h"],
name = "quic_core_ack_listener_interface",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The internal name is "quic_ack_listener_interface_lib", please keep them in sync.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

srcs = ["quiche/quic/platform/api/quic_socket_address.cc"],
hdrs = ["quiche/quic/platform/api/quic_socket_address.h"],
copts = quiche_copt,
name = "quic_core_alarm_interface",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, the internal name is "quic_alarm_interface_lib"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

# "quiche/quic/platform/api/quic_fuzzed_data_provider.h",
# "quiche/quic/platform/api/quic_test_loopback.h",
],
name = "quic_core_alarm_factory_interface",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be quic_core_alarm_factory_interface_lib.

Can you go through this file and make sure all core library names are in sync? (looks like names end with "_interface" are different)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Signed-off-by: Dan Zhang <danzh@google.com>
wu-bin
wu-bin previously approved these changes Jun 20, 2019
Signed-off-by: Dan Zhang <danzh@google.com>
@danzh2010
Copy link
Copy Markdown
Contributor Author

/assign @alyssawilk

@danzh2010
Copy link
Copy Markdown
Contributor Author

/assign @mattklein123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants