Skip to content

Commit

Permalink
[src] Update generator-frameworks.g.cs, and make it a build error to …
Browse files Browse the repository at this point in the history
…forget to do it again. (#18862)
  • Loading branch information
rolfbjarne committed Aug 30, 2023
1 parent b3e2a76 commit 892403d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
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

3 comments on commit 892403d

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

Please sign in to comment.