OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 | 6 |
7 component("fingerprint") { | 7 component("fingerprint") { |
8 visibility = [ "//services/device:*" ] | 8 visibility = [ "//services/device:*" ] |
9 | 9 |
10 sources = [ | 10 sources = [ |
11 "fingerprint.h", | 11 "fingerprint.h", |
12 "fingerprint_export.h", | 12 "fingerprint_export.h", |
13 ] | 13 ] |
14 | 14 |
15 defines = [ "SERVICES_DEVICE_FINGERPRINT_IMPLEMENTATION" ] | 15 defines = [ "SERVICES_DEVICE_FINGERPRINT_IMPLEMENTATION" ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 "//base", | 18 "//base", |
19 "//mojo/public/cpp/bindings", | 19 "//mojo/public/cpp/bindings", |
20 ] | 20 ] |
21 | 21 |
22 if (is_chromeos) { | 22 if (is_chromeos) { |
23 sources += [ | 23 sources += [ |
24 "fingerprint_chromeos.cc", | 24 "fingerprint_chromeos.cc", |
25 "fingerprint_chromeos.h", | 25 "fingerprint_chromeos.h", |
26 ] | 26 ] |
27 deps += [ | 27 deps += [ |
28 "//chromeos", | 28 "//chromeos", |
29 "//dbus", | 29 "//dbus", |
| 30 "//third_party/protobuf:protobuf_lite", |
30 ] | 31 ] |
31 } else { | 32 } else { |
32 sources += [ "fingerprint_default.cc" ] | 33 sources += [ "fingerprint_default.cc" ] |
33 } | 34 } |
34 | 35 |
35 public_deps = [ | 36 public_deps = [ |
36 "//services/device/public/interfaces", | 37 "//services/device/public/interfaces", |
37 ] | 38 ] |
38 } | 39 } |
OLD | NEW |