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

Side by Side Diff: mojo/mojo.gyp

Issue 68203005: Mojo: Make tests under mojo/public use our own run_all_unittests.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 27 matching lines...) Expand all
38 'mojo_system', 38 'mojo_system',
39 ], 39 ],
40 'sources': [ 40 'sources': [
41 'public/tests/simple_bindings_support.cc', 41 'public/tests/simple_bindings_support.cc',
42 'public/tests/simple_bindings_support.h', 42 'public/tests/simple_bindings_support.h',
43 'public/tests/test_support.cc', 43 'public/tests/test_support.cc',
44 'public/tests/test_support.h', 44 'public/tests/test_support.h',
45 ], 45 ],
46 }, 46 },
47 { 47 {
48 'target_name': 'mojo_run_all_unittests',
49 'type': 'static_library',
50 'dependencies': [
51 '../base/base.gyp:base',
52 '../base/base.gyp:test_support_base',
53 'mojo_system',
54 ],
55 'sources': [
56 'common/test/run_all_unittests.cc',
57 ],
58 },
59 {
48 'target_name': 'mojo_common_lib', 60 'target_name': 'mojo_common_lib',
49 'type': '<(component)', 61 'type': '<(component)',
50 'defines': [ 62 'defines': [
51 'MOJO_COMMON_IMPLEMENTATION', 63 'MOJO_COMMON_IMPLEMENTATION',
52 ], 64 ],
53 'dependencies': [ 65 'dependencies': [
54 '../base/base.gyp:base', 66 '../base/base.gyp:base',
55 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 67 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
56 'mojo_system', 68 'mojo_system',
57 ], 69 ],
(...skipping 10 matching lines...) Expand all
68 4267, 80 4267,
69 ], 81 ],
70 }], 82 }],
71 ], 83 ],
72 }, 84 },
73 { 85 {
74 'target_name': 'mojo_common_unittests', 86 'target_name': 'mojo_common_unittests',
75 'type': 'executable', 87 'type': 'executable',
76 'dependencies': [ 88 'dependencies': [
77 '../base/base.gyp:base', 89 '../base/base.gyp:base',
78 '../base/base.gyp:run_all_unittests',
79 '../testing/gtest.gyp:gtest', 90 '../testing/gtest.gyp:gtest',
80 'mojo_common_lib', 91 'mojo_common_lib',
92 'mojo_run_all_unittests',
81 'mojo_system', 93 'mojo_system',
82 ], 94 ],
83 'sources': [ 95 'sources': [
84 'common/handle_watcher_unittest.cc', 96 'common/handle_watcher_unittest.cc',
85 'common/test/run_all_unittests.cc',
86 ], 97 ],
87 'conditions': [ 98 'conditions': [
88 ['OS == "win"', { 99 ['OS == "win"', {
89 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 100 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
90 'msvs_disabled_warnings': [ 101 'msvs_disabled_warnings': [
91 4267, 102 4267,
92 ], 103 ],
93 }], 104 }],
94 ], 105 ],
95 }, 106 },
96 { 107 {
97 'target_name': 'mojo_public_unittests', 108 'target_name': 'mojo_public_unittests',
98 'type': 'executable', 109 'type': 'executable',
99 'dependencies': [ 110 'dependencies': [
100 '../base/base.gyp:run_all_unittests',
101 '../testing/gtest.gyp:gtest', 111 '../testing/gtest.gyp:gtest',
102 'mojo_bindings', 112 'mojo_bindings',
103 'mojo_public_test_support', 113 'mojo_public_test_support',
114 'mojo_run_all_unittests',
104 'mojo_system', 115 'mojo_system',
105 ], 116 ],
106 'sources': [ 117 'sources': [
107 'public/tests/bindings_connector_unittest.cc', 118 'public/tests/bindings_connector_unittest.cc',
108 'public/tests/system_core_unittest.cc', 119 'public/tests/system_core_unittest.cc',
109 ], 120 ],
110 }, 121 },
111 { 122 {
112 'target_name': 'mojo_public_perftests', 123 'target_name': 'mojo_public_perftests',
113 'type': 'executable', 124 'type': 'executable',
114 'dependencies': [ 125 'dependencies': [
115 '../base/base.gyp:base', 126 '../base/base.gyp:base',
116 '../base/base.gyp:test_support_perf', 127 '../base/base.gyp:test_support_perf',
117 '../testing/gtest.gyp:gtest', 128 '../testing/gtest.gyp:gtest',
118 'mojo_public_test_support', 129 'mojo_public_test_support',
130 'mojo_run_all_unittests',
119 'mojo_system', 131 'mojo_system',
120 ], 132 ],
121 'sources': [ 133 'sources': [
122 'public/tests/system_core_perftest.cc', 134 'public/tests/system_core_perftest.cc',
123 ], 135 ],
124 }, 136 },
125 { 137 {
126 'target_name': 'mojo_system', 138 'target_name': 'mojo_system',
127 'type': '<(component)', 139 'type': '<(component)',
128 'dependencies': [ 140 'dependencies': [
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', 477 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk',
466 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', 478 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res',
467 'native_lib_target': 'libmojo_shell', 479 'native_lib_target': 'libmojo_shell',
468 }, 480 },
469 'includes': [ '../build/java_apk.gypi' ], 481 'includes': [ '../build/java_apk.gypi' ],
470 } 482 }
471 ], 483 ],
472 }], 484 }],
473 ], 485 ],
474 } 486 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698