Chromium Code Reviews| 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", |
| + ] |
| +} |