Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
42f61b32
Unverified
Commit
42f61b32
authored
Mar 29, 2023
by
Michael Goderbauer
Committed by
GitHub
Mar 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check cc files (#123704)
Check cc files
parent
fa01649a
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
36 additions
and
1 deletion
+36
-1
analyze.dart
dev/bots/analyze.dart
+4
-1
main.cc
dev/integration_tests/flutter_gallery/linux/main.cc
+4
-0
my_application.cc
...integration_tests/flutter_gallery/linux/my_application.cc
+4
-0
main.cc
dev/integration_tests/ui/linux/main.cc
+4
-0
my_application.cc
dev/integration_tests/ui/linux/my_application.cc
+4
-0
main.cc
examples/api/linux/main.cc
+4
-0
my_application.cc
examples/api/linux/my_application.cc
+4
-0
main.cc
examples/hello_world/linux/main.cc
+4
-0
main.cc
examples/platform_channel/linux/main.cc
+4
-0
No files found.
dev/bots/analyze.dart
View file @
42f61b32
...
@@ -606,6 +606,7 @@ Future<void> verifyNoMissingLicense(String workingDirectory, { bool checkMinimum
...
@@ -606,6 +606,7 @@ Future<void> verifyNoMissingLicense(String workingDirectory, { bool checkMinimum
await
_verifyNoMissingLicenseForExtension
(
workingDirectory
,
'java'
,
overrideMinimumMatches
??
39
,
_generateLicense
(
'// '
));
await
_verifyNoMissingLicenseForExtension
(
workingDirectory
,
'java'
,
overrideMinimumMatches
??
39
,
_generateLicense
(
'// '
));
await
_verifyNoMissingLicenseForExtension
(
workingDirectory
,
'h'
,
overrideMinimumMatches
??
30
,
_generateLicense
(
'// '
));
await
_verifyNoMissingLicenseForExtension
(
workingDirectory
,
'h'
,
overrideMinimumMatches
??
30
,
_generateLicense
(
'// '
));
await
_verifyNoMissingLicenseForExtension
(
workingDirectory
,
'm'
,
overrideMinimumMatches
??
30
,
_generateLicense
(
'// '
));
await
_verifyNoMissingLicenseForExtension
(
workingDirectory
,
'm'
,
overrideMinimumMatches
??
30
,
_generateLicense
(
'// '
));
await
_verifyNoMissingLicenseForExtension
(
workingDirectory
,
'cc'
,
overrideMinimumMatches
??
10
,
_generateLicense
(
'// '
));
await
_verifyNoMissingLicenseForExtension
(
workingDirectory
,
'cpp'
,
overrideMinimumMatches
??
0
,
_generateLicense
(
'// '
));
await
_verifyNoMissingLicenseForExtension
(
workingDirectory
,
'cpp'
,
overrideMinimumMatches
??
0
,
_generateLicense
(
'// '
));
await
_verifyNoMissingLicenseForExtension
(
workingDirectory
,
'swift'
,
overrideMinimumMatches
??
10
,
_generateLicense
(
'// '
));
await
_verifyNoMissingLicenseForExtension
(
workingDirectory
,
'swift'
,
overrideMinimumMatches
??
10
,
_generateLicense
(
'// '
));
await
_verifyNoMissingLicenseForExtension
(
workingDirectory
,
'gradle'
,
overrideMinimumMatches
??
80
,
_generateLicense
(
'// '
));
await
_verifyNoMissingLicenseForExtension
(
workingDirectory
,
'gradle'
,
overrideMinimumMatches
??
80
,
_generateLicense
(
'// '
));
...
@@ -2073,8 +2074,10 @@ bool _isGeneratedPluginRegistrant(File file) {
...
@@ -2073,8 +2074,10 @@ bool _isGeneratedPluginRegistrant(File file) {
final String filename = path.basename(file.path);
final String filename = path.basename(file.path);
return !file.path.contains('
.
pub
-
cache
')
return !file.path.contains('
.
pub
-
cache
')
&& (filename == '
GeneratedPluginRegistrant
.
java
' ||
&& (filename == '
GeneratedPluginRegistrant
.
java
' ||
filename == '
GeneratedPluginRegistrant
.
swift
' ||
filename == '
GeneratedPluginRegistrant
.
h
' ||
filename == '
GeneratedPluginRegistrant
.
h
' ||
filename == '
GeneratedPluginRegistrant
.
m
' ||
filename == '
GeneratedPluginRegistrant
.
m
' ||
filename == '
generated_plugin_registrant
.
dart
' ||
filename == '
generated_plugin_registrant
.
dart
' ||
filename == '
generated_plugin_registrant
.
h
');
filename == '
generated_plugin_registrant
.
h
' ||
filename == '
generated_plugin_registrant
.
cc
');
}
}
dev/integration_tests/flutter_gallery/linux/main.cc
View file @
42f61b32
// Copyright 2014 The Flutter 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 "my_application.h"
#include "my_application.h"
int
main
(
int
argc
,
char
**
argv
)
{
int
main
(
int
argc
,
char
**
argv
)
{
...
...
dev/integration_tests/flutter_gallery/linux/my_application.cc
View file @
42f61b32
// Copyright 2014 The Flutter 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 "my_application.h"
#include "my_application.h"
#include <flutter_linux/flutter_linux.h>
#include <flutter_linux/flutter_linux.h>
...
...
dev/integration_tests/ui/linux/main.cc
View file @
42f61b32
// Copyright 2014 The Flutter 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 "my_application.h"
#include "my_application.h"
int
main
(
int
argc
,
char
**
argv
)
{
int
main
(
int
argc
,
char
**
argv
)
{
...
...
dev/integration_tests/ui/linux/my_application.cc
View file @
42f61b32
// Copyright 2014 The Flutter 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 "my_application.h"
#include "my_application.h"
#include <flutter_linux/flutter_linux.h>
#include <flutter_linux/flutter_linux.h>
...
...
examples/api/linux/main.cc
View file @
42f61b32
// Copyright 2014 The Flutter 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 "my_application.h"
#include "my_application.h"
int
main
(
int
argc
,
char
**
argv
)
{
int
main
(
int
argc
,
char
**
argv
)
{
...
...
examples/api/linux/my_application.cc
View file @
42f61b32
// Copyright 2014 The Flutter 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 "my_application.h"
#include "my_application.h"
#include <flutter_linux/flutter_linux.h>
#include <flutter_linux/flutter_linux.h>
...
...
examples/hello_world/linux/main.cc
View file @
42f61b32
// Copyright 2014 The Flutter 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 "my_application.h"
#include "my_application.h"
int
main
(
int
argc
,
char
**
argv
)
{
int
main
(
int
argc
,
char
**
argv
)
{
...
...
examples/platform_channel/linux/main.cc
View file @
42f61b32
// Copyright 2014 The Flutter 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 "my_application.h"
#include "my_application.h"
int
main
(
int
argc
,
char
**
argv
)
{
int
main
(
int
argc
,
char
**
argv
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment