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 "fingerprint_impl_chromeos.cc", |
| 14 "fingerprint_impl_chromeos.h", |
| 15 "fingerprint_impl_default.cc", |
| 16 ] |
| 17 |
| 18 defines = [ "SERVICES_DEVICE_FINGERPRINT_IMPLEMENTATION" ] |
| 19 |
| 20 deps = [ |
| 21 "//base", |
| 22 "//mojo/public/cpp/bindings", |
| 23 ] |
| 24 |
| 25 if (is_chromeos) { |
| 26 sources -= [ "fingerprint_impl_default.cc" ] |
| 27 deps += [ "//dbus" ] |
| 28 } |
| 29 |
| 30 public_deps = [ |
| 31 "//services/device/public/interfaces", |
| 32 ] |
| 33 } |
OLD | NEW |