mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	- Windows/Mac: Use `--enable-widevine-cdm` command-line flag to enable download of CDM binaries via the component updater. - Linux: Use `--widevide-cdm-path` and `--widevine-cdm-version` command-line flags to load CDM binaries that already exist on the system. - A cache-path value is usually required when CDM is enabled.
		
			
				
	
	
		
			34 lines
		
	
	
		
			1015 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			1015 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
 | 
						|
# reserved. Use of this source code is governed by a BSD-style license that
 | 
						|
# can be found in the LICENSE file.
 | 
						|
 | 
						|
{
 | 
						|
  'variables': {
 | 
						|
    # Don't use the chrome style plugin with CEF.
 | 
						|
    'clang_use_chrome_plugins': 0,
 | 
						|
    # Set ENABLE_PRINTING=1 ENABLE_BASIC_PRINTING=1.
 | 
						|
    'enable_basic_printing': 1,
 | 
						|
    'enable_print_preview': 0,
 | 
						|
    # Enable support for Widevine CDM.
 | 
						|
    'enable_widevine': 1,
 | 
						|
    'conditions': [
 | 
						|
      # Directory for CEF source files.
 | 
						|
      [ 'OS=="win"', {
 | 
						|
        'cef_directory' : '<!(echo %CEF_DIRECTORY%)',
 | 
						|
      }, { # OS!="win"
 | 
						|
        'cef_directory' : '<!(echo $CEF_DIRECTORY)',
 | 
						|
      }],
 | 
						|
      [ 'OS=="mac"', {
 | 
						|
        # Strip symbols and create dSYM files for the Release target.
 | 
						|
        'mac_strip_release': 1,
 | 
						|
      }],
 | 
						|
    ]
 | 
						|
  }, 'conditions': [
 | 
						|
    ['os_posix==1 and OS!="mac" and OS!="android"', {
 | 
						|
      'target_defaults': {
 | 
						|
        'cflags_cc': ['-Wno-deprecated-declarations'],
 | 
						|
      },
 | 
						|
    }]
 | 
						|
  ],
 | 
						|
}
 |