| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/config/features.gni") | |
| 6 | |
| 7 component("fingerprint") { | |
| 8 visibility = [ "//services/device:*" ] | |
| 9 | |
| 10 sources = [ | |
| 11 "fingerprint.h", | |
| 12 "fingerprint_export.h", | |
| 13 ] | |
| 14 | |
| 15 defines = [ "SERVICES_DEVICE_FINGERPRINT_IMPLEMENTATION" ] | |
| 16 | |
| 17 deps = [ | |
| 18 "//base", | |
| 19 "//mojo/public/cpp/bindings", | |
| 20 ] | |
| 21 | |
| 22 if (is_chromeos) { | |
| 23 sources += [ | |
| 24 "fingerprint_impl_chromeos.cc", | |
| 25 "fingerprint_impl_chromeos.h", | |
| 26 ] | |
| 27 deps += [ "//dbus" ] | |
| 28 } else { | |
| 29 sources += [ "fingerprint_impl_default.cc" ] | |
| 30 } | |
| 31 | |
| 32 public_deps = [ | |
| 33 "//services/device/public/interfaces", | |
| 34 ] | |
| 35 } | |
| OLD | NEW |