Chinmay Garde 3563eeb8e7 [Impeller] Add playground flag to render for a specific amount of time. (flutter/engine#40377)
[Impeller] Add playground flag to render for a specific amount of time.
2023-03-18 01:09:06 +00:00

22 lines
515 B
C++

// 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