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")
8 static_library("apps") {
10 "app_lifetime_monitor.cc",
11 "app_lifetime_monitor.h",
12 "app_lifetime_monitor_factory.cc",
13 "app_lifetime_monitor_factory.h",
14 "app_load_service.cc",
16 "app_load_service_factory.cc",
17 "app_load_service_factory.h",
18 "app_restore_service.cc",
19 "app_restore_service.h",
20 "app_restore_service_factory.cc",
21 "app_restore_service_factory.h",
22 "browser_context_keyed_service_factories.cc",
23 "browser_context_keyed_service_factories.h",
24 "custom_launcher_page_contents.cc",
25 "custom_launcher_page_contents.h",
29 "saved_devices_service.cc",
30 "saved_devices_service.h",
31 "saved_devices_service_factory.cc",
32 "saved_devices_service_factory.h",
33 "saved_files_service.cc",
34 "saved_files_service.h",
35 "saved_files_service_factory.cc",
36 "saved_files_service_factory.h",
41 configs += [ "//build/config/compiler:wexit_time_destructors" ]
44 "//chrome/app/theme:theme_resources",
45 "//chrome/browser/extensions",
46 "//chrome/common/extensions/api:api",
47 "//components/web_modal",
53 #deps += [ "browser_chromeos" ] TODO(GYP)
56 if (!enable_extensions) {
57 # When extensions are disabled, only the sizer file below is included.
59 "//chrome/browser/extensions",
60 "//chrome/common/extensions/api:api",
67 "ui/views/app_window_frame_view.cc",
68 "ui/views/app_window_frame_view.h",
77 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
78 cflags = [ "/wd4267" ]