Commit 3f0150f6 authored by Sylvain Defresne's avatar Sylvain Defresne Committed by Commit Bot

Clean up deprecated sources assignment filter in //components/cdm

Remove deprecated_default_sources_assignment_filter and replace
it with explicit is_win, is_mac, etc. sections.

Bug: 1018739
Change-Id: I475d54b703c2cea4ca5f6a816a200511571901e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2445933Reviewed-by: default avatarXiaohan Wang <xhwang@chromium.org>
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#814156}
parent d05892b4
......@@ -2,22 +2,20 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This file depends on the legacy global sources assignment filter. It should
# be converted to check target platform before assigning source files to the
# sources variable. Remove this import and set_sources_assignment_filter call
# when the file has been converted. See https://crbug.com/1018739 for details.
import("//build/config/deprecated_default_sources_assignment_filter.gni")
set_sources_assignment_filter(deprecated_default_sources_assignment_filter)
static_library("common") {
sources = [
"cdm_message_generator.cc",
"cdm_message_generator.h",
"cdm_messages_android.h",
"widevine_drm_delegate_android.cc",
"widevine_drm_delegate_android.h",
]
if (is_android) {
sources += [
"cdm_messages_android.h",
"widevine_drm_delegate_android.cc",
"widevine_drm_delegate_android.h",
]
}
deps = [
"//base",
"//content/public/common",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment