Darcy Liu
2018-09-26 06:38:19 UTC
When i tried to run ios/build/tools/setup-gn.py, got an error like this:
/Users/wulei/Desktop/chromium/.gclient_entries missing, .gclient file in
parent directory /Users/wulei/Desktop/chromium might not be the file you
want to use.
/Users/wulei/Desktop/chromium/.gclient_entries missing, .gclient file in
parent directory /Users/wulei/Desktop/chromium might not be the file you
want to use.
gn.py: Could not find gn executable at:
/Users/wulei/Desktop/chromium/src/buildtools/mac/gn
Traceback (most recent call last):
File "ios/build/tools/setup-gn.py", line 351, in <module>
sys.exit(Main(sys.argv[1:]))
File "ios/build/tools/setup-gn.py", line 346, in Main
GenerateXcodeProject(gn_path, args.root, out_dir, settings)
File "ios/build/tools/setup-gn.py", line 269, in GenerateXcodeProject
generator.Generate(gn_path, root_dir, temp_path)
File "ios/build/tools/setup-gn.py", line 130, in Generate
self.GetGnCommand(gn_path, root_path, out_path, True))
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command
'['/Users/wulei/Desktop/chromium/depot_tools/gn',
'--root=/Users/wulei/Desktop/chromium/src', '-q', '--ide=xcode',
'--root-target=gn_all',
'--filters=//base:base_unittests;//components:components_unittests;//crypto:crypto_unittests;//google_apis:google_apis_unittests;//ios/*;//ios_internal/*;//net:net_unittests;//services:services_unittests;//skia:skia_unittests;//sql:sql_unittests;//ui/base:ui_base_unittests;//ui/gfx:gfx_unittests;//url:url_unittests',
'gen', '//out/_temp2vEoQI']' returned non-zero exit status 2
don't know how to fix this
/Users/wulei/Desktop/chromium/.gclient_entries missing, .gclient file in
parent directory /Users/wulei/Desktop/chromium might not be the file you
want to use.
/Users/wulei/Desktop/chromium/.gclient_entries missing, .gclient file in
parent directory /Users/wulei/Desktop/chromium might not be the file you
want to use.
gn.py: Could not find gn executable at:
/Users/wulei/Desktop/chromium/src/buildtools/mac/gn
Traceback (most recent call last):
File "ios/build/tools/setup-gn.py", line 351, in <module>
sys.exit(Main(sys.argv[1:]))
File "ios/build/tools/setup-gn.py", line 346, in Main
GenerateXcodeProject(gn_path, args.root, out_dir, settings)
File "ios/build/tools/setup-gn.py", line 269, in GenerateXcodeProject
generator.Generate(gn_path, root_dir, temp_path)
File "ios/build/tools/setup-gn.py", line 130, in Generate
self.GetGnCommand(gn_path, root_path, out_path, True))
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command
'['/Users/wulei/Desktop/chromium/depot_tools/gn',
'--root=/Users/wulei/Desktop/chromium/src', '-q', '--ide=xcode',
'--root-target=gn_all',
'--filters=//base:base_unittests;//components:components_unittests;//crypto:crypto_unittests;//google_apis:google_apis_unittests;//ios/*;//ios_internal/*;//net:net_unittests;//services:services_unittests;//skia:skia_unittests;//sql:sql_unittests;//ui/base:ui_base_unittests;//ui/gfx:gfx_unittests;//url:url_unittests',
'gen', '//out/_temp2vEoQI']' returned non-zero exit status 2
don't know how to fix this
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/86d2411c-5197-403a-9959-813b0df8bcd5%40chromium.org.
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/86d2411c-5197-403a-9959-813b0df8bcd5%40chromium.org.