blob: eaff5662991449e29b9b5981cd2fb731296c768a [file] [log] [blame]
// Copyright 2012 The Goma 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 <string>
#include <vector>
#include "absl/strings/string_view.h"
using std::string;
namespace devtools_goma {
// Parsing Command-Line Arguments (on posix for gcc, javac)
// Note: parsed |cmdline| will be appended to argv.
bool ParsePosixCommandLineToArgv(absl::string_view cmdline,
std::vector<string>* argv);
// Parsing Command-Line Arguments (on Windows)
// Note: parsed |cmdline| will be appended to argv.
bool ParseWinCommandLineToArgv(absl::string_view cmdline,
std::vector<string>* argv);
} // namespace devtools_goma