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

Unified Diff: components/ownership/BUILD.gn

Issue 494093002: OwnerKeyUtil is moved to components/ownership. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 4 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: components/ownership/BUILD.gn
diff --git a/components/ownership/BUILD.gn b/components/ownership/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..17954715d914633cff94a27b71fbea0a9472711d
--- /dev/null
+++ b/components/ownership/BUILD.gn
@@ -0,0 +1,39 @@
+# Copyright 2014 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.
+
+component("ownership") {
+ sources = [
+ "owner_key_util.cc",
+ "owner_key_util.h",
+ ]
+
+ if (is_chromeos) {
+ sources += [
+ "owner_key_util_chromeos.cc",
+ "owner_key_util_chromeos.h",
+ ]
+ }
+
+ defines = [
+ "OWNERSHIP_IMPLEMENTATION"
+ ]
+
+ deps = [
+ "//base",
+ "//crypto",
+ "//net",
wtc 2014/08/25 19:41:50 The dependency on "//net" doesn't seem necessary.
ygorshenin1 2014/08/26 14:53:35 Done.
+ ]
+}
+
+source_set("unit_tests") {
+ sources = []
+ if (is_chromeos) {
+ sources += ["owner_key_util_chromeos_unittest.cc" ]
+ }
+
+ deps = [
+ ":ownership",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698