| # Copyright 2017 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//chrome/common/features.gni") |
| import("//mojo/public/tools/bindings/mojom.gni") |
| import("//third_party/protobuf/proto_library.gni") |
| |
| mojom("mojo_bindings") { |
| sources = [ "lifecycle_unit_state.mojom" ] |
| webui_module_path = "/" |
| } |
| |
| source_set("tab_manager_features") { |
| public = [ "tab_manager_features.h" ] |
| |
| sources = [ "tab_manager_features.cc" ] |
| |
| deps = [ |
| "//base", |
| "//chrome/common:chrome_features", |
| ] |
| } |
| |
| source_set("resource_coordinator") { |
| sources = [] |
| public_deps = [] |
| |
| if (!is_android) { |
| sources += [ |
| "decision_details.h", |
| "lifecycle_unit.h", |
| "tab_load_tracker.h", |
| ] |
| public_deps += [ |
| ":mojo_bindings", |
| ":mojo_bindings__generator", |
| "//base", |
| "//content/public/browser", |
| ] |
| } |
| } |