OLD | NEW |
1 # Copyright (c) 2014 Google Inc. All Rights Reserved. | 1 # Copyright (c) 2014 Google Inc. 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 } | 105 } |
106 }], | 106 }], |
107 ['disable_display==0', { | 107 ['disable_display==0', { |
108 'dependencies': [ | 108 'dependencies': [ |
109 '../gpu/gpu.gyp:gpu_unittests', | 109 '../gpu/gpu.gyp:gpu_unittests', |
110 ], | 110 ], |
111 }], | 111 }], |
112 ['OS!="android"', { | 112 ['OS!="android"', { |
113 'dependencies': [ | 113 'dependencies': [ |
114 'cast_shell_browser_test', | 114 'cast_shell_browser_test', |
| 115 'cast_shell_media_unittests', |
115 'media/media.gyp:cast_media_unittests', | 116 'media/media.gyp:cast_media_unittests', |
116 ], | 117 ], |
117 'variables': { | 118 'variables': { |
118 'filters': [ | 119 'filters': [ |
119 'cast_shell_browser_test --no-sandbox --disable-gpu', | 120 'cast_shell_browser_test --no-sandbox --disable-gpu', |
120 ], | 121 ], |
121 }, | 122 }, |
122 }], | 123 }], |
123 ], | 124 ], |
124 'includes': ['build/tests/test_list.gypi'], | 125 'includes': ['build/tests/test_list.gypi'], |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 '-o', '<@(_outputs)', | 222 '-o', '<@(_outputs)', |
222 'pack_build', | 223 'pack_build', |
223 ], | 224 ], |
224 }, | 225 }, |
225 ], | 226 ], |
226 }, | 227 }, |
227 ], # end of targets | 228 ], # end of targets |
228 }, { # OS!="android" | 229 }, { # OS!="android" |
229 'targets': [ | 230 'targets': [ |
230 { | 231 { |
| 232 'target_name': 'cast_shell_media_unittests', |
| 233 'type': '<(gtest_target_type)', |
| 234 'dependencies': [ |
| 235 'cast_metrics_test_support', |
| 236 'cast_shell_media', |
| 237 'media/media.gyp:cast_media', |
| 238 '../base/base.gyp:base', |
| 239 '../base/base.gyp:test_support_base', |
| 240 '../ipc/ipc.gyp:test_support_ipc', |
| 241 '../media/media.gyp:media_test_support', |
| 242 '../testing/gmock.gyp:gmock', |
| 243 '../testing/gtest.gyp:gtest', |
| 244 '../testing/gtest.gyp:gtest_main', |
| 245 ], |
| 246 'sources': [ |
| 247 'renderer/media/cma_renderer_unittest.cc', |
| 248 'media/cma/test/run_all_unittests.cc', |
| 249 ], |
| 250 }, |
| 251 { |
231 'target_name': 'cast_shell_test_support', | 252 'target_name': 'cast_shell_test_support', |
232 'type': '<(component)', | 253 'type': '<(component)', |
233 'defines': [ | 254 'defines': [ |
234 'HAS_OUT_OF_PROC_TEST_RUNNER', | 255 'HAS_OUT_OF_PROC_TEST_RUNNER', |
235 ], | 256 ], |
236 'dependencies': [ | 257 'dependencies': [ |
237 'cast_shell_core', | 258 'cast_shell_core', |
238 '../content/content_shell_and_tests.gyp:content_browser_test_support
', | 259 '../content/content_shell_and_tests.gyp:content_browser_test_support
', |
239 '../testing/gtest.gyp:gtest', | 260 '../testing/gtest.gyp:gtest', |
240 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | 261 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
(...skipping 15 matching lines...) Expand all Loading... |
256 'HAS_OUT_OF_PROC_TEST_RUNNER', | 277 'HAS_OUT_OF_PROC_TEST_RUNNER', |
257 ], | 278 ], |
258 'sources': [ | 279 'sources': [ |
259 'browser/test/chromecast_shell_browser_test.cc', | 280 'browser/test/chromecast_shell_browser_test.cc', |
260 ], | 281 ], |
261 }, | 282 }, |
262 ], # end of targets | 283 ], # end of targets |
263 }], | 284 }], |
264 ], # end of conditions | 285 ], # end of conditions |
265 } | 286 } |
OLD | NEW |