chromium/extensions/browser/api/automation_internal/BUILD.gn

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

import("//extensions/buildflags/buildflags.gni")

assert(enable_extensions,
       "Cannot depend on extensions because enable_extensions=false.")

source_set("automation_internal") {
  sources = [
    "automation_event_router.cc",
    "automation_event_router.h",
    "automation_event_router_interface.h",
    "automation_internal_api.cc",
    "automation_internal_api.h",
    "automation_internal_api_delegate.cc",
    "automation_internal_api_delegate.h",
  ]

  configs += [ "//build/config/compiler:wexit_time_destructors" ]

  public_deps = [
    "//extensions/browser:browser_sources",
    "//extensions/browser/api/app_runtime:app_runtime",
    "//services/accessibility/public/mojom:automation",
  ]

  deps = [
    "//build:chromeos_buildflags",
    "//components/prefs",
    "//content/public/browser",
    "//extensions/common",
    "//extensions/common/api",
  ]
}