| 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 import("//extensions/features/features.gni") | 7 import("//extensions/features/features.gni") |
| 8 | 8 |
| 9 assert(!is_android && !is_ios) | 9 assert(!is_android && !is_ios) |
| 10 assert(enable_extensions) |
| 10 | 11 |
| 11 static_library("apps") { | 12 static_library("apps") { |
| 12 sources = [] | 13 sources = [] |
| 13 | 14 |
| 14 if (enable_extensions) { | 15 sources += [ |
| 15 sources += [ | 16 "app_lifetime_monitor.cc", |
| 16 "app_lifetime_monitor.cc", | 17 "app_lifetime_monitor.h", |
| 17 "app_lifetime_monitor.h", | 18 "app_lifetime_monitor_factory.cc", |
| 18 "app_lifetime_monitor_factory.cc", | 19 "app_lifetime_monitor_factory.h", |
| 19 "app_lifetime_monitor_factory.h", | 20 "app_restore_service.cc", |
| 20 "app_restore_service.cc", | 21 "app_restore_service.h", |
| 21 "app_restore_service.h", | 22 "app_restore_service_factory.cc", |
| 22 "app_restore_service_factory.cc", | 23 "app_restore_service_factory.h", |
| 23 "app_restore_service_factory.h", | 24 "browser_context_keyed_service_factories.cc", |
| 24 "browser_context_keyed_service_factories.cc", | 25 "browser_context_keyed_service_factories.h", |
| 25 "browser_context_keyed_service_factories.h", | 26 "launcher.cc", |
| 26 "launcher.cc", | 27 "launcher.h", |
| 27 "launcher.h", | 28 "metrics_names.h", |
| 28 "metrics_names.h", | 29 "saved_files_service.cc", |
| 29 "saved_files_service.cc", | 30 "saved_files_service.h", |
| 30 "saved_files_service.h", | 31 "saved_files_service_factory.cc", |
| 31 "saved_files_service_factory.cc", | 32 "saved_files_service_factory.h", |
| 32 "saved_files_service_factory.h", | 33 "switches.cc", |
| 33 "switches.cc", | 34 "switches.h", |
| 34 "switches.h", | 35 ] |
| 35 ] | |
| 36 | 36 |
| 37 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 37 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 38 | 38 |
| 39 deps = [ | 39 deps = [ |
| 40 "//components/keyed_service/content", | 40 "//components/keyed_service/content", |
| 41 "//content/public/browser", | 41 "//content/public/browser", |
| 42 "//content/public/common", | 42 "//content/public/common", |
| 43 "//extensions/browser", | 43 "//extensions/browser", |
| 44 "//extensions/common", | 44 "//extensions/common", |
| 45 "//extensions/common/api", | 45 "//extensions/common/api", |
| 46 ] | 46 ] |
| 47 | 47 |
| 48 if (is_chromeos) { | 48 if (is_chromeos) { |
| 49 deps += [ "//components/user_manager" ] | 49 deps += [ "//components/user_manager" ] |
| 50 } | |
| 51 } | 50 } |
| 52 | 51 |
| 53 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 52 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 54 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 53 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 55 } | 54 } |
| 56 | 55 |
| 57 static_library("test_support") { | 56 static_library("test_support") { |
| 58 testonly = true | 57 testonly = true |
| 59 sources = [ | 58 sources = [ |
| 60 "test/app_window_waiter.cc", | 59 "test/app_window_waiter.cc", |
| 61 "test/app_window_waiter.h", | 60 "test/app_window_waiter.h", |
| 62 ] | 61 ] |
| 63 | 62 |
| 64 public_deps = [ | 63 public_deps = [ |
| 65 "//content/public/browser", | 64 "//content/public/browser", |
| 66 ] | 65 ] |
| 67 } | 66 } |
| OLD | NEW |