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

93 lines
2.4 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("extensions") {
sources = [
"bookmark_app_data_retriever.cc",
"bookmark_app_data_retriever.h",
"bookmark_app_installation_task.cc",
"bookmark_app_installation_task.h",
"bookmark_app_installer.cc",
"bookmark_app_installer.h",
"bookmark_app_shortcut_installation_task.cc",
"bookmark_app_shortcut_installation_task.h",
"bookmark_app_util.cc",
"bookmark_app_util.h",
"pending_bookmark_app_manager.cc",
"pending_bookmark_app_manager.h",
"web_app_extension_ids_map.cc",
"web_app_extension_ids_map.h",
"web_app_extension_shortcut.cc",
"web_app_extension_shortcut.h",
"web_app_extension_shortcut_mac.h",
"web_app_extension_shortcut_mac.mm",
]
deps = [
"//base",
"//chrome/browser/web_applications:web_app_group",
"//chrome/browser/web_applications/components",
"//chrome/common",
"//components/pref_registry",
"//content/public/browser",
"//extensions/browser",
"//skia",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"bookmark_app_data_retriever_unittest.cc",
"bookmark_app_installation_task_unittest.cc",
"bookmark_app_installer_unittest.cc",
"pending_bookmark_app_manager_unittest.cc",
]
deps = [
":extensions",
"//chrome/browser",
"//chrome/browser/web_applications:web_app_group",
"//chrome/browser/web_applications/components",
"//chrome/common",
"//chrome/test:test_support",
"//components/crx_file:crx_file",
"//content/public/browser",
"//content/test:test_support",
"//extensions/browser/install",
"//extensions/common",
"//skia",
"//testing/gtest",
]
}
source_set("browser_tests") {
testonly = true
sources = [
"pending_bookmark_app_manager_browsertest.cc",
]
defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
deps = [
":extensions",
"//base/test:test_support",
"//chrome/browser",
"//chrome/browser/ui",
"//chrome/browser/web_applications",
"//chrome/browser/web_applications:web_app_group",
"//chrome/browser/web_applications/components",
"//chrome/test:test_support_ui",
"//extensions/browser",
"//extensions/common",
"//net:test_support",
]
}