Skip to content

[various] Speed up build-examples #3849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
4 changes: 4 additions & 0 deletions packages/animations/example/android/.pluginToolsConfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
4 changes: 4 additions & 0 deletions packages/camera/camera/example/.pluginToolsConfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
4 changes: 4 additions & 0 deletions packages/dynamic_layouts/example/.pluginToolsConfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
4 changes: 4 additions & 0 deletions packages/espresso/example/.pluginToolsConfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
4 changes: 4 additions & 0 deletions packages/flutter_markdown/example/.pluginToolsConfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
4 changes: 4 additions & 0 deletions packages/go_router/example/.pluginToolsConfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
4 changes: 4 additions & 0 deletions packages/palette_generator/example/.pluginToolsConfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
4 changes: 4 additions & 0 deletions packages/pigeon/example/app/.pluginToolsConfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
buildFlags:
_pluginToolsConfigGlobalKey:
- "--no-tree-shake-icons"
- "--dart-define=buildmode=testing"
1 change: 1 addition & 0 deletions script/tool/lib/src/common/package_state_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ bool _isExampleBuildFile(List<String> pathComponents) {
pathComponents.contains('build.gradle') ||
pathComponents.contains('Runner.xcodeproj') ||
pathComponents.contains('CMakeLists.txt') ||
pathComponents.contains('.pluginToolsConfig.yaml') ||
pathComponents.contains('pubspec.yaml');
}

Expand Down
1 change: 1 addition & 0 deletions script/tool/test/version_check_command_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,7 @@ tool/plugin/lib/plugin.dart
processRunner.mockProcessesForExecutable['git-diff'] =
<FakeProcessInfo>[
FakeProcessInfo(MockProcess(stdout: '''
packages/plugin/example/android/.pluginToolsConfig.yaml
packages/plugin/example/android/lint-baseline.xml
packages/plugin/example/android/src/androidTest/foo/bar/FooTest.java
packages/plugin/example/ios/RunnerTests/Foo.m
Expand Down