|
404 | 404 | [("CompileFlags", None), |
405 | 405 | ("FrameworkDependencies", None)]))]) |
406 | 406 |
|
| 407 | +DEFAULT_PLATFORM_SETTINGS_DISABLED_TVOS = collections.OrderedDict( |
| 408 | + PLATFORM_SETTINGS_DISABLED + |
| 409 | + [("settings", collections.OrderedDict( |
| 410 | + [("CompileFlags", None), |
| 411 | + ("FrameworkDependencies", None)]))]) |
| 412 | + |
407 | 413 | PLUGIN_IMPORTER_METADATA_TEMPLATE = collections.OrderedDict( |
408 | 414 | [("PluginImporter", collections.OrderedDict( |
409 | 415 | [("serializedVersion", 1), |
|
441 | 447 | DEFAULT_PLATFORM_SETTINGS_DISABLED)), |
442 | 448 | ("iOS", copy.deepcopy( |
443 | 449 | DEFAULT_PLATFORM_SETTINGS_DISABLED_IOS)), |
| 450 | + ("tvOS", copy.deepcopy( |
| 451 | + DEFAULT_PLATFORM_SETTINGS_DISABLED_TVOS)), |
444 | 452 | ])) |
445 | 453 | ] + DEFAULT_IMPORTER_DATA)) |
446 | 454 | ]) |
|
465 | 473 | "Win64": "Standalone", |
466 | 474 | "WindowsStoreApps": "Windows Store Apps", |
467 | 475 | "iOS": "iPhone", |
| 476 | + "tvOS": "tvOS", |
468 | 477 | } |
469 | 478 |
|
470 | 479 | # Alias for standalone platforms specified by the keys of |
@@ -1755,6 +1764,7 @@ def importer_metadata(self): |
1755 | 1764 | elif importer_type == "PluginImporter": |
1756 | 1765 | platforms = set(safe_dict_get_value( |
1757 | 1766 | self._json, "platforms", default_value=["Editor", "Android", "iOS", |
| 1767 | + "tvOS", |
1758 | 1768 | STANDALONE_PLATFORM_ALIAS])) |
1759 | 1769 | cpu_string = safe_dict_get_value(self._json, "cpu", |
1760 | 1770 | default_value="AnyCPU") |
|
0 commit comments