| # 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("menu") { |
| visibility = [ "//components/dbus/*" ] |
| sources = [ |
| "menu.cc", |
| "menu.h", |
| "menu_property_list.cc", |
| "menu_property_list.h", |
| ] |
| defines = [ "IS_COMPONENTS_DBUS_IMPL" ] |
| deps = [ |
| "//base", |
| "//base:i18n", |
| "//components/dbus/properties", |
| "//components/dbus/utils", |
| ] |
| public_deps = [ |
| "//dbus", |
| "//skia", |
| "//ui/base", |
| "//ui/gfx", |
| "//ui/menus", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| visibility = [ "//components/dbus:unit_tests" ] |
| sources = [ "menu_property_list_unittest.cc" ] |
| deps = [ |
| ":menu", |
| "//base", |
| "//build:chromecast_buildflags", |
| "//components/dbus/properties", |
| "//components/dbus/utils", |
| "//testing/gtest", |
| "//ui/events:test_support", |
| ] |
| } |