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", | |
22 "//extensions/strings", | 21 "//extensions/strings", |
23 "//skia", | 22 "//skia", |
24 "//third_party/leveldatabase", | 23 "//third_party/leveldatabase", |
25 ] | 24 ] |
26 | 25 |
27 if (enable_extensions) { | 26 if (enable_extensions) { |
28 # Includes all API implementations and the ExtensionsApiClient | 27 # Includes all API implementations and the ExtensionsApiClient |
29 # interface. Moving an API from src/chrome to src/extensions implies | 28 # interface. Moving an API from src/chrome to src/extensions implies |
30 # it can be cleanly disabled with enable_extensions=false. | 29 # it can be cleanly disabled with enable_extensions=false. |
31 # TODO: Eventually the entire extensions module should not be built | 30 # TODO: Eventually the entire extensions module should not be built |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 ] | 311 ] |
313 } | 312 } |
314 } | 313 } |
315 | 314 |
316 if (is_win) { | 315 if (is_win) { |
317 cflags = [ | 316 cflags = [ |
318 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 317 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
319 ] | 318 ] |
320 } | 319 } |
321 } | 320 } |
OLD | NEW |