OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//extensions/features/features.gni") |
| 6 |
| 7 assert(enable_extensions, |
| 8 "Cannot depend on extensions because enable_extensions=false.") |
| 9 |
5 source_set("idle") { | 10 source_set("idle") { |
6 sources = [ | 11 sources = [ |
7 "idle_api.cc", | 12 "idle_api.cc", |
8 "idle_api.h", | 13 "idle_api.h", |
9 "idle_api_constants.cc", | 14 "idle_api_constants.cc", |
10 "idle_api_constants.h", | 15 "idle_api_constants.h", |
11 "idle_manager.cc", | 16 "idle_manager.cc", |
12 "idle_manager.h", | 17 "idle_manager.h", |
13 "idle_manager_factory.cc", | 18 "idle_manager_factory.cc", |
14 "idle_manager_factory.h", | 19 "idle_manager_factory.h", |
15 ] | 20 ] |
16 | 21 |
17 deps = [ | 22 deps = [ |
18 "//extensions/common/api", | 23 "//extensions/common/api", |
19 ] | 24 ] |
20 | 25 |
21 public_deps = [ | 26 public_deps = [ |
22 "//extensions/browser:browser_sources", | 27 "//extensions/browser:browser_sources", |
23 ] | 28 ] |
24 } | 29 } |
OLD | NEW |