Turn off build/include_what_you_use
Chromium doesn't seem to use this rule.
This commit is contained in:
		
					parent
					
						
							
								ec59df1a51
							
						
					
				
			
			
				commit
				
					
						d4ad45334f
					
				
			
		
					 8 changed files with 2 additions and 14 deletions
				
			
		| 
						 | 
				
			
			@ -5,8 +5,6 @@
 | 
			
		|||
 | 
			
		||||
#include "browser/inspectable_web_contents_impl.h"
 | 
			
		||||
 | 
			
		||||
#include <string>
 | 
			
		||||
 | 
			
		||||
#include "browser/browser_client.h"
 | 
			
		||||
#include "browser/browser_context.h"
 | 
			
		||||
#include "browser/browser_main_parts.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
 | 
			
		||||
#include "browser/inspectable_web_contents.h"
 | 
			
		||||
 | 
			
		||||
#include <string>
 | 
			
		||||
 | 
			
		||||
#include "content/public/browser/devtools_frontend_host_delegate.h"
 | 
			
		||||
#include "content/public/browser/web_contents_delegate.h"
 | 
			
		||||
#include "content/public/browser/web_contents_observer.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,8 +1,6 @@
 | 
			
		|||
#ifndef BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_H_
 | 
			
		||||
#define BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_H_
 | 
			
		||||
 | 
			
		||||
#include <string>
 | 
			
		||||
 | 
			
		||||
#include "ui/gfx/native_widget_types.h"
 | 
			
		||||
 | 
			
		||||
namespace brightray {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,8 +3,6 @@
 | 
			
		|||
 | 
			
		||||
#include "browser/inspectable_web_contents_view.h"
 | 
			
		||||
 | 
			
		||||
#include <string>
 | 
			
		||||
 | 
			
		||||
#include "base/mac/scoped_nsobject.h"
 | 
			
		||||
 | 
			
		||||
@class BRYInspectableWebContentsView;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,8 +4,6 @@
 | 
			
		|||
 | 
			
		||||
#include "browser/network_delegate.h"
 | 
			
		||||
 | 
			
		||||
#include <string>
 | 
			
		||||
 | 
			
		||||
#include "net/base/net_errors.h"
 | 
			
		||||
 | 
			
		||||
namespace brightray {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
#include "net/base/network_delegate.h"
 | 
			
		||||
 | 
			
		||||
#include <string>
 | 
			
		||||
 | 
			
		||||
namespace brightray {
 | 
			
		||||
 | 
			
		||||
class NetworkDelegate : public net::NetworkDelegate {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,7 +9,7 @@ namespace brightray {
 | 
			
		|||
 | 
			
		||||
class NotificationPresenter {
 | 
			
		||||
 public:
 | 
			
		||||
  virtual ~NotificationPresenter() {};
 | 
			
		||||
  virtual ~NotificationPresenter() {}
 | 
			
		||||
 | 
			
		||||
  static NotificationPresenter* Create();
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -28,7 +28,7 @@ def list_files(directories, filters):
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
def cpplint(files):
 | 
			
		||||
  rules = '--filter=-build/header_guard,-legal/copyright'
 | 
			
		||||
  rules = '--filter=-build/header_guard,-build/include_what_you_use,-legal/copyright'
 | 
			
		||||
  return subprocess.call([sys.executable, CPPLINT, rules] + files)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue