--
You received this message because you are subscribed to the Google Groups "cxx" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cxx+uns...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CACSHbcR1KeP321fDWqvxs75Mtkf7OCCUn9t8eeC5fzOcj8YS4Q%40mail.gmail.com.
As far as I remember, the path recommended by the Abseil upstream is absl/types/optional.h, which is what some of the Chromium dependencies (WebRTC and QUICHE) already use. Is there any good reason to not just use that?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CAHtyhaSnSt3D3W8QN1yVKBSsuytAzW%2BNtuHO4y13dVU0GZ8t-Q%40mail.gmail.com.
Of additional note: all of upstream uses "third_party/absl/...", which is the actual path. We could presumably modify our roll procedure to remove that one directory component (abseil-cpp/) if it is a significant barrier.
On Mon, Jun 21, 2021 at 2:47 PM Jeremy Roman <jbr...@chromium.org> wrote:I don't really understand what's particularly compelling about this case as a reason to deviate from our usual style of using the full path from the src/ directory. In upstream Google code long include paths are routine, and even within Chromium we have frequently-used headers with includes like:#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CAHtyhaQ1Z2Yi88DEWFt_do7ECeWxw9DqX6hCvYJPAH51ekS64w%40mail.gmail.com.
+1 to keeping things as they are. One of the points of absl is that upstream deps like webrtc can use it too, and having a forwarding header or a different path makes it harder to move files between upstream and downstream.
On Tue, Jun 22, 2021 at 12:24 PM Nico Weber <tha...@chromium.org> wrote:+1 to keeping things as they are. One of the points of absl is that upstream deps like webrtc can use it too, and having a forwarding header or a different path makes it harder to move files between upstream and downstream.Isn't the include path in downstream already different (not in third_party/abseil-cpp?) https://source.chromium.org/search?q=f:webrtc%20f:third_party%20include.*absl%2F&ss=chromium%2Fchromium%2Fsrc