chromium/chrome/browser/ui/tabs/BUILD.gn

# Copyright 2021 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# This is the public interface for tabs in a desktop browser. Most features in
# //chrome/browser depend on this interface, and thus to prevent circular
# dependencies this interface should not depend on anything else in //chrome.
source_set("tabs") {
  public = [
    "public/tab_features.h",
    "public/tab_interface.h",
    "tab_network_state.h",
  ]
  sources = [ "tab_network_state.cc" ]
  public_deps = [ "//base" ]
  deps = [ "//content/public/browser" ]
}

# These enums should not need to depend on chrome/browser/ui. They have been
# broken out of the chrome/browser/ui build file into a separate target to
# prevent a circular dependency between mojo targets that chrome/browser/ui
# depends on which have these enums in their dependency chain.
source_set("tab_enums") {
  sources = [ "tab_enums.h" ]
}