| # Copyright 2019 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("thread_linux") { |
| visibility = [ |
| "//components/dbus/*", |
| "//services/device/wake_lock/power_save_blocker", |
| ] |
| sources = [ |
| "dbus_thread_linux.cc", |
| "dbus_thread_linux.h", |
| ] |
| defines = [ "IS_COMPONENTS_DBUS_IMPL" ] |
| deps = [ |
| "//base", |
| "//dbus", |
| ] |
| |
| # 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" ] |
| } |