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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 ] | 312 ] |
312 } | 313 } |
313 } | 314 } |
314 | 315 |
315 if (is_win) { | 316 if (is_win) { |
316 cflags = [ | 317 cflags = [ |
317 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 318 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
318 ] | 319 ] |
319 } | 320 } |
320 } | 321 } |
OLD | NEW |