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 |
5 static_library("nfc") { | 7 static_library("nfc") { |
6 sources = [ | 8 sources = [ |
7 "nfc_adapter.cc", | 9 "nfc_adapter.cc", |
8 "nfc_adapter.h", | 10 "nfc_adapter.h", |
9 "nfc_adapter_chromeos.cc", | 11 "nfc_adapter_chromeos.cc", |
10 "nfc_adapter_chromeos.h", | 12 "nfc_adapter_chromeos.h", |
11 "nfc_adapter_factory.cc", | 13 "nfc_adapter_factory.cc", |
12 "nfc_adapter_factory.h", | 14 "nfc_adapter_factory.h", |
13 "nfc_ndef_record.cc", | 15 "nfc_ndef_record.cc", |
14 "nfc_ndef_record.h", | 16 "nfc_ndef_record.h", |
(...skipping 11 matching lines...) Expand all Loading... |
26 "nfc_tag_technology.h", | 28 "nfc_tag_technology.h", |
27 "nfc_tag_technology_chromeos.cc", | 29 "nfc_tag_technology_chromeos.cc", |
28 "nfc_tag_technology_chromeos.h", | 30 "nfc_tag_technology_chromeos.h", |
29 ] | 31 ] |
30 | 32 |
31 deps = [ | 33 deps = [ |
32 "//base", | 34 "//base", |
33 "//url", | 35 "//url", |
34 ] | 36 ] |
35 | 37 |
36 if (is_chromeos) { | 38 if (use_cros_fe) { |
37 deps += [ | 39 deps += [ |
38 "//chromeos", | 40 "//chromeos", |
39 "//dbus", | 41 "//dbus", |
40 ] | 42 ] |
41 } | 43 } |
42 } | 44 } |
OLD | NEW |