From da670b6c4e1c48d86220a0802c0e30c21d514635 Mon Sep 17 00:00:00 2001 From: David Rees <770765+studgeek@users.noreply.github.com> Date: Tue, 13 Aug 2024 13:46:08 -0700 Subject: [PATCH] Provide build_info.json file for downstream builds Provide a JSON file that lists files used in the build. It will be used by downstream, non-bazel builds. For example, https://fxrev.dev/1100339 is one planned usage of this. Emboss Issue: https://github.com/google/emboss/issues/152 Pigweed Bug: https://pwbug.dev/359386289 Change-Id: Id33d879cea95d86f6cc7a16cd395a8c1a4380cbf --- build_info.json | 63 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 build_info.json diff --git a/build_info.json b/build_info.json new file mode 100644 index 0000000..f65ed01 --- /dev/null +++ b/build_info.json @@ -0,0 +1,63 @@ +{ + "comment": "Provides build info for use by downstream build rules.", + "compiler_files": [ + "compiler/__init__.py", + "compiler/back_end/__init__.py", + "compiler/back_end/cpp/__init__.py", + "compiler/back_end/cpp/attributes.py", + "compiler/back_end/cpp/emboss_codegen_cpp.py", + "compiler/back_end/cpp/generated_code_templates", + "compiler/back_end/cpp/header_generator.py", + "compiler/back_end/util/__init__.py", + "compiler/back_end/util/code_template.py", + "compiler/front_end/__init__.py", + "compiler/front_end/attribute_checker.py", + "compiler/front_end/attributes.py", + "compiler/front_end/constraints.py", + "compiler/front_end/dependency_checker.py", + "compiler/front_end/emboss_front_end.py", + "compiler/front_end/error_examples", + "compiler/front_end/expression_bounds.py", + "compiler/front_end/glue.py", + "compiler/front_end/lr1.py", + "compiler/front_end/module_ir.py", + "compiler/front_end/parser.py", + "compiler/front_end/prelude.emb", + "compiler/front_end/reserved_words", + "compiler/front_end/symbol_resolver.py", + "compiler/front_end/synthetics.py", + "compiler/front_end/tokenizer.py", + "compiler/front_end/type_check.py", + "compiler/front_end/write_inference.py", + "compiler/util/__init__.py", + "compiler/util/attribute_util.py", + "compiler/util/error.py", + "compiler/util/expression_parser.py", + "compiler/util/ir_data.py", + "compiler/util/ir_data_utils.py", + "compiler/util/ir_util.py", + "compiler/util/name_conversion.py", + "compiler/util/parser_types.py", + "compiler/util/resources.py", + "compiler/util/simple_memoizer.py", + "compiler/util/traverse_ir.py", + "embossc" + ], + "cpp_runtime_header_files": [ + "runtime/cpp/emboss_arithmetic.h", + "runtime/cpp/emboss_arithmetic_all_known_generated.h", + "runtime/cpp/emboss_arithmetic_maximum_operation_generated.h", + "runtime/cpp/emboss_array_view.h", + "runtime/cpp/emboss_bit_util.h", + "runtime/cpp/emboss_constant_view.h", + "runtime/cpp/emboss_cpp_types.h", + "runtime/cpp/emboss_cpp_util.h", + "runtime/cpp/emboss_defines.h", + "runtime/cpp/emboss_enum_view.h", + "runtime/cpp/emboss_maybe.h", + "runtime/cpp/emboss_memory_util.h", + "runtime/cpp/emboss_prelude.h", + "runtime/cpp/emboss_text_util.h", + "runtime/cpp/emboss_view_parameters.h" + ] +}