| 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("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 | 7 |
| 8 static_library("nfc") { | |
| 9 sources = [ | |
| 10 "nfc_adapter.cc", | |
| 11 "nfc_adapter.h", | |
| 12 "nfc_adapter_chromeos.cc", | |
| 13 "nfc_adapter_chromeos.h", | |
| 14 "nfc_adapter_factory.cc", | |
| 15 "nfc_adapter_factory.h", | |
| 16 "nfc_ndef_record.cc", | |
| 17 "nfc_ndef_record.h", | |
| 18 "nfc_ndef_record_utils_chromeos.cc", | |
| 19 "nfc_ndef_record_utils_chromeos.h", | |
| 20 "nfc_peer.cc", | |
| 21 "nfc_peer.h", | |
| 22 "nfc_peer_chromeos.cc", | |
| 23 "nfc_peer_chromeos.h", | |
| 24 "nfc_tag.cc", | |
| 25 "nfc_tag.h", | |
| 26 "nfc_tag_chromeos.cc", | |
| 27 "nfc_tag_chromeos.h", | |
| 28 "nfc_tag_technology.cc", | |
| 29 "nfc_tag_technology.h", | |
| 30 "nfc_tag_technology_chromeos.cc", | |
| 31 "nfc_tag_technology_chromeos.h", | |
| 32 ] | |
| 33 | |
| 34 deps = [ | |
| 35 "//base", | |
| 36 "//url", | |
| 37 ] | |
| 38 | |
| 39 if (is_chromeos) { | |
| 40 deps += [ | |
| 41 "//chromeos", | |
| 42 "//dbus", | |
| 43 ] | |
| 44 } | |
| 45 } | |
| 46 | |
| 47 mojom("mojo_bindings") { | 8 mojom("mojo_bindings") { |
| 48 sources = [ | 9 sources = [ |
| 49 "nfc.mojom", | 10 "nfc.mojom", |
| 50 ] | 11 ] |
| 51 | 12 |
| 52 use_new_wrapper_types = false | 13 use_new_wrapper_types = false |
| 53 } | 14 } |
| OLD | NEW |