| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 193 |
| 194 deps = [ | 194 deps = [ |
| 195 # TODO(benwells): figure out what to do with the api target and | 195 # TODO(benwells): figure out what to do with the api target and |
| 196 # api resources compiled into the chrome resource bundle. | 196 # api resources compiled into the chrome resource bundle. |
| 197 # http://crbug.com/162530 | 197 # http://crbug.com/162530 |
| 198 "//chrome:resources", | 198 "//chrome:resources", |
| 199 "//components/crx_file", | 199 "//components/crx_file", |
| 200 "//components/url_matcher", | 200 "//components/url_matcher", |
| 201 "//content/public/common", | 201 "//content/public/common", |
| 202 "//crypto", | 202 "//crypto", |
| 203 "//extensions/common/api", | |
| 204 "//extensions/strings", | 203 "//extensions/strings", |
| 205 "//ipc", | 204 "//ipc", |
| 206 "//net", | 205 "//net", |
| 207 "//third_party/icu", | 206 "//third_party/icu", |
| 208 "//third_party/libxml", | 207 "//third_party/libxml", |
| 209 "//third_party/re2", | 208 "//third_party/re2", |
| 210 "//ui/base", | 209 "//ui/base", |
| 211 "//ui/gfx/geometry", | 210 "//ui/gfx/geometry", |
| 212 "//ui/gfx/ipc", | 211 "//ui/gfx/ipc", |
| 213 "//url", | 212 "//url", |
| 214 ] | 213 ] |
| 215 | 214 |
| 216 if (enable_extensions) { | 215 if (enable_extensions) { |
| 217 sources -= [ | 216 sources -= [ |
| 218 "extension_api_stub.cc", | 217 "extension_api_stub.cc", |
| 219 ] | 218 ] |
| 220 | 219 |
| 221 deps += [ | 220 deps += [ |
| 222 "//device/bluetooth", | 221 "//device/bluetooth", |
| 223 "//device/usb", | 222 "//device/usb", |
| 223 "//extensions/common/api", |
| 224 ] | 224 ] |
| 225 } else { | 225 } else { |
| 226 sources -= [ | 226 sources -= [ |
| 227 "api/bluetooth/bluetooth_manifest_data.cc", | 227 "api/bluetooth/bluetooth_manifest_data.cc", |
| 228 "api/bluetooth/bluetooth_manifest_data.h", | 228 "api/bluetooth/bluetooth_manifest_data.h", |
| 229 "api/bluetooth/bluetooth_manifest_handler.cc", | 229 "api/bluetooth/bluetooth_manifest_handler.cc", |
| 230 "api/bluetooth/bluetooth_manifest_handler.h", | 230 "api/bluetooth/bluetooth_manifest_handler.h", |
| 231 "api/bluetooth/bluetooth_manifest_permission.cc", | 231 "api/bluetooth/bluetooth_manifest_permission.cc", |
| 232 "api/bluetooth/bluetooth_manifest_permission.h", | 232 "api/bluetooth/bluetooth_manifest_permission.h", |
| 233 "api/messaging/message.h", | 233 "api/messaging/message.h", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 251 "manifest_handlers/nacl_modules_handler.h", | 251 "manifest_handlers/nacl_modules_handler.h", |
| 252 ] | 252 ] |
| 253 } | 253 } |
| 254 | 254 |
| 255 if (is_win) { | 255 if (is_win) { |
| 256 cflags = [ | 256 cflags = [ |
| 257 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 257 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 258 ] | 258 ] |
| 259 } | 259 } |
| 260 } | 260 } |
| OLD | NEW |