mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1535 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
		
			
				
	
	
		
			13 lines
		
	
	
		
			398 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			398 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
if [ -z "$1" ]; then
 | 
						|
  echo "ERROR: Please specify a build target: Debug or Release"
 | 
						|
else
 | 
						|
  make -j8 cefclient cefsimple BUILDTYPE=$1
 | 
						|
  if [ $? -eq 0 ]; then
 | 
						|
    echo "Giving SUID permissions to chrome-sandbox..."
 | 
						|
    echo "(using sudo so you may be asked for your password)"
 | 
						|
    sudo -- chown root:root "out/$1/chrome-sandbox" &&
 | 
						|
    sudo -- chmod 4755 "out/$1/chrome-sandbox"
 | 
						|
  fi
 | 
						|
fi
 |