mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| diff --git chrome/common/features.gni chrome/common/features.gni
 | |
| index 3d82d96a32ad9..1abf381036167 100644
 | |
| --- chrome/common/features.gni
 | |
| +++ chrome/common/features.gni
 | |
| @@ -7,6 +7,7 @@ import("//build/config/chromeos/ui_mode.gni")
 | |
|  import("//build/config/compiler/compiler.gni")
 | |
|  import("//build/config/dcheck_always_on.gni")
 | |
|  import("//build/config/features.gni")
 | |
| +import("//cef/libcef/features/features.gni")
 | |
|  import("//components/compose/features.gni")
 | |
|  import("//components/nacl/features.gni")
 | |
|  import("//components/safe_browsing/buildflags.gni")
 | |
| @@ -32,7 +33,7 @@ assert(use_blink, "Chromium without blink shouldn't use anything in //chrome")
 | |
|  declare_args() {
 | |
|    # Enables the build to have logging enabled by default.
 | |
|    # This is intended for use only in developer builds.
 | |
| -  chrome_enable_logging_by_default = is_debug
 | |
| +  chrome_enable_logging_by_default = is_debug || enable_cef
 | |
|  
 | |
|    # Platforms for which Chrome supports a certificate management UI that
 | |
|    # shows the Chrome Root Store. This is specific to the v2 UI that is
 | |
| @@ -67,11 +68,13 @@ declare_args() {
 | |
|    # optimize_webui was moved to ui/base/ui_features.gni
 | |
|  }
 | |
|  
 | |
| +if (!enable_cef) {
 | |
|  # Logging must be disabled by default in all official builds (including special
 | |
|  # DCHECK-enabled builds). Logging is enabled by default for debug builds, and
 | |
|  # may be selectively enabled by default for release builds.
 | |
|  assert(!chrome_enable_logging_by_default || !is_official_build,
 | |
|         "Logging must be disabled by default in Official builds")
 | |
| +}
 | |
|  
 | |
|  # Use brlapi from brltty for braille display support.
 | |
|  use_brlapi = is_chromeos_ash
 |