blob: ace858cd64e7fe5886b804c42d7ecc4d50e1d2b7 [file] [log] [blame] [edit]
// Copyright 2013 The Flutter 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 "flutter/testing/test_args.h"
namespace flutter {
namespace testing {
static fml::CommandLine gProcessArgs;
const fml::CommandLine& GetArgsForProcess() {
return gProcessArgs;
}
void SetArgsForProcess(int argc, char** argv) {
gProcessArgs = fml::CommandLineFromArgcArgv(argc, argv);
}
} // namespace testing
} // namespace flutter