Chromium Code Reviews| Index: services/device/fingerprint/BUILD.gn |
| diff --git a/services/device/fingerprint/BUILD.gn b/services/device/fingerprint/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5e1dba36823009f3382cb95dc321117bbb32f5a2 |
| --- /dev/null |
| +++ b/services/device/fingerprint/BUILD.gn |
| @@ -0,0 +1,38 @@ |
| +# Copyright 2017 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import("//build/config/features.gni") |
| + |
| +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.
|
| + sources = [ |
| + "fingerprint_export.h", |
| + "fingerprint_impl.h", |
| + "fingerprint_impl_chromeos.cc", |
| + "fingerprint_impl_chromeos.h", |
| + "fingerprint_impl_default.cc", |
| + "fingerprint_impl_default.h", |
| + ] |
| + |
| + defines = [ "SERVICES_DEVICE_FINGERPRINT_IMPLEMENTATION" ] |
| + |
| + deps = [ |
| + "//base", |
| + "//mojo/public/cpp/bindings", |
| + ] |
| + |
| + if (is_chromeos) { |
| + sources -= [ |
| + "fingerprint_impl_default.cc", |
| + "fingerprint_impl_default.h", |
| + ] |
| + deps += [ |
| + "//chromeos", |
| + "//dbus", |
| + ] |
| + } |
| + |
| + public_deps = [ |
| + "//services/device/public/interfaces", |
| + ] |
| +} |