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

Side by Side Diff: media/BUILD.gn

Issue 914363002: Add the "is_ensemble" build variable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | media/base/BUILD.gn » ('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("//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/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/linux/pkg_config.gni") 8 import("//build/config/linux/pkg_config.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 "//crypto:platform", # TODO(ajwong): This used to be provided by crypto.gyp via export_dependent_settings 481 "//crypto:platform", # TODO(ajwong): This used to be provided by crypto.gyp via export_dependent_settings
482 "//gpu/command_buffer/common", 482 "//gpu/command_buffer/common",
483 "//skia", 483 "//skia",
484 "//third_party/libyuv", 484 "//third_party/libyuv",
485 "//third_party/opus", 485 "//third_party/opus",
486 "//ui/events:events_base", 486 "//ui/events:events_base",
487 "//ui/gfx", 487 "//ui/gfx",
488 "//ui/gfx/geometry", 488 "//ui/gfx/geometry",
489 "//url", 489 "//url",
490 ] 490 ]
491
492 if (is_ensemble) {
DaleCurtis 2015/02/11 21:58:01 I think it'll be less error prone if you gate the
wtc 2015/02/11 23:40:47 Originally I did it this way to minimize my change
DaleCurtis 2015/02/11 23:53:46 I dislike the double listing and much prefer to op
493 # Remove source files and dependencies that need X11, font, or graphics
494 # libraries.
495 sources -= [
496 "filters/default_renderer_factory.cc",
497 "filters/default_renderer_factory.h",
498 "filters/gpu_video_decoder.cc",
499 "filters/gpu_video_decoder.h",
500 "filters/skcanvas_video_renderer.cc",
501 "filters/skcanvas_video_renderer.h",
502 "video/capture/fake_video_capture_device.cc",
503 "video/capture/fake_video_capture_device.h",
504 "video/capture/fake_video_capture_device_factory.h",
505 "video/capture/fake_video_capture_device_factory.cc",
506 "video/capture/file_video_capture_device_factory.h",
507 "video/capture/file_video_capture_device_factory.cc",
508 "video/capture/linux/video_capture_device_factory_linux.cc",
509 "video/capture/linux/video_capture_device_factory_linux.h",
510 "video/capture/video_capture_device_factory.cc",
511 "video/capture/video_capture_device_factory.h",
512 ]
513
514 deps -= [
515 "//skia",
516 "//ui/events:events_base",
517 "//ui/gfx",
518 ]
519 }
491 } 520 }
492 521
493 # Minimal media component for media/cast on iOS. 522 # Minimal media component for media/cast on iOS.
494 if (is_ios) { 523 if (is_ios) {
495 component("media_for_cast_ios") { 524 component("media_for_cast_ios") {
496 configs += [ ":media_config" ] 525 configs += [ ":media_config" ]
497 all_dependent_configs = [ ":media_dependent_config" ] 526 all_dependent_configs = [ ":media_dependent_config" ]
498 include_dirs = [ "." ] 527 include_dirs = [ "." ]
499 libs = [ "CoreVideo.framework" ] 528 libs = [ "CoreVideo.framework" ]
500 529
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 deps = [ 805 deps = [
777 ":media", 806 ":media",
778 ":shared_memory_support", 807 ":shared_memory_support",
779 "//base", 808 "//base",
780 "//ui/gl", 809 "//ui/gl",
781 "//ui/gfx", 810 "//ui/gfx",
782 "//ui/gfx/geometry", 811 "//ui/gfx/geometry",
783 ] 812 ]
784 } 813 }
785 } 814 }
OLDNEW
« no previous file with comments | « no previous file | media/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698