python tools/json_schema_compiler/compiler.py chrome/common/extensions/api/autofill_private.idl --root=. --generator=externs > third_party/closure_compiler/externs/autofill_private.js
How do you generate externs for APIs? For instance, the externs in third_party/closure_compiler/externs/{autofill_private,users_private}.js say they were generated, but I can't find documentation on how to trigger this.And should these really be in separate files, or part of chrome_extensions.js?
--
You received this message because you are subscribed to the Google Groups "Chromium Settings" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-setti...@chromium.org.
To post to this group, send email to chromium...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-settings/CACi5S_26wPbKcD28nUSFraSJ1Qyp_8NyVsEbd2CCV-08O3fY9g%40mail.gmail.com.
How do you generate externs for APIs? For instance, the externs in third_party/closure_compiler/externs/{autofill_private,users_private}.js say they were generated, but I can't find documentation on how to trigger this.And should these really be in separate files, or part of chrome_extensions.js?
I'm not sure. The file instructs that private APIs should go at the end of the file, and that even incomplete/in-progress APIs should be here as long as they're not in chrome.experimental:
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-settings/CAO800SwRZeX3Tz%3DTxRnRQjAw6NHw4Nszhn9MtgWF_57bzqQqBg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-settings/CACi5S_0%3Dd0inJXZpK4Mi245tCLZ6JpCE54ruye-YHU3zykN16Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-settings/CACi5S_0%3Dd0inJXZpK4Mi245tCLZ6JpCE54ruye-YHU3zykN16Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-settings/CADko7PHE%3DrixhD79dciSqDfu0a3Ojd5EsiF29eFs19r_%2BVYfDw%40mail.gmail.com.