| 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 configs += [ | 34 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 35 "//build/config:precompiled_headers", | 35 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 36 | |
| 37 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 38 "//build/config/compiler:no_size_t_to_int_warning", | |
| 39 ] | |
| 40 | 36 |
| 41 if (enable_extensions) { | 37 if (enable_extensions) { |
| 42 # Includes all API implementations and the ExtensionsApiClient | 38 # Includes all API implementations and the ExtensionsApiClient |
| 43 # interface. Moving an API from src/chrome to src/extensions implies | 39 # interface. Moving an API from src/chrome to src/extensions implies |
| 44 # it can be cleanly disabled with enable_extensions=false. | 40 # it can be cleanly disabled with enable_extensions=false. |
| 45 # TODO: Eventually the entire extensions module should not be built | 41 # TODO: Eventually the entire extensions module should not be built |
| 46 # when enable_extensions=false. | 42 # when enable_extensions=false. |
| 47 sources = rebase_path(extensions_gypi_values.extensions_browser_sources, | 43 sources = rebase_path(extensions_gypi_values.extensions_browser_sources, |
| 48 ".", | 44 ".", |
| 49 "//extensions") | 45 "//extensions") |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 win_or_mac_sources = rebase_path( | 91 win_or_mac_sources = rebase_path( |
| 96 extensions_gypi_values.extensions_browser_sources_win_or_mac, | 92 extensions_gypi_values.extensions_browser_sources_win_or_mac, |
| 97 ".", | 93 ".", |
| 98 "//extensions") | 94 "//extensions") |
| 99 sources += win_or_mac_sources | 95 sources += win_or_mac_sources |
| 100 } | 96 } |
| 101 } | 97 } |
| 102 } | 98 } |
| 103 } | 99 } |
| 104 } | 100 } |
| OLD | NEW |