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 # GYP version: extensions/extensions.gyp:extensions_common | 7 # GYP version: extensions/extensions.gyp:extensions_common |
8 source_set("common") { | 8 source_set("common") { |
9 sources = [ | 9 sources = [ |
10 "api/messaging/message.h", | 10 "api/messaging/message.h", |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 "api/sockets/sockets_manifest_handler.cc", | 217 "api/sockets/sockets_manifest_handler.cc", |
218 "api/sockets/sockets_manifest_handler.h", | 218 "api/sockets/sockets_manifest_handler.h", |
219 "api/sockets/sockets_manifest_permission.cc", | 219 "api/sockets/sockets_manifest_permission.cc", |
220 "api/sockets/sockets_manifest_permission.h", | 220 "api/sockets/sockets_manifest_permission.h", |
221 "extension_api.cc", | 221 "extension_api.cc", |
222 "manifest_handlers/externally_connectable.cc", | 222 "manifest_handlers/externally_connectable.cc", |
223 "manifest_handlers/externally_connectable.h", | 223 "manifest_handlers/externally_connectable.h", |
224 ] | 224 ] |
225 } | 225 } |
226 | 226 |
| 227 if (enable_nacl) { |
| 228 deps += [ |
| 229 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) |
| 230 ] |
| 231 sources += [ |
| 232 "manifest_handlers/nacl_modules_handler.cc", |
| 233 "manifest_handlers/nacl_modules_handler.h", |
| 234 ] |
| 235 } |
| 236 |
227 if (is_win) { | 237 if (is_win) { |
228 cflags = [ | 238 cflags = [ |
229 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 239 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
230 ] | 240 ] |
231 } | 241 } |
232 } | 242 } |
OLD | NEW |