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("printer_provider_internal") { | 10 source_set("printer_provider_internal") { |
6 sources = [ | 11 sources = [ |
7 "printer_provider_internal_api.cc", | 12 "printer_provider_internal_api.cc", |
8 "printer_provider_internal_api.h", | 13 "printer_provider_internal_api.h", |
9 "printer_provider_internal_api_observer.h", | 14 "printer_provider_internal_api_observer.h", |
10 ] | 15 ] |
11 | 16 |
12 configs += [ | 17 configs += [ |
13 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 18 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
14 "//build/config/compiler:no_size_t_to_int_warning", | 19 "//build/config/compiler:no_size_t_to_int_warning", |
15 ] | 20 ] |
16 | 21 |
17 deps = [ | 22 deps = [ |
18 "//content/public/browser", | 23 "//content/public/browser", |
19 "//extensions/common/api", | 24 "//extensions/common/api", |
20 ] | 25 ] |
21 | 26 |
22 public_deps = [ | 27 public_deps = [ |
23 "//extensions/browser:browser_sources", | 28 "//extensions/browser:browser_sources", |
24 ] | 29 ] |
25 } | 30 } |
OLD | NEW |