Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions build_info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"comment": "Provides build info for use by downstream build rules.",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just make this json5 so we can have inline comments?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The GN spec and CMake specs just say "JSON" so I hesitate to use JSON5 in case they or some other downstream build system doesn't support it.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yeah that's true. I imagined this being the input for an emboss build step that would generate GN, CMake, Bazel, Soong, etc integration files (as well as plain json), but I realize I didn't actually articulate that here.

"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"
]
}