build: [gn] widevine cdm support behind flag (#14423)
* build: [gn] widevine cdm support behind flag * build: [gyp] link cdm_support in the component build
This commit is contained in:
parent
8441d09a18
commit
c7c95fab2f
11 changed files with 160 additions and 397 deletions
|
@ -1,13 +0,0 @@
|
|||
// Copyright (c) 2013 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.
|
||||
|
||||
#include "chrome/common/widevine_cdm_constants.h"
|
||||
|
||||
#include "build/build_config.h"
|
||||
#include "ppapi/shared_impl/ppapi_permissions.h"
|
||||
|
||||
const char kWidevineCdmPluginExtension[] = "";
|
||||
|
||||
const int32_t kWidevineCdmPluginPermissions =
|
||||
ppapi::PERMISSION_DEV | ppapi::PERMISSION_PRIVATE;
|
|
@ -1,17 +0,0 @@
|
|||
// Copyright (c) 2013 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.
|
||||
|
||||
#ifndef CHROME_COMMON_WIDEVINE_CDM_CONSTANTS_H_
|
||||
#define CHROME_COMMON_WIDEVINE_CDM_CONSTANTS_H_
|
||||
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/macros.h"
|
||||
#include "third_party/widevine/cdm/widevine_cdm_common.h"
|
||||
|
||||
extern const char kWidevineCdmPluginExtension[];
|
||||
|
||||
// Permission bits for Widevine CDM plugin.
|
||||
extern const int32_t kWidevineCdmPluginPermissions;
|
||||
|
||||
#endif // CHROME_COMMON_WIDEVINE_CDM_CONSTANTS_H_
|
Loading…
Add table
Add a link
Reference in a new issue