| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//extensions/features/features.gni") |
| 6 |
| 7 assert(enable_extensions, |
| 8 "Cannot depend on extensions because enable_extensions=false.") |
| 9 |
| 5 source_set("messaging") { | 10 source_set("messaging") { |
| 6 sources = [ | 11 sources = [ |
| 7 "native_message_host.cc", | 12 "native_message_host.cc", |
| 8 "native_message_host.h", | 13 "native_message_host.h", |
| 9 "native_messaging_channel.h", | 14 "native_messaging_channel.h", |
| 10 ] | 15 ] |
| 11 | 16 |
| 12 deps = [ | 17 deps = [ |
| 13 "//extensions/common/api", | 18 "//extensions/common/api", |
| 14 ] | 19 ] |
| 15 | 20 |
| 16 public_deps = [ | 21 public_deps = [ |
| 17 "//extensions/browser:browser_sources", | 22 "//extensions/browser:browser_sources", |
| 18 ] | 23 ] |
| 19 } | 24 } |
| OLD | NEW |