Skip to content

Commit

Permalink
Rename sky_shell to flutter_tester. (flutter#3521)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde authored Mar 27, 2017
1 parent 9ebebe1 commit f4a2c21
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion shell/platform/android/flutter_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static void Init(JNIEnv* env,

// Prepare command line arguments and initialize the shell.
std::vector<std::string> args;
args.push_back("sky_shell");
args.push_back("flutter_tester");
for (auto& arg : fml::jni::StringArrayToVector(env, jargs)) {
args.push_back(std::move(arg));
}
Expand Down
9 changes: 3 additions & 6 deletions shell/platform/darwin/desktop/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,20 @@ source_set("mac_desktop_platform") {
}

executable("shell_standalone") {
output_name = "sky_shell"

output_name = "flutter_tester"
deps = [
":mac_desktop_platform",
]
}

resource_copy_mac("mac_desktop_resources") {
app_name = "SkyShell"

app_name = "FlutterTester"
resources = [ "//third_party/icu/android/icudtl.dat" ]

bundle_directory = "."
}

mac_app("shell_application_bundle") {
app_name = "SkyShell"
app_name = "FlutterTester"
info_plist = "Info.plist"
xibs = [ "flutter_mac.xib" ]

Expand Down
2 changes: 1 addition & 1 deletion shell/platform/darwin/desktop/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>SkyShell</string>
<string>FlutterTester</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
Expand Down
2 changes: 1 addition & 1 deletion shell/platform/linux/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# found in the LICENSE file.

executable("linux") {
output_name = "sky_shell"
output_name = "flutter_tester"

sources = [
"main_linux.cc",
Expand Down
4 changes: 2 additions & 2 deletions shell/platform/linux/main_linux.cc
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void RunNonInteractive(ftl::CommandLine initial_command_line,
}

if (!shell::InitForTesting(initial_command_line)) {
shell::PrintUsage("sky_shell");
shell::PrintUsage("flutter_tester");
exit(EXIT_FAILURE);
return;
}
Expand Down Expand Up @@ -119,7 +119,7 @@ int main(int argc, char* argv[]) {
auto command_line = ftl::CommandLineFromArgcArgv(argc, argv);

if (command_line.HasOption(shell::FlagForSwitch(shell::Switch::Help))) {
shell::PrintUsage("sky_shell");
shell::PrintUsage("flutter_tester");
return EXIT_SUCCESS;
}

Expand Down

0 comments on commit f4a2c21

Please sign in to comment.