Unverified Commit c61c8f30 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Check that header exists instead of content (#65961)

parent af214341
...@@ -233,10 +233,7 @@ Future<void> main() async { ...@@ -233,10 +233,7 @@ Future<void> main() async {
section("Check all modes' engine header"); section("Check all modes' engine header");
for (final String mode in <String>['Debug', 'Profile', 'Release']) { for (final String mode in <String>['Debug', 'Profile', 'Release']) {
checkFileContains( checkFileExists(path.join(outputPath, mode, 'Flutter.framework', 'Headers', 'Flutter.h'));
<String>['#import "FlutterEngine.h"'],
path.join(outputPath, mode, 'Flutter.framework', 'Headers', 'Flutter.h'),
);
} }
section('Check all modes have plugins'); section('Check all modes have plugins');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment