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("//media/media_options.gni") | 5 import("//media/media_options.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") | 7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") |
8 | 8 |
9 # Target naming conventions: | 9 # Target naming conventions: |
10 # - converters: C++/Mojo type converters. | 10 # - converters: C++/Mojo type converters. |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 } | 162 } |
163 | 163 |
164 if (!is_component_build) { | 164 if (!is_component_build) { |
165 mojo_native_application("media") { | 165 mojo_native_application("media") { |
166 sources = [ | 166 sources = [ |
167 "mojo_media_application.cc", | 167 "mojo_media_application.cc", |
168 ] | 168 ] |
169 | 169 |
170 deps = [ | 170 deps = [ |
171 ":renderer_service", | 171 ":renderer_service", |
172 "//mojo/application", | 172 "//mojo/application/public/cpp", |
173 "//third_party/mojo/src/mojo/public/c/system:for_shared_library", | 173 "//third_party/mojo/src/mojo/public/c/system:for_shared_library", |
174 ] | 174 ] |
175 } | 175 } |
176 | 176 |
177 # Note, this 'test' must be loaded via mojo_shell as an app: | 177 # Note, this 'test' must be loaded via mojo_shell as an app: |
178 # | 178 # |
179 # out/Debug/mojo_shell mojo:media_test | 179 # out/Debug/mojo_shell mojo:media_test |
180 # | 180 # |
181 mojo_native_application("media_test") { | 181 mojo_native_application("media_test") { |
182 testonly = true | 182 testonly = true |
(...skipping 18 matching lines...) Expand all Loading... |
201 group("tests") { | 201 group("tests") { |
202 testonly = true | 202 testonly = true |
203 deps = [ | 203 deps = [ |
204 ":media_mojo_unittests", | 204 ":media_mojo_unittests", |
205 ] | 205 ] |
206 | 206 |
207 if (!is_component_build) { | 207 if (!is_component_build) { |
208 deps += [ ":media_test" ] | 208 deps += [ ":media_test" ] |
209 } | 209 } |
210 } | 210 } |
OLD | NEW |