# Copyright 2023 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. assert(is_chromeos) source_set("quick_start_decoder") { sources = [ "quick_start_conversions.cc", "quick_start_conversions.h", "quick_start_decoder.cc", "quick_start_decoder.h", ] configs += [ "//build/config/compiler:wexit_time_destructors" ] deps = [ "//base", "//chromeos/ash/components/quick_start", "//chromeos/ash/services/nearby/public/mojom", "//components/cbor", "//mojo/public/cpp/bindings", ] } source_set("unit_tests") { testonly = true sources = [ "quick_start_decoder_unittest.cc" ] deps = [ ":quick_start_decoder", "//base/test:test_support", "//chromeos/ash/components/quick_start", "//chromeos/ash/services/nearby/public/mojom", "//components/cbor", "//mojo/public/cpp/bindings", "//testing/gmock", "//testing/gtest", ] # TODO(crbug.com/40031409): Fix code that adds exit-time destructors and # enable the diagnostic by removing this line. configs += [ "//build/config/compiler:no_exit_time_destructors" ] }