New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shake cannot build Chrome #24
Comments
Trunk shake was able to build the 'chrome' target with this fix. Now trying all other targets (tests and whatnot). …that failed almost immediately with
|
out/Release/obj/chrome/unit_tests.ninja has a rule for test_data/chrome/../ui/webui/resources/js/cr.js , so this is probably just due to shake not doing path normalization (which also makes https://codereview.chromium.org/18227004/ necessary). Yes, gyp could be smarter about this too. |
I now do full path normalisation on all build rules (before I just removed a leading ./), and since I already did full normalisation on dependencies that should be enough. I'm not convinced that given Ninja's stated goals that Ninja should be doing any path normalisation, but since it already does, I now do so. I have used the simple but obviously correct implementation, so this may reduce the parsing speed, but if it does, I'll catch it when I next do a round of profiling. |
I'll give it another try, thanks! |
Seems like path normalisation, probably passed from here somehow https://code.google.com/p/chromium/codesearch#chromium/src/chrome/tools/build/repack_locales.py&q=locale.pak&sq=package:chromium&type=cs&l=53
and probably called from here somehow https://code.google.com/p/chromium/codesearch#chromium/src/chrome/chrome_repack_locales.gypi&q=repack_locales.py&sq=package:chromium&type=cs&l=19
The text was updated successfully, but these errors were encountered: