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("updater") { | 10 source_set("updater") { |
6 sources = [ | 11 sources = [ |
7 "extension_cache.h", | 12 "extension_cache.h", |
8 "extension_downloader.cc", | 13 "extension_downloader.cc", |
9 "extension_downloader.h", | 14 "extension_downloader.h", |
10 "extension_downloader_delegate.cc", | 15 "extension_downloader_delegate.cc", |
11 "extension_downloader_delegate.h", | 16 "extension_downloader_delegate.h", |
12 "extension_downloader_test_delegate.h", | 17 "extension_downloader_test_delegate.h", |
13 "manifest_fetch_data.cc", | 18 "manifest_fetch_data.cc", |
14 "manifest_fetch_data.h", | 19 "manifest_fetch_data.h", |
(...skipping 18 matching lines...) Expand all Loading... |
33 configs += [ | 38 configs += [ |
34 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 39 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
35 "//build/config/compiler:no_size_t_to_int_warning", | 40 "//build/config/compiler:no_size_t_to_int_warning", |
36 ] | 41 ] |
37 | 42 |
38 deps = [ | 43 deps = [ |
39 "//extensions/common", | 44 "//extensions/common", |
40 "//extensions/strings", | 45 "//extensions/strings", |
41 ] | 46 ] |
42 } | 47 } |
OLD | NEW |