OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 | 7 |
8 static_library("apps") { | 8 static_library("apps") { |
9 sources = [ | 9 sources = [ |
10 "app_lifetime_monitor.cc", | 10 "app_lifetime_monitor.cc", |
11 "app_lifetime_monitor.h", | 11 "app_lifetime_monitor.h", |
12 "app_lifetime_monitor_factory.cc", | 12 "app_lifetime_monitor_factory.cc", |
13 "app_lifetime_monitor_factory.h", | 13 "app_lifetime_monitor_factory.h", |
14 "app_load_service.cc", | 14 "app_load_service.cc", |
15 "app_load_service.h", | 15 "app_load_service.h", |
16 "app_load_service_factory.cc", | 16 "app_load_service_factory.cc", |
17 "app_load_service_factory.h", | 17 "app_load_service_factory.h", |
18 "app_restore_service.cc", | 18 "app_restore_service.cc", |
19 "app_restore_service.h", | 19 "app_restore_service.h", |
20 "app_restore_service_factory.cc", | 20 "app_restore_service_factory.cc", |
21 "app_restore_service_factory.h", | 21 "app_restore_service_factory.h", |
22 "browser_context_keyed_service_factories.cc", | 22 "browser_context_keyed_service_factories.cc", |
23 "browser_context_keyed_service_factories.h", | 23 "browser_context_keyed_service_factories.h", |
24 "custom_launcher_page_contents.cc", | 24 "custom_launcher_page_contents.cc", |
25 "custom_launcher_page_contents.h", | 25 "custom_launcher_page_contents.h", |
26 "launcher.cc", | 26 "launcher.cc", |
27 "launcher.h", | 27 "launcher.h", |
28 "metrics_names.h", | 28 "metrics_names.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", | 29 "saved_files_service.cc", |
34 "saved_files_service.h", | 30 "saved_files_service.h", |
35 "saved_files_service_factory.cc", | 31 "saved_files_service_factory.cc", |
36 "saved_files_service_factory.h", | 32 "saved_files_service_factory.h", |
37 "switches.cc", | 33 "switches.cc", |
38 "switches.h", | 34 "switches.h", |
39 ] | 35 ] |
40 | 36 |
41 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 37 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
42 | 38 |
43 deps = [ | 39 deps = [ |
44 "//chrome/app/theme:theme_resources", | 40 "//chrome/app/theme:theme_resources", |
45 "//chrome/browser/extensions", | 41 "//chrome/browser/extensions", |
46 "//chrome/common/extensions/api:api", | 42 "//chrome/common/extensions/api:api", |
47 "//components/web_modal", | 43 "//components/web_modal", |
48 "//device/usb", | |
49 "//skia", | 44 "//skia", |
50 ] | 45 ] |
51 | 46 |
52 if (is_chromeos) { | 47 if (is_chromeos) { |
53 #deps += [ "browser_chromeos" ] TODO(GYP) | 48 #deps += [ "browser_chromeos" ] TODO(GYP) |
54 } | 49 } |
55 | 50 |
56 if (!enable_extensions) { | 51 if (!enable_extensions) { |
57 # When extensions are disabled, only the sizer file below is included. | 52 # When extensions are disabled, only the sizer file below is included. |
58 deps -= [ | 53 deps -= [ |
(...skipping 12 matching lines...) Expand all Loading... |
71 "//ui/strings", | 66 "//ui/strings", |
72 "//ui/views", | 67 "//ui/views", |
73 ] | 68 ] |
74 } | 69 } |
75 | 70 |
76 if (is_win) { | 71 if (is_win) { |
77 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 72 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
78 cflags = [ "/wd4267" ] | 73 cflags = [ "/wd4267" ] |
79 } | 74 } |
80 } | 75 } |
OLD | NEW |