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