Rename sky_shell to flutter_tester. (flutter/engine#3521)

This commit is contained in:
Chinmay Garde
2017-03-27 13:09:36 -07:00
committed by GitHub
parent 3cf3a20d3d
commit 6b31213bc7
5 changed files with 8 additions and 11 deletions

View File

@@ -26,7 +26,7 @@ static void Init(JNIEnv* env,
// Prepare command line arguments and initialize the shell. // Prepare command line arguments and initialize the shell.
std::vector<std::string> args; std::vector<std::string> args;
args.push_back("sky_shell"); args.push_back("flutter_tester");
for (auto& arg : fml::jni::StringArrayToVector(env, jargs)) { for (auto& arg : fml::jni::StringArrayToVector(env, jargs)) {
args.push_back(std::move(arg)); args.push_back(std::move(arg));
} }

View File

@@ -37,23 +37,20 @@ source_set("mac_desktop_platform") {
} }
executable("shell_standalone") { executable("shell_standalone") {
output_name = "sky_shell" output_name = "flutter_tester"
deps = [ deps = [
":mac_desktop_platform", ":mac_desktop_platform",
] ]
} }
resource_copy_mac("mac_desktop_resources") { resource_copy_mac("mac_desktop_resources") {
app_name = "SkyShell" app_name = "FlutterTester"
resources = [ "//third_party/icu/android/icudtl.dat" ] resources = [ "//third_party/icu/android/icudtl.dat" ]
bundle_directory = "." bundle_directory = "."
} }
mac_app("shell_application_bundle") { mac_app("shell_application_bundle") {
app_name = "SkyShell" app_name = "FlutterTester"
info_plist = "Info.plist" info_plist = "Info.plist"
xibs = [ "flutter_mac.xib" ] xibs = [ "flutter_mac.xib" ]

View File

@@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>en</string> <string>en</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>SkyShell</string> <string>FlutterTester</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string></string> <string></string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>

View File

@@ -3,7 +3,7 @@
# found in the LICENSE file. # found in the LICENSE file.
executable("linux") { executable("linux") {
output_name = "sky_shell" output_name = "flutter_tester"
sources = [ sources = [
"main_linux.cc", "main_linux.cc",

View File

@@ -90,7 +90,7 @@ void RunNonInteractive(ftl::CommandLine initial_command_line,
} }
if (!shell::InitForTesting(initial_command_line)) { if (!shell::InitForTesting(initial_command_line)) {
shell::PrintUsage("sky_shell"); shell::PrintUsage("flutter_tester");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
return; return;
} }
@@ -119,7 +119,7 @@ int main(int argc, char* argv[]) {
auto command_line = ftl::CommandLineFromArgcArgv(argc, argv); auto command_line = ftl::CommandLineFromArgcArgv(argc, argv);
if (command_line.HasOption(shell::FlagForSwitch(shell::Switch::Help))) { if (command_line.HasOption(shell::FlagForSwitch(shell::Switch::Help))) {
shell::PrintUsage("sky_shell"); shell::PrintUsage("flutter_tester");
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }