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") { | 8 static_library("nfc") { |
9 sources = [ | 9 sources = [ |
10 "nfc_adapter.cc", | 10 "nfc_adapter.cc", |
(...skipping 26 matching lines...) Expand all Loading... | |
37 ] | 37 ] |
38 | 38 |
39 if (is_chromeos) { | 39 if (is_chromeos) { |
40 deps += [ | 40 deps += [ |
41 "//chromeos", | 41 "//chromeos", |
42 "//dbus", | 42 "//dbus", |
43 ] | 43 ] |
44 } | 44 } |
45 } | 45 } |
46 | 46 |
47 component("nfc_mojo") { | |
48 sources = [ | |
49 "nfc_export.h", | |
50 "nfc_impl.h", | |
51 "nfc_impl_default.cc", | |
52 ] | |
53 | |
54 defines = [ "DEVICE_NFC_IMPLEMENTATION" ] | |
55 | |
56 deps = [ | |
57 ":mojo_bindings", | |
58 "//base", | |
59 "//base/third_party/dynamic_annotations", | |
Reilly Grant (use Gerrit)
2016/04/25 21:48:35
This dependency is unused.
shalamov
2016/04/26 10:17:32
Done.
| |
60 "//mojo/edk/system", | |
61 "//mojo/public/cpp/bindings", | |
62 ] | |
63 } | |
64 | |
47 mojom("mojo_bindings") { | 65 mojom("mojo_bindings") { |
48 sources = [ | 66 sources = [ |
49 "nfc.mojom", | 67 "nfc.mojom", |
50 ] | 68 ] |
51 } | 69 } |
OLD | NEW |