chromium/chrome/common/apps/platform_apps/BUILD.gn

# Copyright 2018 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 chrome apps because enable_extensions=false.")

source_set("platform_apps") {
  sources = [
    "chrome_apps_api_permissions.cc",
    "chrome_apps_api_permissions.h",
    "chrome_apps_api_provider.cc",
    "chrome_apps_api_provider.h",
    "media_galleries_permission.cc",
    "media_galleries_permission.h",
    "media_galleries_permission_data.cc",
    "media_galleries_permission_data.h",
  ]

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

  deps = [
    "//chrome/common:resources_grit",
    "//chrome/common/apps/platform_apps/api",
    "//chrome/common/apps/platform_apps/api:apps_features",
    "//extensions/common",
    "//ipc",
  ]
}