| 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") |
| 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 |
| 5 static_library("nfc") { | 8 static_library("nfc") { |
| 6 sources = [ | 9 sources = [ |
| 7 "nfc_adapter.cc", | 10 "nfc_adapter.cc", |
| 8 "nfc_adapter.h", | 11 "nfc_adapter.h", |
| 9 "nfc_adapter_chromeos.cc", | 12 "nfc_adapter_chromeos.cc", |
| 10 "nfc_adapter_chromeos.h", | 13 "nfc_adapter_chromeos.h", |
| 11 "nfc_adapter_factory.cc", | 14 "nfc_adapter_factory.cc", |
| 12 "nfc_adapter_factory.h", | 15 "nfc_adapter_factory.h", |
| 13 "nfc_ndef_record.cc", | 16 "nfc_ndef_record.cc", |
| 14 "nfc_ndef_record.h", | 17 "nfc_ndef_record.h", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 33 "//url", | 36 "//url", |
| 34 ] | 37 ] |
| 35 | 38 |
| 36 if (is_chromeos) { | 39 if (is_chromeos) { |
| 37 deps += [ | 40 deps += [ |
| 38 "//chromeos", | 41 "//chromeos", |
| 39 "//dbus", | 42 "//dbus", |
| 40 ] | 43 ] |
| 41 } | 44 } |
| 42 } | 45 } |
| 46 |
| 47 mojom("mojo_bindings") { |
| 48 sources = [ |
| 49 "nfc.mojom", |
| 50 ] |
| 51 } |
| OLD | NEW |