| # Copyright 2020 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/chromeos/ui_mode.gni") |
| import("//build/config/linux/gtk/gtk.gni") |
| import("//build/lacros/lacros_resource_sizes.gni") |
| |
| # Code lives in the lacros-chrome browser only, not ash-chrome. |
| assert(chromeos_is_browser_only) |
| assert(!use_gtk) |
| |
| component("lacros") { |
| defines = [ "IS_CHROMEOS_LACROS_IMPL" ] |
| deps = [ |
| "//base", |
| "//chromeos/crosapi/mojom", |
| "//mojo/public/cpp/bindings", |
| ] |
| sources = [ |
| "lacros_chrome_service_delegate.h", |
| "lacros_chrome_service_impl.cc", |
| "lacros_chrome_service_impl.h", |
| ] |
| } |
| |
| lacros_resource_sizes_test("resource_sizes_lacros_chrome") { |
| data_deps = [ "//chrome:chrome" ] |
| } |