ChromeRemoteDesktop causes iOS build to stay dirty |
|||
Issue descriptionBuild is always considered dirty: $ ninja -C out/Debug-iphonesimulator [7/7] STAMP obj/gn_all.stamp $ ninja -C out/Debug-iphonesimulator [7/7] STAMP obj/gn_all.stamp $ ninja -C out/Debug-iphonesimulator -d explain -n ninja explain: ChromeRemoteDesktopEnterprise.app/ChromeRemoteDesktopEnterprise is dirty ninja explain: ChromeRemoteDesktopEnterprise.app/_CodeSignature/CodeResources is dirty ninja explain: obj/ios_internal/remoting/app/ios_remoting_dogfood_app.stamp is dirty ninja explain: output ChromeRemoteDesktop.app/ChromeRemoteDesktop doesn't exist ninja explain: ChromeRemoteDesktop.app/ChromeRemoteDesktop is dirty ninja explain: ChromeRemoteDesktop.app/_CodeSignature/CodeResources is dirty ninja explain: obj/ios_internal/remoting/app/ios_remoting_google_app.stamp is dirty ninja explain: obj/ios_internal/remoting/app/all.stamp is dirty ninja explain: obj/ios_internal/all.stamp is dirty ninja explain: obj/gn_all.stamp is dirty ninja explain: obj/All.stamp is dirty ninja explain: obj/gn_all.stamp is dirty The interesting line is "output ChromeRemoteDesktop.app/ChromeRemoteDesktop doesn't exist". And effectively, the file does not exist after building: $ ninja -C out/Debug-iphonesimulator [7/7] STAMP obj/gn_all.stamp $ ls out/Debug-iphonesimulator/ChromeRemoteDesktop.app/ChromeRemoteDesktop ls: out/Debug-iphonesimulator/ChromeRemoteDesktop.app/ChromeRemoteDesktop: No such file or directory
,
Jul 11 2017
Sylvain, could you please set Component when assigning the bug. Thanks!
,
Jul 11 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c63957149605af2474ac4623ddf0e3413eafacce commit c63957149605af2474ac4623ddf0e3413eafacce Author: Sylvain Defresne <sdefresne@chromium.org> Date: Tue Jul 11 12:04:01 2017 Code signing script aborts if iOS bundle is malformed. According to the Apple documentation [1], the main binary of an iOS application bundle should have the same name as the bundle without the .app suffix and if the bundle name is defined it should have the same value (only required for non-application bundles if resources are loaded from the bundle). Change build/config/ios/codesign.py to enforce those requirements and fix the ios_remoting_app_tmpl used by chrome remoting iOS application. This fix an incremental build always being considered dirty because the ios_app_bundle template requires the correct naming of the binary of the application bundle but did not enforce it previously. Bug: 740476 Change-Id: I045dd3a393c96a0240f78bab303a241de967cfcd Reviewed-on: https://chromium-review.googlesource.com/565401 Commit-Queue: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by: Justin Cohen <justincohen@chromium.org> Reviewed-by: Yuwei Huang <yuweih@chromium.org> Cr-Commit-Position: refs/heads/master@{#485598} [modify] https://crrev.com/c63957149605af2474ac4623ddf0e3413eafacce/build/config/ios/Module-Info.plist [modify] https://crrev.com/c63957149605af2474ac4623ddf0e3413eafacce/build/config/ios/codesign.py [modify] https://crrev.com/c63957149605af2474ac4623ddf0e3413eafacce/build/config/ios/rules.gni [modify] https://crrev.com/c63957149605af2474ac4623ddf0e3413eafacce/docs/ios/build_instructions.md [modify] https://crrev.com/c63957149605af2474ac4623ddf0e3413eafacce/remoting/ios/app/remoting_ios_tmpl.gni
,
Jul 11 2017
Removing incorrect component. |
|||
►
Sign in to add a comment |
|||
Comment 1 by sdefresne@chromium.org
, Jul 10 2017