| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//extensions/extensions.gni") | 6 import("//extensions/extensions.gni") |
| 7 | 7 |
| 8 assert(enable_extensions) | 8 assert(enable_extensions) |
| 9 | 9 |
| 10 # GYP version: extensions/extensions.gyp:extensions_utility | 10 # GYP version: extensions/extensions.gyp:extensions_utility |
| 11 source_set("utility") { | 11 source_set("utility") { |
| 12 sources = rebase_path(extensions_gypi_values.extensions_utility_sources, | 12 sources = rebase_path(extensions_gypi_values.extensions_utility_sources, |
| 13 ".", | 13 ".", |
| 14 "//extensions") | 14 "//extensions") |
| 15 | 15 |
| 16 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 17 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 18 |
| 16 deps = [ | 19 deps = [ |
| 17 "//content/public/utility", | 20 "//content/public/utility", |
| 18 "//extensions/common", | 21 "//extensions/common", |
| 19 "//skia", | 22 "//skia", |
| 20 ] | 23 ] |
| 21 | |
| 22 if (is_win) { | |
| 23 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t
runcations. | |
| 24 } | |
| 25 } | 24 } |
| OLD | NEW |