| 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/features/features.gni") | 6 import("//extensions/features/features.gni") |
| 7 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
| 8 | 8 |
| 9 source_set("common_constants") { | 9 source_set("common_constants") { |
| 10 sources = [ | 10 sources = [ |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 "//ui/gfx/ipc/skia", | 289 "//ui/gfx/ipc/skia", |
| 290 "//url", | 290 "//url", |
| 291 ] | 291 ] |
| 292 | 292 |
| 293 if (enable_nacl) { | 293 if (enable_nacl) { |
| 294 sources += [ | 294 sources += [ |
| 295 "manifest_handlers/nacl_modules_handler.cc", | 295 "manifest_handlers/nacl_modules_handler.cc", |
| 296 "manifest_handlers/nacl_modules_handler.h", | 296 "manifest_handlers/nacl_modules_handler.h", |
| 297 ] | 297 ] |
| 298 } | 298 } |
| 299 |
| 300 if (is_chromeos) { |
| 301 sources += [ |
| 302 "manifest_handlers/action_handlers_handler.cc", |
| 303 "manifest_handlers/action_handlers_handler.h", |
| 304 ] |
| 305 } |
| 299 } | 306 } |
| 300 | 307 |
| 301 source_set("unit_tests") { | 308 source_set("unit_tests") { |
| 302 testonly = true | 309 testonly = true |
| 303 sources = [ | 310 sources = [ |
| 304 "api/declarative/declarative_manifest_unittest.cc", | 311 "api/declarative/declarative_manifest_unittest.cc", |
| 305 "api/printer_provider/usb_printer_manifest_unittest.cc", | 312 "api/printer_provider/usb_printer_manifest_unittest.cc", |
| 306 "api/sockets/sockets_manifest_permission_unittest.cc", | 313 "api/sockets/sockets_manifest_permission_unittest.cc", |
| 307 "csp_validator_unittest.cc", | 314 "csp_validator_unittest.cc", |
| 308 "event_filter_unittest.cc", | 315 "event_filter_unittest.cc", |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 "value_builder_unittest.cc", | 348 "value_builder_unittest.cc", |
| 342 "value_counter_unittest.cc", | 349 "value_counter_unittest.cc", |
| 343 ] | 350 ] |
| 344 | 351 |
| 345 deps = [ | 352 deps = [ |
| 346 ":common", | 353 ":common", |
| 347 "//base", | 354 "//base", |
| 348 "//base:i18n", | 355 "//base:i18n", |
| 349 "//base/test:test_support", | 356 "//base/test:test_support", |
| 350 "//components/crx_file", | 357 "//components/crx_file", |
| 358 "//components/version_info:version_info", |
| 351 "//device/usb", | 359 "//device/usb", |
| 352 "//device/usb:test_support", | 360 "//device/usb:test_support", |
| 353 "//extensions:extensions_resources", | 361 "//extensions:extensions_resources", |
| 354 | 362 |
| 355 # TODO(brettw) these tests should not be including headers from browser. | 363 # TODO(brettw) these tests should not be including headers from browser. |
| 356 "//extensions:test_support", | 364 "//extensions:test_support", |
| 357 "//extensions/browser", | 365 "//extensions/browser", |
| 358 "//extensions/strings", | 366 "//extensions/strings", |
| 359 "//ipc", | 367 "//ipc", |
| 360 "//testing/gmock", | 368 "//testing/gmock", |
| 361 "//testing/gtest", | 369 "//testing/gtest", |
| 362 "//ui/base", | 370 "//ui/base", |
| 363 "//ui/gfx", | 371 "//ui/gfx", |
| 364 "//url", | 372 "//url", |
| 365 ] | 373 ] |
| 374 |
| 375 if (is_chromeos) { |
| 376 sources += [ "manifest_handlers/action_handlers_handler_unittest.cc" ] |
| 377 } |
| 366 } | 378 } |
| 367 } # enable_extensions | 379 } # enable_extensions |
| OLD | NEW |