Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[src] Update generator-frameworks.g.cs, and make it a build error to forget to do it again. #18862

Merged
merged 2 commits into from Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Makefile.generator
Expand Up @@ -52,6 +52,7 @@ DOTNET_TARGETS_DIRS += \
$(BUILD_DIR)/generator-frameworks.g.cs: frameworks.sources Makefile.generator generate-frameworks.csharp
@mkdir -p $(dir $@)
$(Q) ./generate-frameworks.csharp $@.tmp '$(IOS_FRAMEWORKS)' '$(MACOS_FRAMEWORKS)' '$(WATCHOS_FRAMEWORKS)' '$(TVOS_FRAMEWORKS)' '$(MACCATALYST_FRAMEWORKS)'
$(Q) if ! diff $@ $@.tmp >/dev/null; then $(CP) $@.tmp $@; git diff "$@"; echo "The file $@ has been automatically re-generated; please commit the changes."; exit 1; fi
$(Q) mv $@.tmp $@

# This rule means: generate a <platform>-defines.rsp for the frameworks in the variable <PLATFORM>_FRAMEWORKS
Expand Down
5 changes: 5 additions & 0 deletions src/build/generator-frameworks.g.cs
Expand Up @@ -28,6 +28,7 @@ partial class Frameworks {
"CarPlay",
"CFNetwork",
"Chip",
"Cinematic",
"ClassKit",
"CloudKit",
"Compression",
Expand Down Expand Up @@ -162,6 +163,7 @@ partial class Frameworks {
"CallKit",
"CFNetwork",
"Chip",
"Cinematic",
"ClassKit",
"CloudKit",
"Compression",
Expand Down Expand Up @@ -341,6 +343,7 @@ partial class Frameworks {
"BackgroundTasks",
"CFNetwork",
"Chip",
"Cinematic",
"CloudKit",
"Compression",
"CoreAnimation",
Expand Down Expand Up @@ -562,6 +565,7 @@ partial class Frameworks {
bool? _CarPlay;
bool? _CFNetwork;
bool? _Chip;
bool? _Cinematic;
bool? _ClassKit;
bool? _ClockKit;
bool? _CloudKit;
Expand Down Expand Up @@ -725,6 +729,7 @@ partial class Frameworks {
public bool HaveCarPlay { get { if (!_CarPlay.HasValue) _CarPlay = GetValue ("CarPlay"); return _CarPlay.Value; } }
public bool HaveCFNetwork { get { if (!_CFNetwork.HasValue) _CFNetwork = GetValue ("CFNetwork"); return _CFNetwork.Value; } }
public bool HaveChip { get { if (!_Chip.HasValue) _Chip = GetValue ("Chip"); return _Chip.Value; } }
public bool HaveCinematic { get { if (!_Cinematic.HasValue) _Cinematic = GetValue ("Cinematic"); return _Cinematic.Value; } }
public bool HaveClassKit { get { if (!_ClassKit.HasValue) _ClassKit = GetValue ("ClassKit"); return _ClassKit.Value; } }
public bool HaveClockKit { get { if (!_ClockKit.HasValue) _ClockKit = GetValue ("ClockKit"); return _ClockKit.Value; } }
public bool HaveCloudKit { get { if (!_CloudKit.HasValue) _CloudKit = GetValue ("CloudKit"); return _CloudKit.Value; } }
Expand Down