1 // Copyright (c) 2024 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef TOOLS_GN_INVOKE_PYTHON_H_ 6 #define TOOLS_GN_INVOKE_PYTHON_H_ 7 8 #include <string> 9 10 namespace base { 11 class FilePath; 12 } // namespace base 13 14 class BuildSettings; 15 class Err; 16 17 namespace internal { 18 19 bool InvokePython(const BuildSettings* build_settings, 20 const base::FilePath& python_script_path, 21 const std::string& python_script_extra_args, 22 const base::FilePath& output_path, 23 bool quiet, 24 Err* err); 25 26 } // namespace internal 27 28 #endif // TOOLS_UTILS_INVOKE_PYTHON_H_ 29