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("system_cpu") { | 10 source_set("system_cpu") { |
6 sources = [ | 11 sources = [ |
7 "cpu_info_provider.cc", | 12 "cpu_info_provider.cc", |
8 "cpu_info_provider.h", | 13 "cpu_info_provider.h", |
9 "cpu_info_provider_linux.cc", | 14 "cpu_info_provider_linux.cc", |
10 "cpu_info_provider_mac.cc", | 15 "cpu_info_provider_mac.cc", |
11 "cpu_info_provider_win.cc", | 16 "cpu_info_provider_win.cc", |
12 "system_cpu_api.cc", | 17 "system_cpu_api.cc", |
13 "system_cpu_api.h", | 18 "system_cpu_api.h", |
14 ] | 19 ] |
15 | 20 |
16 deps = [ | 21 deps = [ |
17 "//extensions/common/api", | 22 "//extensions/common/api", |
18 ] | 23 ] |
19 | 24 |
20 public_deps = [ | 25 public_deps = [ |
21 "//extensions/browser:browser_sources", | 26 "//extensions/browser:browser_sources", |
22 ] | 27 ] |
23 } | 28 } |
OLD | NEW |