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

Side by Side Diff: mojo/edk/test/BUILD.gn

Issue 799113004: Update mojo sdk to rev 59145288bae55b0fce4276b017df6a1117bcf00f (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add mojo's ply to checklicenses whitelist Created 6 years 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
« no previous file with comments | « mojo/edk/system/waiter.cc ('k') | mojo/public/VERSION » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import("../mojo_edk.gni") 5 import("../mojo_edk.gni")
6 6
7 # GYP version: mojo/edk/mojo_edk.gyp:mojo_common_test_support 7 # GYP version: mojo/edk/mojo_edk.gyp:mojo_common_test_support
8 mojo_edk_source_set("test_support") { 8 mojo_edk_source_set("test_support") {
9 testonly = true 9 testonly = true
10 sources = [ 10 sources = [
11 "multiprocess_test_helper.cc", 11 "multiprocess_test_helper.cc",
12 "multiprocess_test_helper.h", 12 "multiprocess_test_helper.h",
13 "test_utils.h", 13 "test_utils.h",
14 "test_utils_posix.cc", 14 "test_utils_posix.cc",
15 "test_utils_win.cc", 15 "test_utils_win.cc",
16 ] 16 ]
17 17
18 deps = [ 18 deps = [
19 "//base", 19 "//base",
20 "//base/test:test_support", 20 "//base/test:test_support",
21 "//testing/gtest", 21 "//testing/gtest",
22 ] 22 ]
23 23
24 mojo_edk_deps = [ 24 mojo_edk_deps = [ "mojo/edk/system" ]
25 "mojo/edk/system",
26 ]
27 } 25 }
28 26
29 # GYP version: mojo/edk/mojo_edk.gyp:mojo_run_all_unittests 27 # GYP version: mojo/edk/mojo_edk.gyp:mojo_run_all_unittests
30 mojo_edk_source_set("run_all_unittests") { 28 mojo_edk_source_set("run_all_unittests") {
31 testonly = true 29 testonly = true
32 sources = [ 30 sources = [
33 "run_all_unittests.cc" 31 "run_all_unittests.cc",
34 ] 32 ]
35 33
36 deps = [ 34 deps = [
37 ":test_support_impl", 35 ":test_support_impl",
38 "//base", 36 "//base",
39 "//base/test:test_support", 37 "//base/test:test_support",
40 "//testing/gtest", 38 "//testing/gtest",
41 ] 39 ]
42 40
43 mojo_edk_deps = [ 41 mojo_edk_deps = [ "mojo/edk/system" ]
44 "mojo/edk/system", 42
45 ] 43 mojo_sdk_deps = [ "mojo/public/c/test_support" ]
46
47 mojo_sdk_deps = [
48 "mojo/public/c/test_support",
49 ]
50 } 44 }
51 45
52 # GYP version: mojo/edk/mojo_edk.gyp:mojo_run_all_perftests 46 # GYP version: mojo/edk/mojo_edk.gyp:mojo_run_all_perftests
53 mojo_edk_source_set("run_all_perftests") { 47 mojo_edk_source_set("run_all_perftests") {
54 testonly = true 48 testonly = true
55 deps = [ 49 deps = [
56 ":test_support_impl", 50 ":test_support_impl",
57 "//base", 51 "//base",
58 "//base/test:test_support", 52 "//base/test:test_support",
59 ] 53 ]
60 54
61 mojo_edk_deps = [ 55 mojo_edk_deps = [ "mojo/edk/system" ]
62 "mojo/edk/system",
63 ]
64 56
65 mojo_sdk_deps = [ 57 mojo_sdk_deps = [ "mojo/public/c/test_support" ]
66 "mojo/public/c/test_support",
67 ]
68 58
69 sources = [ 59 sources = [
70 "run_all_perftests.cc", 60 "run_all_perftests.cc",
71 ] 61 ]
72 } 62 }
73 63
74 # GYP version: mojo/edk/mojo_edk.gyp:mojo_test_support_impl 64 # GYP version: mojo/edk/mojo_edk.gyp:mojo_test_support_impl
75 mojo_edk_source_set("test_support_impl") { 65 mojo_edk_source_set("test_support_impl") {
76 testonly = true 66 testonly = true
77 deps = [ 67 deps = [
78 "//base", 68 "//base",
79 "//base/test:test_support", 69 "//base/test:test_support",
80 ] 70 ]
81 71
82 mojo_sdk_deps = [ 72 mojo_sdk_deps = [ "mojo/public/c/test_support" ]
83 "mojo/public/c/test_support",
84 ]
85 73
86 sources = [ 74 sources = [
87 "test_support_impl.cc", 75 "test_support_impl.cc",
88 "test_support_impl.h", 76 "test_support_impl.h",
89 ] 77 ]
90 } 78 }
79
80 # Public SDK test targets follow. These targets are not defined within the
81 # public SDK itself as running the unittests requires the EDK.
82
83 # GYP version: mojo/mojo_base.gyp:mojo_public_application_unittests
84 test("mojo_public_application_unittests") {
85 deps = [
86 ":run_all_unittests",
87 "../../public/cpp/application/tests",
88 ]
89 }
90
91 # GYP version: mojo/mojo_base.gyp:mojo_public_bindings_unittests
92 test("mojo_public_bindings_unittests") {
93 deps = [
94 ":run_all_unittests",
95 "../../public/cpp/bindings/tests",
96 ]
97 }
98
99 # GYP version: mojo/mojo_base.gyp:mojo_public_environment_unittests
100 test("mojo_public_environment_unittests") {
101 deps = [
102 ":run_all_unittests",
103 "../../public/cpp/environment/tests",
104 ]
105 }
106
107 # GYP version: mojo/mojo_base.gyp:mojo_public_system_perftests
108 test("mojo_public_system_perftests") {
109 deps = [
110 ":run_all_perftests",
111 "../../public/c/system/tests:perftests",
112 ]
113 }
OLDNEW
« no previous file with comments | « mojo/edk/system/waiter.cc ('k') | mojo/public/VERSION » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698