naiveproxy/tools/gn
klzgrad 0e4433c105 build: Trim libevent usage
Use system libevent on Linux. Remove extra libs on other platforms.
2018-01-29 01:27:58 +08:00
..
bin Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
bootstrap build: Trim libevent usage 2018-01-29 01:27:58 +08:00
docs Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
example Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
format_test_data Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
misc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
tutorial Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
action_target_generator.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
action_target_generator.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
action_values.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
action_values.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
analyzer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
analyzer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
args.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
args.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
binary_target_generator.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
binary_target_generator.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
build_settings.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
build_settings.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
BUILD.gn Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
builder_record.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
builder_record.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
builder.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
builder.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
bundle_data_target_generator.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
bundle_data_target_generator.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
bundle_data.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
bundle_data.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
bundle_file_rule.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
bundle_file_rule.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
c_include_iterator.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
c_include_iterator.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
command_analyze.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
command_args.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
command_check.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
command_clean.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
command_desc.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
command_format.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
command_format.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
command_gen.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
command_help.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
command_ls.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
command_path.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
command_refs.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
commands.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
commands.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
config_values_extractors.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
config_values_extractors.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
config_values_generator.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
config_values_generator.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
config_values.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
config_values.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
config.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
config.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
copy_target_generator.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
copy_target_generator.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
create_bundle_target_generator.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
create_bundle_target_generator.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
DEPS Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
deps_iterator.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
deps_iterator.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
desc_builder.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
desc_builder.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
eclipse_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
eclipse_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
err.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
err.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
escape.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
escape.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
exec_process.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
exec_process.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
filesystem_utils.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
filesystem_utils.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
function_exec_script.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
function_foreach.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
function_forward_variables_from.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
function_get_label_info.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
function_get_path_info.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
function_get_target_outputs.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
function_process_file_template.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
function_read_file.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
function_rebase_path.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
function_set_default_toolchain.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
function_set_defaults.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
function_template.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
function_toolchain.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
function_write_file.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
functions_target.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
functions.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
functions.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
gn_main.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
group_target_generator.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
group_target_generator.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
header_checker.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
header_checker.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
import_manager.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
import_manager.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
inherited_libraries.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
inherited_libraries.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
input_conversion.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
input_conversion.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
input_file_manager.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
input_file_manager.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
input_file.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
input_file.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
item.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
item.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
json_project_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
json_project_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
label_pattern.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
label_pattern.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
label_ptr.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
label.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
label.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
last_commit_position.py Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
lib_file.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
lib_file.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
loader.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
loader.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
location.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
location.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_action_target_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_action_target_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_binary_target_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_binary_target_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_build_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_build_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_bundle_data_target_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_bundle_data_target_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_copy_target_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_copy_target_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_create_bundle_target_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_create_bundle_target_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_group_target_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_group_target_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_target_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_target_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_toolchain_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_toolchain_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_utils.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_utils.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ninja_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
operators.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
operators.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
ordered_set.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
output_file.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
output_file.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
OWNERS Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
parse_node_value_adapter.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
parse_node_value_adapter.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
parse_tree.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
parse_tree.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
parser.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
parser.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
path_output.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
path_output.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
pattern.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
pattern.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
pool.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
pool.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
qt_creator_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
qt_creator_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
README.md Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
runtime_deps.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
runtime_deps.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
scheduler.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
scheduler.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
scope_per_file_provider.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
scope_per_file_provider.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
scope.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
scope.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
settings.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
settings.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
setup.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
setup.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
source_dir.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
source_dir.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
source_file_type.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
source_file_type.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
source_file.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
source_file.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
standard_out.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
standard_out.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
string_utils.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
string_utils.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
substitution_list.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
substitution_list.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
substitution_pattern.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
substitution_pattern.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
substitution_type.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
substitution_type.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
substitution_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
substitution_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
switches.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
switches.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
target_generator.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
target_generator.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
target.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
target.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
template.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
template.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
test_with_scope.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
test_with_scope.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
token.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
token.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
tokenizer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
tokenizer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
tool.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
tool.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
toolchain.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
toolchain.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
trace.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
trace.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
unique_vector.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
value_extractors.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
value_extractors.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
value.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
value.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
variables.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
variables.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
visibility.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
visibility.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
visual_studio_utils.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
visual_studio_utils.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
visual_studio_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
visual_studio_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
xcode_object.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
xcode_object.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
xcode_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
xcode_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
xml_element_writer.cc Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00
xml_element_writer.h Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00

What is GN?

GN is a meta-build system that generates Ninja build files so that you can build Chromium with Ninja.

Why did you switch from GYP?

  1. We believe GN files are more readable and more maintainable than GYP files.
  2. GN is fast:
  • GN is 20x faster than GYP.
  • GN supports automatically re-running itself as needed by Ninja as part of the build. This eliminates the need to remember to re-run GN when you change a build file.
  1. GN gives us better tools for enforcing dependencies (see gn check and the visibility, public_deps, and data_deps options for some examples).
  2. GN gives us tools for querying the build graph; you can ask "what does X depend on" and "who depends on Y", for example.

What's the status of the GYP->GN migration for Chromium?

As of Oct 2016:

  • All of the Chromium builds have been switched over.
  • Nearly all of the GYP files have been deleted from the Chromium repos.
  • You can no longer build with GYP as a result.
  • There are still some GYP files in place for the "Closure Compilation" builders that need to be converted over.
  • Some related projects (e.g., V8, Skia) may still support GYP for their own reasons.
  • We're still cleaning up some odds and ends like making gclient not still use GYP_DEFINES.

I want more info on GN!

Read these links: