Use a Fuchsia SDK path that matches the layout of the Flutter source tree
Change-Id: I372153b75b6328b584040872dd8c2ace3cb463bf
Reviewed-on: https://flutter-review.googlesource.com/c/third_party/abseil-cpp/+/68060
Reviewed-by: Jackson Gardner <jacksongardner@google.com>
diff --git a/absl/time/internal/cctz/BUILD.gn b/absl/time/internal/cctz/BUILD.gn
index af4c1c3..375f604 100644
--- a/absl/time/internal/cctz/BUILD.gn
+++ b/absl/time/internal/cctz/BUILD.gn
@@ -43,4 +43,18 @@
":civil_time",
"//flutter/third_party/abseil-cpp/absl/base:config",
]
+ if (is_fuchsia) {
+ # Remove when fixed in Fuchsia SDK:
+ # https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=127301
+ cflags_cc = [
+ "-Wno-sign-conversion",
+ ]
+ deps += [
+ "//fuchsia/sdk/$host_os/fidl/fuchsia.intl:fuchsia.intl_hlcpp",
+ "//fuchsia/sdk/$host_os/pkg/async",
+ "//fuchsia/sdk/$host_os/pkg/async-loop-cpp",
+ "//fuchsia/sdk/$host_os/pkg/sys_cpp",
+ "//fuchsia/sdk/$host_os/pkg/zx",
+ ]
+ }
}