| OLD | NEW |
| 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/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
| 6 | 6 |
| 7 # Target naming conventions: | 7 # Target naming conventions: |
| 8 # - converters: C++/Mojo type converters. | 8 # - converters: C++/Mojo type converters. |
| 9 # - proxy: C++ implementations supported by mojo services. | 9 # - proxy: C++ implementations supported by mojo services. |
| 10 # - service: Mojo interface implementations. | 10 # - service: Mojo interface implementations. |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 } | 109 } |
| 110 | 110 |
| 111 # Not a 'test' because this is loaded via mojo_shell as an app. | 111 # Not a 'test' because this is loaded via mojo_shell as an app. |
| 112 # To run the test: | 112 # To run the test: |
| 113 # out/Debug/mojo_shell mojo:media_test | 113 # out/Debug/mojo_shell mojo:media_test |
| 114 # You can get "mojo_shell" using mojo/public/tools/download_shell_binary.py | 114 # You can get "mojo_shell" using mojo/public/tools/download_shell_binary.py |
| 115 mojo_native_application("media_test") { | 115 mojo_native_application("media_test") { |
| 116 testonly = true | 116 testonly = true |
| 117 sources = [ | 117 sources = [ |
| 118 "media_renderer_apptest.cc", | 118 "media_renderer_apptest.cc", |
| 119 "../../base/run_all_unittests.cc", |
| 120 "../../filters/pipeline_integration_test.cc", |
| 121 "../../filters/pipeline_integration_test.h", |
| 122 "../../filters/pipeline_integration_test_base.cc", |
| 123 "../../filters/pipeline_integration_test_base.h", |
| 119 ] | 124 ] |
| 120 | 125 |
| 126 defines = [ "MOJO_RENDERER" ] |
| 127 |
| 121 deps = [ | 128 deps = [ |
| 122 ":media", | 129 ":media", |
| 123 ":renderer_proxy", | 130 ":renderer_proxy", |
| 124 "//base", | 131 "//base", |
| 125 "//media", | 132 "//media", |
| 133 "//media:test_support", |
| 134 "//media/audio:test_support", |
| 135 "//media/base:test_support", |
| 126 "//media/mojo/interfaces", | 136 "//media/mojo/interfaces", |
| 127 "//media:shared_memory_support", | 137 "//media:shared_memory_support", |
| 128 "//mojo/application", | 138 "//mojo/application", |
| 129 "//mojo/application:test_support", | 139 "//mojo/application:test_support", |
| 130 "//mojo/common", | 140 "//mojo/common", |
| 131 "//mojo/environment:chromium", | 141 "//mojo/environment:chromium", |
| 132 "//mojo/public/c/system:for_shared_library", | 142 "//mojo/public/c/system:for_shared_library", |
| 143 "//testing/gtest", |
| 144 "//testing/gmock", |
| 133 ] | 145 ] |
| 134 } | 146 } |
| 135 | 147 |
| 136 group("services") { | 148 group("services") { |
| 137 deps = [ | 149 deps = [ |
| 138 ":media", | 150 ":media", |
| 139 ":renderer_proxy", | 151 ":renderer_proxy", |
| 140 ] | 152 ] |
| 141 } | 153 } |
| 142 | 154 |
| 143 group("tests") { | 155 group("tests") { |
| 144 testonly = true | 156 testonly = true |
| 145 deps = [ | 157 deps = [ |
| 146 ":media_mojo_unittests", | 158 ":media_mojo_unittests", |
| 147 ":media_test", | 159 ":media_test", |
| 148 ] | 160 ] |
| 149 } | 161 } |
| OLD | NEW |