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

Side by Side Diff: media/mojo/services/BUILD.gn

Issue 806443002: Enable PipelineIntegrationTests in mojo! (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix component build. Created 5 years, 11 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
« no previous file with comments | « no previous file | media/mojo/services/media_renderer_apptest.cc » ('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/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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 "mojo_media_application.cc", 156 "mojo_media_application.cc",
157 ] 157 ]
158 158
159 deps = [ 159 deps = [
160 ":renderer_service", 160 ":renderer_service",
161 "//mojo/application", 161 "//mojo/application",
162 "//mojo/public/c/system:for_shared_library", 162 "//mojo/public/c/system:for_shared_library",
163 ] 163 ]
164 } 164 }
165 165
166 # Not a 'test' because this is loaded via mojo_shell as an app. 166 # Note, this 'test' must be loaded via mojo_shell as an app:
167 # To run the test: 167 #
168 # out/Debug/mojo_shell mojo:media_test 168 # out/Debug/mojo_shell mojo:media_test
169 # You can get "mojo_shell" using mojo/public/tools/download_shell_binary.py 169 #
170 # To get "mojo_shell" you must specify "use_prebuilt_mojo_shell=true" in GN.
170 mojo_native_application("media_test") { 171 mojo_native_application("media_test") {
171 testonly = true 172 testonly = true
172 sources = [
173 "media_renderer_apptest.cc",
174 ]
175 173
176 deps = [ 174 deps = [
177 ":media", 175 "//media/test:mojo_pipeline_integration_tests",
178 ":renderer_proxy",
179 "//base",
180 "//media",
181 "//media/mojo/interfaces",
182 "//media:shared_memory_support",
183 "//mojo/application",
184 "//mojo/application:test_support",
185 "//mojo/common",
186 "//mojo/environment:chromium",
187 "//mojo/public/c/system:for_shared_library",
188 ] 176 ]
189 } 177 }
190 } 178 }
191 179
192 group("services") { 180 group("services") {
193 deps = [ 181 deps = [
194 ":cdm_proxy", 182 ":cdm_proxy",
195 ":renderer_proxy", 183 ":renderer_proxy",
196 ] 184 ]
197 185
198 if (!is_component_build) { 186 if (!is_component_build) {
199 deps += [ ":media" ] 187 deps += [ ":media" ]
200 } 188 }
201 } 189 }
202 190
203 group("tests") { 191 group("tests") {
204 testonly = true 192 testonly = true
205 deps = [ 193 deps = [
206 ":media_mojo_unittests", 194 ":media_mojo_unittests",
207 ] 195 ]
208 196
209 if (!is_component_build) { 197 if (!is_component_build) {
210 deps += [ ":media_test" ] 198 deps += [ ":media_test" ]
211 } 199 }
212 } 200 }
OLDNEW
« no previous file with comments | « no previous file | media/mojo/services/media_renderer_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698