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

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

Issue 2299703005: Rename TestMojoMediaClient -> DefaultMojoMediaClient. (Closed)
Patch Set: Created 4 years, 3 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 | « media/media_options.gni ('k') | media/mojo/services/default_mojo_media_client.h » ('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("//media/media_options.gni") 5 import("//media/media_options.gni")
6 import("//services/shell/public/cpp/service.gni") 6 import("//services/shell/public/cpp/service.gni")
7 import("//services/shell/public/service_manifest.gni") 7 import("//services/shell/public/service_manifest.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 9
10 config("mojo_media_config") { 10 config("mojo_media_config") {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 deps = [ 95 deps = [
96 "//media:cdm_api", 96 "//media:cdm_api",
97 "//media:shared_memory_support", 97 "//media:shared_memory_support",
98 "//media/mojo/common", 98 "//media/mojo/common",
99 "//mojo/common", 99 "//mojo/common",
100 "//services/shell/public/interfaces", 100 "//services/shell/public/interfaces",
101 ] 101 ]
102 102
103 if (is_android) { 103 if (is_android) {
104 sources += [ 104 sources += [
105 "android_mojo_media_client.cc",
106 "android_mojo_media_client.h",
105 "mojo_provision_fetcher.cc", 107 "mojo_provision_fetcher.cc",
106 "mojo_provision_fetcher.h", 108 "mojo_provision_fetcher.h",
107 ] 109 ]
108 }
109
110 if (enable_test_mojo_media_client) {
111 defines += [ "ENABLE_TEST_MOJO_MEDIA_CLIENT" ]
112 sources += [
113 "test_mojo_media_client.cc",
114 "test_mojo_media_client.h",
115 ]
116 } else if (is_android) {
117 sources += [
118 "android_mojo_media_client.cc",
119 "android_mojo_media_client.h",
120 ]
121 } else { 110 } else {
122 sources += [ 111 sources += [
123 "default_mojo_media_client.cc", 112 "default_mojo_media_client.cc",
124 "default_mojo_media_client.h", 113 "default_mojo_media_client.h",
125 ] 114 ]
126 } 115 }
127 } 116 }
128 117
129 service("media") { 118 service("media") {
130 testonly = true 119 testonly = true
131 120
132 sources = [ 121 sources = [
133 "main.cc", 122 "main.cc",
134 "test_mojo_media_client.cc",
135 "test_mojo_media_client.h",
136 ] 123 ]
137 124
138 public_deps = [ 125 public_deps = [
139 ":services", 126 ":services",
140 "//base", 127 "//base",
141 "//media", 128 "//media",
142 ] 129 ]
143 130
144 deps = [ 131 deps = [
145 "//mojo/public/c/system", 132 "//mojo/public/c/system",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 ":media", 182 ":media",
196 ":pipeline_test_manifest", 183 ":pipeline_test_manifest",
197 ] 184 ]
198 } 185 }
199 186
200 service_manifest("pipeline_test_manifest") { 187 service_manifest("pipeline_test_manifest") {
201 name = "media_pipeline_integration_unittests" 188 name = "media_pipeline_integration_unittests"
202 type = "exe" 189 type = "exe"
203 source = "pipeline_test_manifest.json" 190 source = "pipeline_test_manifest.json"
204 } 191 }
OLDNEW
« no previous file with comments | « media/media_options.gni ('k') | media/mojo/services/default_mojo_media_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698