'java' is not recognized as an internal or external command,operable program or batch file.
--
--
Chromium Developers mailing list: chromi...@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 view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CALaH6Dvfh_PcxuU1FtiPjXtGUBjKADRVOU97fb6%3DLkLMSnU5yA%40mail.gmail.com.
Let's move this discussion into crbug.com/805011 .
I agree that duplicating the compiler is gross and should be avoided, and there are real needs for Closure, but we also have historically tried very hard to avoid Java, so we need to figure out what the right thing to do is here and have a consistent story.
-- DirkOn Tue, Jan 23, 2018 at 1:15 PM, John Williams <j...@google.com> wrote:We're basically using the compiler for three things: type checking, inlining intrinsic functions, and assembling the source files into modules based on the dependency graph.I'll look into using the Node-based version of the compiler since that seems like the cleanest solution if it works.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAEoffTBWA%2BbPjeB_9eCrKaPZHupeZBdrsGEfQj5zfL8ViLKRRg%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
On Tue, Jan 23, 2018 at 1:24 PM, Dirk Pranke <dpr...@chromium.org> wrote:Let's move this discussion into crbug.com/805011 .Is this the right bug? Seems unrelated to me, or I am just not understanding the relation. Also there is this older bug about running Closure compiler on windows.
I agree that duplicating the compiler is gross and should be avoided, and there are real needs for Closure, but we also have historically tried very hard to avoid Java, so we need to figure out what the right thing to do is here and have a consistent story.In the long run, I would like to migrate most of our type checking (and development) to TypeScript and TSC (typescript compiler), which does not require any Java and has many other advantages. I know there are others who might be supportive of this vision but this is a whole other story though, and will require a lot of effort (and discussion + enough consensus) to get there.-- DirkOn Tue, Jan 23, 2018 at 1:15 PM, John Williams <j...@google.com> wrote:We're basically using the compiler for three things: type checking, inlining intrinsic functions, and assembling the source files into modules based on the dependency graph.I'll look into using the Node-based version of the compiler since that seems like the cleanest solution if it works.Node-based Closure compiler has its own set of problems (not all JSC flags are supported, not great performance, at least last time I checked). See previous findings here, which led us to use Uglify instead.Overall my suggestion is to explore the possibility of being served by the existing tools that other JS code in Chromium already uses (see WebUI's tool dependencies here). Basically, use closure compiler for type-checking only, which happens on its own dedicated bot , and use Uglify to produce the concatenated JS binary.
dpapad@: FYI, I'm working on slowly making closure compiler type checking work on the normal bots through GN, so that we can get rid of GYP and get type checking for generated Mojo interfaces for WebUI. It'll take a while as I'm pretty slammed with my primary project. Please keep me in the loop for advancements in this area, as all of this will likely be my focus next quarter.