| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 | 214 |
| 215 if (enable_extensions) { | 215 if (enable_extensions) { |
| 216 sources -= [ | 216 sources -= [ |
| 217 "extension_api_stub.cc", | 217 "extension_api_stub.cc", |
| 218 ] | 218 ] |
| 219 | 219 |
| 220 deps += [ | 220 deps += [ |
| 221 "//device/bluetooth", | 221 "//device/bluetooth", |
| 222 "//device/usb", | 222 "//device/usb", |
| 223 "//extensions/common/api", | 223 "//extensions/common/api", |
| 224 "//extensions:extensions_resources", |
| 224 ] | 225 ] |
| 225 } else { | 226 } else { |
| 226 sources -= [ | 227 sources -= [ |
| 227 "api/bluetooth/bluetooth_manifest_data.cc", | 228 "api/bluetooth/bluetooth_manifest_data.cc", |
| 228 "api/bluetooth/bluetooth_manifest_data.h", | 229 "api/bluetooth/bluetooth_manifest_data.h", |
| 229 "api/bluetooth/bluetooth_manifest_handler.cc", | 230 "api/bluetooth/bluetooth_manifest_handler.cc", |
| 230 "api/bluetooth/bluetooth_manifest_handler.h", | 231 "api/bluetooth/bluetooth_manifest_handler.h", |
| 231 "api/bluetooth/bluetooth_manifest_permission.cc", | 232 "api/bluetooth/bluetooth_manifest_permission.cc", |
| 232 "api/bluetooth/bluetooth_manifest_permission.h", | 233 "api/bluetooth/bluetooth_manifest_permission.h", |
| 233 "api/messaging/message.h", | 234 "api/messaging/message.h", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 251 "manifest_handlers/nacl_modules_handler.h", | 252 "manifest_handlers/nacl_modules_handler.h", |
| 252 ] | 253 ] |
| 253 } | 254 } |
| 254 | 255 |
| 255 if (is_win) { | 256 if (is_win) { |
| 256 cflags = [ | 257 cflags = [ |
| 257 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 258 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 258 ] | 259 ] |
| 259 } | 260 } |
| 260 } | 261 } |
| OLD | NEW |