| 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("//mojo/public/mojo_application.gni") | 7 import("//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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 ] | 165 ] |
| 166 | 166 |
| 167 deps = [ | 167 deps = [ |
| 168 ":converters", | 168 ":converters", |
| 169 "//base", | 169 "//base", |
| 170 "//base/test:test_support", | 170 "//base/test:test_support", |
| 171 "//media", | 171 "//media", |
| 172 "//media/mojo/interfaces", | 172 "//media/mojo/interfaces", |
| 173 "//mojo/environment:chromium", | 173 "//mojo/environment:chromium", |
| 174 "//testing/gtest", | 174 "//testing/gtest", |
| 175 "//third_party/mojo/src/mojo/edk/system", | |
| 176 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", | |
| 177 ] | 175 ] |
| 176 |
| 177 if (use_chrome_edk) { |
| 178 deps += [ |
| 179 "//mojo/edk/system", |
| 180 "//mojo/edk/test:run_all_unittests", |
| 181 ] |
| 182 } else { |
| 183 deps += [ |
| 184 "//third_party/mojo/src/mojo/edk/system", |
| 185 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", |
| 186 ] |
| 187 } |
| 178 } | 188 } |
| 179 | 189 |
| 180 if (!is_component_build) { | 190 if (!is_component_build) { |
| 181 mojo_native_application("media") { | 191 mojo_native_application("media") { |
| 182 sources = [ | 192 sources = [ |
| 183 "main.cc", | 193 "main.cc", |
| 184 ] | 194 ] |
| 185 | 195 |
| 186 deps = [ | 196 deps = [ |
| 187 ":application", | 197 ":application", |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 ":media_mojo_unittests", | 249 ":media_mojo_unittests", |
| 240 ] | 250 ] |
| 241 | 251 |
| 242 if (!is_component_build) { | 252 if (!is_component_build) { |
| 243 deps += [ | 253 deps += [ |
| 244 ":media_apptests", | 254 ":media_apptests", |
| 245 ":media_pipeline_integration_apptests", | 255 ":media_pipeline_integration_apptests", |
| 246 ] | 256 ] |
| 247 } | 257 } |
| 248 } | 258 } |
| OLD | NEW |