Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Commit 7853e8f

Browse files
authored
Merge pull request #171 from Unity-Technologies/zgh/build_scripts
revert libUIWidgets.so.meta
2 parents a6ea70f + 6acd9ed commit 7853e8f

File tree

2 files changed

+59
-2
lines changed

2 files changed

+59
-2
lines changed

com.unity.uiwidgets/Runtime/Plugins/Android/libUIWidgets.so.meta

Lines changed: 54 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/Scripts/lib_build.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ def set_params():
122122
gn_params=gn_params + " " + optimize
123123

124124
def set_env_verb():
125+
global platform
125126
global flutter_root_path
126127
flutter_root_path = os.getenv('FLUTTER_ROOT_PATH', 'null')
127128
if flutter_root_path == 'null':
@@ -135,7 +136,10 @@ def set_env_verb():
135136
if path.startswith(engine_path):
136137
print("This environment variable has been set, skip")
137138
return
138-
os.environ["PATH"] = engine_path + "/depot_tools;" + os.environ["PATH"]
139+
if platform == "windows":
140+
os.environ["PATH"] = engine_path + "/depot_tools;" + os.environ["PATH"]
141+
else:
142+
os.environ["PATH"] = engine_path + "/depot_tools:" + os.environ["PATH"]
139143

140144
def get_depot_tools():
141145
print("\nGetting Depot Tools...")

0 commit comments

Comments
 (0)