| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 ":renderer_service", | 171 ":renderer_service", |
| 172 "//mojo/application", | 172 "//mojo/application", |
| 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 # To get "mojo_shell" you must specify "use_prebuilt_mojo_shell=true" in GN. | |
| 182 mojo_native_application("media_test") { | 181 mojo_native_application("media_test") { |
| 183 testonly = true | 182 testonly = true |
| 184 | 183 |
| 185 deps = [ | 184 deps = [ |
| 186 "//media/test:mojo_pipeline_integration_tests", | 185 "//media/test:mojo_pipeline_integration_tests", |
| 187 ] | 186 ] |
| 188 } | 187 } |
| 189 } | 188 } |
| 190 | 189 |
| 191 group("services") { | 190 group("services") { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 202 group("tests") { | 201 group("tests") { |
| 203 testonly = true | 202 testonly = true |
| 204 deps = [ | 203 deps = [ |
| 205 ":media_mojo_unittests", | 204 ":media_mojo_unittests", |
| 206 ] | 205 ] |
| 207 | 206 |
| 208 if (!is_component_build) { | 207 if (!is_component_build) { |
| 209 deps += [ ":media_test" ] | 208 deps += [ ":media_test" ] |
| 210 } | 209 } |
| 211 } | 210 } |
| OLD | NEW |