#ifndef TOOLS_GN_CONFIG_VALUES_GENERATOR_H_
#define TOOLS_GN_CONFIG_VALUES_GENERATOR_H_
#include "gn/source_dir.h"
class ConfigValues;
class Err;
class Scope;
class ConfigValuesGenerator {
public:
ConfigValuesGenerator(ConfigValues* dest_values,
Scope* scope,
const SourceDir& input_dir,
Err* err);
~ConfigValuesGenerator();
void Run();
private:
ConfigValues* config_values_;
Scope* scope_;
const SourceDir input_dir_;
Err* err_;
ConfigValuesGenerator(const ConfigValuesGenerator&) = delete;
ConfigValuesGenerator& operator=(const ConfigValuesGenerator&) = delete;
};
#define CONFIG_VALUES_VARS_HELP \
" Flags: asmflags, cflags, cflags_c, cflags_cc, cflags_objc,\n" \
" cflags_objcc, defines, include_dirs, inputs, ldflags,\n" \
" lib_dirs, libs, precompiled_header, precompiled_source,\n" \
" rustenv, rustflags, swiftflags, testonly\n"
#endif