1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/features.gni")
6 import("//build/config/ui.gni")
7 import("//extensions/buildflags/buildflags.gni")
9 assert(!is_android && !is_ios)
10 assert(enable_extensions,
11 "Cannot depend on extensions because enable_extensions=false.")
13 static_library("apps") {
17 "app_lifetime_monitor.cc",
18 "app_lifetime_monitor.h",
19 "app_lifetime_monitor_factory.cc",
20 "app_lifetime_monitor_factory.h",
21 "app_restore_service.cc",
22 "app_restore_service.h",
23 "app_restore_service_factory.cc",
24 "app_restore_service_factory.h",
25 "browser_context_keyed_service_factories.cc",
26 "browser_context_keyed_service_factories.h",
29 "saved_files_service.cc",
30 "saved_files_service.h",
31 "saved_files_service_factory.cc",
32 "saved_files_service_factory.h",
37 configs += [ "//build/config/compiler:wexit_time_destructors" ]
40 "//components/keyed_service/content",
41 "//content/public/browser",
42 "//content/public/common",
43 "//extensions/browser",
44 "//extensions/common",
45 "//extensions/common/api",
49 deps += [ "//components/user_manager" ]
53 static_library("test_support") {
56 "test/app_window_waiter.cc",
57 "test/app_window_waiter.h",
61 "//content/public/browser",
62 "//extensions/browser",