naiveproxy/chrome/browser/web_applications/bookmark_apps/BUILD.gn
2018-12-09 21:59:24 -05:00

60 lines
1.6 KiB
Plaintext

# Copyright 2018 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("//extensions/buildflags/buildflags.gni")
assert(enable_extensions)
source_set("bookmark_apps") {
sources = [
"external_web_apps.cc",
"external_web_apps.h",
"policy/web_app_policy_constants.cc",
"policy/web_app_policy_constants.h",
"policy/web_app_policy_manager.cc",
"policy/web_app_policy_manager.h",
]
deps = [
"//chrome/browser/extensions",
"//chrome/browser/web_applications:web_app_group",
"//chrome/browser/web_applications/components",
"//chrome/browser/web_applications/extensions",
"//chrome/common",
"//components/favicon/content",
"//components/pref_registry",
"//skia",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"external_web_apps_unittest.cc",
"policy/web_app_policy_manager_unittest.cc",
]
deps = [
":bookmark_apps",
"//base",
"//chrome/browser",
"//chrome/browser/web_applications:web_app_group",
"//chrome/browser/web_applications:web_applications",
"//chrome/browser/web_applications/components",
"//chrome/browser/web_applications/components:test_support",
"//chrome/browser/web_applications/extensions",
"//chrome/common:constants",
"//chrome/test:test_support",
"//components/crx_file:crx_file",
"//components/sync_preferences:test_support",
"//content/test:test_support",
"//extensions/common",
"//skia",
"//testing/gmock",
"//testing/gtest",
"//url",
]
}