[build] Add missing inputs to //runtime:generate_version_cc_file.

Change-Id: I268524b08f89c54dee1570c2637369facc1cd54e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/435262
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
Ryan Macnak
2025-06-17 14:53:30 -07:00
committed by Commit Queue
parent 9c5ef8985f
commit 449ecbbac5
2 changed files with 29 additions and 9 deletions
+20
View File
@@ -375,6 +375,26 @@ action("generate_version_cc_file") {
"../tools/VERSION",
"vm/version_in.cc",
]
# This list must be kept in sync with the VM_SNAPSHOT_FILES in
# tools/make_version.py.
inputs += [
"vm/app_snapshot.cc",
"vm/app_snapshot.h",
"vm/dart.cc",
"vm/dart_api_impl.cc",
"vm/datastream.h",
"vm/image_snapshot.cc",
"vm/image_snapshot.h",
"vm/object.cc",
"vm/object.h",
"vm/raw_object.cc",
"vm/raw_object.h",
"vm/snapshot.cc",
"vm/snapshot.h",
"vm/symbols.cc",
"vm/symbols.h",
]
if (dart_version_git_info) {
inputs += [ "$default_git_folder/logs/HEAD" ]
}
+9 -9
View File
@@ -15,24 +15,24 @@ import utils
# When these files change, snapshots created by the VM are potentially no longer
# backwards-compatible.
# This list must be kept in sync with the inputs to generate_version_cc_file in
# runtime/BUILD.gn.
VM_SNAPSHOT_FILES = [
# Header files.
'app_snapshot.h',
'datastream.h',
'image_snapshot.h',
'object.h',
'raw_object.h',
'snapshot.h',
'symbols.h',
# Source files.
'app_snapshot.cc',
'app_snapshot.h',
'dart.cc',
'dart_api_impl.cc',
'datastream.h',
'image_snapshot.cc',
'image_snapshot.h',
'object.cc',
'object.h',
'raw_object.cc',
'raw_object.h',
'snapshot.cc',
'snapshot.h',
'symbols.cc',
'symbols.h',
]