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 import("//extensions/extensions.gni") | 7 import("//extensions/extensions.gni") |
8 | 8 |
9 # GYP version: extensions/extensions.gyp:extensions_browser | 9 # GYP version: extensions/extensions.gyp:extensions_browser |
10 source_set("browser") { | 10 source_set("browser") { |
(...skipping 13 matching lines...) Expand all Loading... |
24 "//extensions/common", | 24 "//extensions/common", |
25 "//extensions/common/api", | 25 "//extensions/common/api", |
26 "//extensions/common/api:api_registration", | 26 "//extensions/common/api:api_registration", |
27 "//extensions/strings", | 27 "//extensions/strings", |
28 "//google_apis", | 28 "//google_apis", |
29 "//skia", | 29 "//skia", |
30 "//third_party/leveldatabase", | 30 "//third_party/leveldatabase", |
31 "//third_party/re2", | 31 "//third_party/re2", |
32 ] | 32 ] |
33 | 33 |
34 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 34 configs += [ |
35 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 35 "//build/config:precompiled_headers", |
| 36 |
| 37 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 38 "//build/config/compiler:no_size_t_to_int_warning", |
| 39 ] |
36 | 40 |
37 if (enable_extensions) { | 41 if (enable_extensions) { |
38 # Includes all API implementations and the ExtensionsApiClient | 42 # Includes all API implementations and the ExtensionsApiClient |
39 # interface. Moving an API from src/chrome to src/extensions implies | 43 # interface. Moving an API from src/chrome to src/extensions implies |
40 # it can be cleanly disabled with enable_extensions=false. | 44 # it can be cleanly disabled with enable_extensions=false. |
41 # TODO: Eventually the entire extensions module should not be built | 45 # TODO: Eventually the entire extensions module should not be built |
42 # when enable_extensions=false. | 46 # when enable_extensions=false. |
43 sources = rebase_path(extensions_gypi_values.extensions_browser_sources, | 47 sources = rebase_path(extensions_gypi_values.extensions_browser_sources, |
44 ".", | 48 ".", |
45 "//extensions") | 49 "//extensions") |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 win_or_mac_sources = rebase_path( | 95 win_or_mac_sources = rebase_path( |
92 extensions_gypi_values.extensions_browser_sources_win_or_mac, | 96 extensions_gypi_values.extensions_browser_sources_win_or_mac, |
93 ".", | 97 ".", |
94 "//extensions") | 98 "//extensions") |
95 sources += win_or_mac_sources | 99 sources += win_or_mac_sources |
96 } | 100 } |
97 } | 101 } |
98 } | 102 } |
99 } | 103 } |
100 } | 104 } |
OLD | NEW |