| 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("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//build/config/linux/pkg_config.gni") | 8 import("//build/config/linux/pkg_config.gni") |
| 9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
| 10 | 10 |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 # Minimal media component for media/cast on iOS. | 263 # Minimal media component for media/cast on iOS. |
| 264 config("base_for_cast_ios_dependent_config") { | 264 config("base_for_cast_ios_dependent_config") { |
| 265 defines = [ "MEDIA_FOR_CAST_IOS" ] | 265 defines = [ "MEDIA_FOR_CAST_IOS" ] |
| 266 } | 266 } |
| 267 | 267 |
| 268 source_set("base_for_cast_ios") { | 268 source_set("base_for_cast_ios") { |
| 269 sources = [ | 269 sources = [ |
| 270 "video_frame.cc", | 270 "video_frame.cc", |
| 271 "video_frame.h", | 271 "video_frame.h", |
| 272 ] | 272 ] |
| 273 configs += [ "//media:media_config" ] | 273 configs += [ |
| 274 "//build/config/compiler:no_size_t_to_int_warning", |
| 275 "//media:media_config", |
| 276 ] |
| 274 all_dependent_configs = [ ":base_for_cast_ios_dependent_config" ] | 277 all_dependent_configs = [ ":base_for_cast_ios_dependent_config" ] |
| 275 } | 278 } |
| 276 | 279 |
| 277 source_set("test_support") { | 280 source_set("test_support") { |
| 278 testonly = true | 281 testonly = true |
| 279 sources = [ | 282 sources = [ |
| 280 "fake_audio_render_callback.cc", | 283 "fake_audio_render_callback.cc", |
| 281 "fake_audio_render_callback.h", | 284 "fake_audio_render_callback.h", |
| 282 "fake_audio_renderer_sink.cc", | 285 "fake_audio_renderer_sink.cc", |
| 283 "fake_audio_renderer_sink.h", | 286 "fake_audio_renderer_sink.h", |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 "text_renderer_unittest.cc", | 347 "text_renderer_unittest.cc", |
| 345 "user_input_monitor_unittest.cc", | 348 "user_input_monitor_unittest.cc", |
| 346 "vector_math_testing.h", | 349 "vector_math_testing.h", |
| 347 "vector_math_unittest.cc", | 350 "vector_math_unittest.cc", |
| 348 "video_frame_pool_unittest.cc", | 351 "video_frame_pool_unittest.cc", |
| 349 "video_frame_unittest.cc", | 352 "video_frame_unittest.cc", |
| 350 "video_util_unittest.cc", | 353 "video_util_unittest.cc", |
| 351 "wall_clock_time_source_unittest.cc", | 354 "wall_clock_time_source_unittest.cc", |
| 352 "yuv_convert_unittest.cc", | 355 "yuv_convert_unittest.cc", |
| 353 ] | 356 ] |
| 354 configs += [ "//media:media_config" ] | 357 configs += [ |
| 358 "//build/config/compiler:no_size_t_to_int_warning", |
| 359 "//media:media_config", |
| 360 ] |
| 355 deps = [ | 361 deps = [ |
| 356 ":base", | 362 ":base", |
| 357 ":test_support", | 363 ":test_support", |
| 358 "//skia", | 364 "//skia", |
| 359 "//testing/gmock", | 365 "//testing/gmock", |
| 360 "//testing/gtest", | 366 "//testing/gtest", |
| 361 ] | 367 ] |
| 362 | 368 |
| 363 if (media_use_ffmpeg) { | 369 if (media_use_ffmpeg) { |
| 364 sources += [ | 370 sources += [ |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 if (is_posix) { | 477 if (is_posix) { |
| 472 yasm_flags += [ "-DELF" ] | 478 yasm_flags += [ "-DELF" ] |
| 473 if (cpu_arch == "x64") { | 479 if (cpu_arch == "x64") { |
| 474 # TODO(ajwong): Why isn't this true in mac? | 480 # TODO(ajwong): Why isn't this true in mac? |
| 475 yasm_flags += [ "-DPIC" ] | 481 yasm_flags += [ "-DPIC" ] |
| 476 } | 482 } |
| 477 } | 483 } |
| 478 } | 484 } |
| 479 } | 485 } |
| 480 } | 486 } |
| OLD | NEW |