Chromium Code Reviews| 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") { | |
|
blundell
2017/02/06 14:52:43
Please restrict the visibility of this target to /
xiaoyinh(OOO Sep 11-29)
2017/02/22 00:04:50
Done.
| |
| 8 sources = [ | |
| 9 "fingerprint_export.h", | |
| 10 "fingerprint_impl.h", | |
| 11 "fingerprint_impl_chromeos.cc", | |
| 12 "fingerprint_impl_chromeos.h", | |
| 13 "fingerprint_impl_default.cc", | |
| 14 "fingerprint_impl_default.h", | |
| 15 ] | |
| 16 | |
| 17 defines = [ "SERVICES_DEVICE_FINGERPRINT_IMPLEMENTATION" ] | |
| 18 | |
| 19 deps = [ | |
| 20 "//base", | |
| 21 "//mojo/public/cpp/bindings", | |
| 22 ] | |
| 23 | |
| 24 if (is_chromeos) { | |
| 25 sources -= [ | |
| 26 "fingerprint_impl_default.cc", | |
| 27 "fingerprint_impl_default.h", | |
| 28 ] | |
| 29 deps += [ | |
| 30 "//chromeos", | |
| 31 "//dbus", | |
| 32 ] | |
| 33 } | |
| 34 | |
| 35 public_deps = [ | |
| 36 "//services/device/public/interfaces", | |
| 37 ] | |
| 38 } | |
| OLD | NEW |