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

Unified Diff: media/cdm_paths.gypi

Issue 2001953002: Revert of media: Use platform specific folders for CDMs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cdm/ppapi/cdm_paths.gni ('k') | media/media.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cdm_paths.gypi
diff --git a/media/cdm_paths.gypi b/media/cdm_paths.gypi
deleted file mode 100644
index 3d79dad0656e9049f770af7ce99442ed031f441c..0000000000000000000000000000000000000000
--- a/media/cdm_paths.gypi
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 2016 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# Common variables for media CDM.
-
-# Naming and folder structure below are following the recommendation for Chrome
-# components. Component-updated CDMs must follow the same recommendation.
-
-# Note: This file must be in sync with cdm_paths.cc
-
-# GN version: //media/cdm/ppapi/cdm_paths.gni
-{
- 'variables': {
- 'variables': {
- 'conditions': [
- # OS name for components is close to "<(OS)" but has some differences.
- # Explicitly define what we use to avoid confusion.
- ['OS == "linux" and chromeos == 1', {
- 'component_os%': 'cros'
- }, 'OS == "linux"', {
- 'component_os%': 'linux'
- }, 'OS == "win"', {
- 'component_os%': 'win'
- }, 'OS == "mac"', {
- 'component_os%': 'mac'
- }, {
- 'component_os%': '<(OS)'
- }],
- # Architecture name for components is close to "<(current_cpu)" but has
- # some differences. Explicitly define what we use to avoid confusion.
- ['target_arch == "ia32"', {
- 'component_arch%': 'x86'
- }, 'target_arch == "x64"', {
- 'component_arch%': 'x64'
- }, 'target_arch == "arm"', {
- 'component_arch%': 'arm'
- }, {
- 'component_arch%': '<(current_cpu)'
- }],
- ],
- },
- 'conditions' : [
- # Only enable platform specific path for Win and Mac, where CDMs are
- # Chrome components.
- # TODO(xhwang): Improve how we enable platform specific path. See
- # http://crbug.com/468584
- ['OS == "win" or OS == "mac"', {
- # Path of Clear Key and Widevine CDMs relative to the output dir.
- 'widevine_cdm_path%': 'WidevineCdm/_platform_specific/<(component_os)_<(component_arch)',
- 'clearkey_cdm_path%': 'ClearKeyCdm/_platform_specific/<(component_os)_<(component_arch)',
- }, {
- 'widevine_cdm_path%': '.',
- 'clearkey_cdm_path%': '.',
- }],
- ]
- },
-}
« no previous file with comments | « media/cdm/ppapi/cdm_paths.gni ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698