Index: device/fingerprint/BUILD.gn |
diff --git a/device/fingerprint/BUILD.gn b/device/fingerprint/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dbd8b6a0e4d03a256e002e9231680d7fcfdfa44f |
--- /dev/null |
+++ b/device/fingerprint/BUILD.gn |
@@ -0,0 +1,28 @@ |
+# 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") { |
+ sources = [ |
+ "fingerprint_export.h", |
+ "fingerprint_impl.cc", |
+ "fingerprint_impl.h", |
+ ] |
+ |
+ defines = [ "DEVICE_FINGERPRINT_IMPLEMENTATION" ] |
+ |
+ deps = [ |
+ "//base", |
+ "//mojo/public/cpp/bindings", |
+ ] |
+ |
+ if (is_chromeos) { |
+ deps += [ "//chromeos" ] |
+ } |
+ |
+ public_deps = [ |
+ "//device/fingerprint/public/interfaces", |
+ ] |
+} |