Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Unified Diff: services/device/fingerprint/BUILD.gn

Issue 2664353002: Host fingerprint mojo service within the device service. (Closed)
Patch Set: Modify BUILD.gn Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698