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

Side by Side Diff: components/ownership/BUILD.gn

Issue 559543003: Add chrome test support target to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl try Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 component("ownership") { 5 component("ownership") {
6 sources = [ 6 sources = [
7 "mock_owner_key_util.cc", 7 "mock_owner_key_util.cc",
8 "mock_owner_key_util.h", 8 "mock_owner_key_util.h",
9 "owner_key_util.cc", 9 "owner_key_util.cc",
10 "owner_key_util.h", 10 "owner_key_util.h",
11 "owner_key_util_impl.cc", 11 "owner_key_util_impl.cc",
12 "owner_key_util_impl.h", 12 "owner_key_util_impl.h",
13 ] 13 ]
14 14
15 defines = [ 15 defines = [
16 "OWNERSHIP_IMPLEMENTATION" 16 "OWNERSHIP_IMPLEMENTATION"
17 ] 17 ]
18 18
19 deps = [ 19 deps = [
20 "//base", 20 "//base",
21 "//crypto", 21 "//crypto",
22 ] 22 ]
23 } 23 }
24 24
25 source_set("unit_tests") { 25 source_set("unit_tests") {
26 testonly = true
26 sources = ["owner_key_util_unittest.cc"] 27 sources = ["owner_key_util_unittest.cc"]
27 28
28 deps = [ 29 deps = [
29 ":ownership", 30 ":ownership",
30 "//testing/gtest", 31 "//testing/gtest",
31 ] 32 ]
32 } 33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698