diff --git a/BUILD.gn b/BUILD.gn index 3df3c0fe5681ca62b4b26a4ceaf432b88dbfd9e5..9ff2d99edee374649c365d77185129d34d168383 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -394,6 +394,8 @@ ohos_shared_library("absl_sync") { "${ABSEIL_DIR}/absl/synchronization/internal/create_thread_identity.cc", "${ABSEIL_DIR}/absl/synchronization/internal/create_thread_identity.h", "${ABSEIL_DIR}/absl/synchronization/internal/futex.h", + "${ABSEIL_DIR}/absl/synchronization/internal/graphcycles.cc", + "${ABSEIL_DIR}/absl/synchronization/internal/graphcycles.h", "${ABSEIL_DIR}/absl/synchronization/internal/per_thread_sem.cc", "${ABSEIL_DIR}/absl/synchronization/internal/per_thread_sem.h", "${ABSEIL_DIR}/absl/synchronization/internal/waiter.cc", diff --git a/configure_copts.gni b/configure_copts.gni index 8d7788c638ba51ab2630e7ea4b2bb828547d5bc5..ddc793abaaffabcd8f8202594a0e17611450d5f5 100644 --- a/configure_copts.gni +++ b/configure_copts.gni @@ -63,4 +63,5 @@ ABSL_DEFAULT_COPTS = [ "-Wno-reserved-identifier", "-Wno-shadow-field-in-constructor", "-Wno-unreachable-code-break", + "-Wno-missing-noreturn", ]