Remove many unused variables and unused setting files (#4607)
* Remove many unused variables and unused setting files Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com> * Remove a few more dead config vars Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com> * fix android test_ConfigureSettings_DefaultValues_SetsValues Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
This commit is contained in:
@@ -208,13 +208,6 @@ class AndroidLauncher(Launcher):
|
||||
with self.android_vfs_setreg_path.open('w') as android_vfs_setreg:
|
||||
json.dump(vfs_settings, android_vfs_setreg, indent=4)
|
||||
|
||||
self.workspace.settings.modify_platform_setting('r_AssetProcessorShaderCompiler', 1)
|
||||
self.workspace.settings.modify_platform_setting('r_ShadersAsyncCompiling', 0)
|
||||
self.workspace.settings.modify_platform_setting('r_ShadersRemoteCompiler', 1)
|
||||
self.workspace.settings.modify_platform_setting('r_ShadersAllowCompilation', 1)
|
||||
self.workspace.settings.modify_platform_setting('r_ShadersAsyncActivation', 0)
|
||||
self.workspace.settings.modify_platform_setting('r_ShaderCompilerServer', '127.0.0.1')
|
||||
self.workspace.settings.modify_platform_setting('r_ShaderCompilerPort', '61453')
|
||||
self.workspace.settings.modify_platform_setting("log_RemoteConsoleAllowedAddresses", '127.0.0.1')
|
||||
|
||||
def launch(self):
|
||||
|
||||
@@ -172,7 +172,6 @@ class LinuxLauncher(Launcher):
|
||||
self.args.append('--regset="/Amazon/AzCore/Bootstrap/wait_for_connect=1"')
|
||||
self.args.append(f'--regset="/Amazon/AzCore/Bootstrap/allowed_list={host_ip}"')
|
||||
|
||||
self.workspace.settings.modify_platform_setting("r_AssetProcessorShaderCompiler", 1)
|
||||
self.workspace.settings.modify_platform_setting("r_ShaderCompilerServer", host_ip)
|
||||
self.workspace.settings.modify_platform_setting("log_RemoteConsoleAllowedAddresses", host_ip)
|
||||
|
||||
|
||||
@@ -172,8 +172,6 @@ class WinLauncher(Launcher):
|
||||
self.args.append('--regset="/Amazon/AzCore/Bootstrap/wait_for_connect=1"')
|
||||
self.args.append(f'--regset="/Amazon/AzCore/Bootstrap/allowed_list={host_ip}"')
|
||||
|
||||
self.workspace.settings.modify_platform_setting("r_AssetProcessorShaderCompiler", 1)
|
||||
self.workspace.settings.modify_platform_setting("r_ShaderCompilerServer", host_ip)
|
||||
self.workspace.settings.modify_platform_setting("log_RemoteConsoleAllowedAddresses", host_ip)
|
||||
|
||||
|
||||
|
||||
@@ -238,7 +238,7 @@ class TestAndroidLauncher:
|
||||
launcher = ly_test_tools.launchers.AndroidLauncher(mock_workspace, ["dummy"])
|
||||
launcher.configure_settings()
|
||||
|
||||
assert mock_workspace.settings.modify_platform_setting.call_count == 8
|
||||
assert mock_workspace.settings.modify_platform_setting.call_count == 1
|
||||
|
||||
@mock.patch('ly_test_tools.launchers.platforms.base.Launcher._config_ini_to_dict')
|
||||
@mock.patch('ly_test_tools.environment.process_utils.check_output')
|
||||
|
||||
Reference in New Issue
Block a user