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/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 | 7 |
8 # GYP version: extensions/extensions.gyp:extensions_browser | 8 # GYP version: extensions/extensions.gyp:extensions_browser |
9 source_set("browser") { | 9 source_set("browser") { |
10 sources = [ | 10 sources = [ |
11 ] | 11 ] |
12 | 12 |
13 deps = [ | 13 deps = [ |
14 "//components/keyed_service/content", | 14 "//components/keyed_service/content", |
15 "//components/keyed_service/core", | 15 "//components/keyed_service/core", |
16 "//components/pref_registry", | 16 "//components/pref_registry", |
17 "//components/web_modal", | 17 "//components/web_modal", |
18 "//content/public/browser", | 18 "//content/public/browser", |
19 "//extensions/common", | 19 "//extensions/common", |
20 "//extensions/common/api", | 20 "//extensions/common/api", |
| 21 "//extensions/common/api:api_registration", |
21 "//extensions/strings", | 22 "//extensions/strings", |
22 "//skia", | 23 "//skia", |
23 "//third_party/leveldatabase", | 24 "//third_party/leveldatabase", |
24 ] | 25 ] |
25 | 26 |
26 if (enable_extensions) { | 27 if (enable_extensions) { |
27 # Includes all API implementations and the ExtensionsApiClient | 28 # Includes all API implementations and the ExtensionsApiClient |
28 # interface. Moving an API from src/chrome to src/extensions implies | 29 # interface. Moving an API from src/chrome to src/extensions implies |
29 # it can be cleanly disabled with enable_extensions=false. | 30 # it can be cleanly disabled with enable_extensions=false. |
30 # TODO: Eventually the entire extensions module should not be built | 31 # TODO: Eventually the entire extensions module should not be built |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 ] | 310 ] |
310 } | 311 } |
311 } | 312 } |
312 | 313 |
313 if (is_win) { | 314 if (is_win) { |
314 cflags = [ | 315 cflags = [ |
315 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 316 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
316 ] | 317 ] |
317 } | 318 } |
318 } | 319 } |
OLD | NEW |