chromium/chromecast/public/media/BUILD.gn

# Copyright 2015 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//chromecast/chromecast.gni")

cast_source_set("media") {
  sources = [
    "audio_post_processor2_shlib.h",
    "audio_post_processor_shlib.h",
    "cast_decoder_buffer.h",
    "cast_decrypt_config.h",
    "cast_key_system.h",
    "decoder_config.h",
    "external_audio_decoder.h",
    "external_audio_pipeline_shlib.h",
    "media_pipeline_backend.h",
    "media_pipeline_device_params.h",
    "stream_id.h",
  ]

  public_configs = [ ":public_headers" ]
  public_deps = [ "//chromecast/public" ]
}

# Any target which includes headers in ":media" should include it in its deps
# so that it inherits the config below. This allows headers in ":media" to
# include other interfaces without an absolute path from src.
config("public_headers") {
  include_dirs = [ "//chromecast/public" ]
}