[chromium-dev] Changing default compile for Chrome Linux build?

2009-04-02 Thread QAH
Hello everyone! I am building the source code of chrome for linux, and I know that it uses gcc and g++. Since chrome is such a big build though and I have 3 computers, I wanted to use distcc to allow all 3 computers to compile chrome and make the build much faster. Is it possible to change the

[chromium-dev] Re: gyp build on Linux

2009-04-02 Thread Dean McNamee
Word on the street is that the ccflags are all wrong, and that release builds aren't being built release properly. On Thu, Apr 2, 2009 at 7:23 AM, Mark Mentovai m...@chromium.org wrote: Awesome.  This is seriously good news.  Thanks! Mark Steven Knight wrote: Linux builds have been

[chromium-dev] Re: Framework for automated test case simplification

2009-04-02 Thread Jonas Fonseca
On Thu, Apr 2, 2009 at 06:28, Dan Kegel d...@kegel.com wrote: I suppose the hard part would be to teach delta how to do legal deletions from web pages. Have you done a proof of concept yet? I haven't done a proof of concept, but yes, a systematic and structured approach for the slicing is

[chromium-dev] Re: Framework for automated test case simplification

2009-04-02 Thread Jonas Fonseca
On Thu, Apr 2, 2009 at 06:11, Brian Rakowski br...@chromium.org wrote: It's not immediately obvious how you would automate the process of creating a reduced test case, so I'm excited to see what you can tell us. The process requires the use of a proxy for serving the web resources. For the

[chromium-dev] Re: gyp build on Linux

2009-04-02 Thread Dean McNamee
I can't actually get it to build (trying Release for now), I am getting linker errors for X calls, we are probably not linking correctly. I will debug it :\ On Thu, Apr 2, 2009 at 12:11 PM, Dean McNamee de...@chromium.org wrote: Word on the street is that the ccflags are all wrong, and that

[chromium-dev] Re: gyp build on Linux

2009-04-02 Thread Dean McNamee
Notice the lack of -O2, etc. This also broke SYMBOLS= PROFILE=, COVERAGE=, etc. I am tempted to revert it all. de...@trex:build$ hammer -j6 --mode=Release SYMBOLS=1 --verbose v8_shell scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... g++ -o

[chromium-dev] Re: gyp build on Linux

2009-04-02 Thread Dean McNamee
-lX11 -lXrender -lXext (at least) was dropped in the switch to gyp. I tried to understand how gyp worked or where these were coming from, but no luck. On Thu, Apr 2, 2009 at 12:35 PM, Dean McNamee de...@chromium.org wrote: I can't actually get it to build (trying Release for now), I am

[chromium-dev] Re: gyp build on Linux

2009-04-02 Thread Dean McNamee
(this isn't just V8, all of chromium is built without optimization in release). There are lots of other issues all over the place. On Thu, Apr 2, 2009 at 1:14 PM, Dean McNamee de...@chromium.org wrote: Notice the lack of -O2, etc.  This also broke SYMBOLS= PROFILE=, COVERAGE=, etc. I am

[chromium-dev] Re: Changing default compile for Chrome Linux build?

2009-04-02 Thread Dan Kegel
On Wed, Apr 1, 2009 at 11:59 PM, QAH qah...@gmail.com wrote: Hello everyone! I am building the source code of chrome for linux, and I know that it uses gcc and g++. Since chrome is such a big build though and I have 3 computers, I wanted to use distcc to allow all 3 computers to compile

[chromium-dev] Re: gyp build on Linux

2009-04-02 Thread Dan Kegel
And it seems to be built without debugging flags in debug mode. At least, I can't single-step through code on Linux. On Thu, Apr 2, 2009 at 4:18 AM, Dean McNamee de...@chromium.org wrote: (this isn't just V8, all of chromium is built without optimization in release).  There are lots of other

[chromium-dev] Re: gyp build on Linux

2009-04-02 Thread Dean McNamee
I confirmed the debug build line has no -g. Also, all of the buildbots are red because of ICU issues: http://build.chromium.org/buildbot/waterfall/builders/Modules%20Linux%20(dbg)/builds/6601/steps/test_shell_tests/logs/MimeTypeTests On Thu, Apr 2, 2009 at 3:46 PM, Dan Kegel

[chromium-dev] Re: gyp build on Linux

2009-04-02 Thread Craig Schlenter
Just a wild guess but I think it's missing the circular linker magic start/end stuff when compiling the plugin. Will try to confirm when I'm near a pc again ... --Craig On 02 Apr 2009, at 15:48, Dean McNamee de...@chromium.org wrote: I confirmed the debug build line has no -g. Also,

[chromium-dev] Re: gyp build on Linux

2009-04-02 Thread John Grabowski
Dean, sounds like you have the seeds of a qual script. Perhaps you could itemize them into a form which sgk can use as a proof test before the next switch-over (assuming this gets reverted)? jrg On Thu, Apr 2, 2009 at 6:48 AM, Dean McNamee de...@chromium.org wrote: I confirmed the debug build

[chromium-dev] Re: gyp build on Linux

2009-04-02 Thread Craig Schlenter
On Thu, Apr 2, 2009 at 4:47 PM, Craig Schlenter craig.schlen...@gmail.com wrote: Just a wild guess but I think it's missing the circular linker magic start/end stuff when compiling the plugin. Will try to confirm when I'm near a pc again ... Confirmed. Here's the line it's using to generate

[chromium-dev] Re: gyp build on Linux

2009-04-02 Thread Mark Mentovai
Craig Schlenter wrote: When I add -Wl,--start-group and -Wl,--end-group to that (manually since haven't figured out how to make gyp do it), then the missing symbol problem goes away (at least when loading chrome and navigating to mail.google which is where I was seeing the problem). I don't

[chromium-dev] Re: GDK_IS_WINDOW(window) failed

2009-04-02 Thread Evan Stade
8708 should be fixed now due to http://codereview.chromium.org/59003/show -- Evan Stade On Wed, Apr 1, 2009 at 11:04 AM, Paweł Hajdan Jr. phajdan...@chromium.org wrote: In r12947 I made fatal gdk/gtk assertions really fatal. And of course it made assertion from http://crbug.com/8708

[chromium-dev] Re: Fwd: variant definitions in the .gyp files

2009-04-02 Thread Adam Langley
On Thu, Apr 2, 2009 at 9:56 AM, Steven Knight s...@chromium.org wrote: It would be good if all of the platforms used similar configuration and terminology, even though the settings will obviously be different.  For SCons, I'll turn these into command-line COVERAGE=, PROFILE= variable

[chromium-dev] Re: Changing default compile for Chrome Linux build?

2009-04-02 Thread Elliot Glaysher (Chromium)
I have CC=distcc gcc and CXX=distcc g++ in my bashrc file, so yes. -- Elliot On Wed, Apr 1, 2009 at 11:59 PM, QAH qah...@gmail.com wrote: Hello everyone! I am building the source code of chrome for linux, and I know that it uses gcc and g++. Since chrome is such a big build though and I

[chromium-dev] Re: Fwd: variant definitions in the .gyp files

2009-04-02 Thread Thomas Van Lenten
So we'd take the product of variants and configuration? I don't think we can do official this way because we need to modify sources lists, so official would stay controlled by a variable for the whole tree. I think your link changes would actually have to be w/in a tagert_conditional blocks so

[chromium-dev] Re: gyp build on Linux

2009-04-02 Thread Mark Larson (Google)
On Thu, Apr 2, 2009 at 09:10, Steven Knight s...@chromium.org wrote: Excellent idea re: qual script. What I'd like to do is turn these items into sanity-check tests for a buildbot slave that specifically tests and times issues about the build itself: build time stats, size of dependency

[chromium-dev] Re: Mac work plan - Implementing about:memory etc tasks

2009-04-02 Thread Mike Pinkerton
How about you file a bug for it and send me the number and i'll update the site to refer to the bug#. That way, if we re-assign it, we haven't lost any of the history. As far as getting started, if it works on linux, then it should be pretty easy to figure out what is stubbed out on mac by

[chromium-dev] Crash service design document

2009-04-02 Thread Marshall Greenblatt
Hi All, Is there a current document that explains the multi-process crash service/reporting design used by Chrome via crash_service? I see the documents available at http://code.google.com/p/google-breakpad/w/list but they appear a bit dated. Thanks, Marshall

[chromium-dev] Re: variant definitions in the .gyp files

2009-04-02 Thread Dean McNamee
On Thu, Apr 2, 2009 at 7:48 PM, Mark Mentovai m...@chromium.org wrote: Steven Knight wrote: 'official': { 'defines': ['OFFICIAL_BUILD'], # Make sure units of code and data go in their own section, # and then GC them in the linker to remove unreferenced data

[chromium-dev] Re: Can I Embed a browser into a java JFrame???

2009-04-02 Thread Mohamed Mansour
Hello, Chromium is a Browser application, not a library or API. It is done in C++ not in Java, if you want to use a Web Browser in a JFrame (Swing) I recommend you to use this library: http://djproject.sourceforge.net/main/index.html until Java rolls out their JWebPane Good Luck On Thu, Apr 2,

[chromium-dev] Re: Crash service design document

2009-04-02 Thread cpu
On Apr 2, 11:12 am, Marshall Greenblatt magreenbl...@gmail.com wrote: Hi All, Is there a current document that explains the multi-process crash service/reporting design used by Chrome via crash_service?  I see the documents available athttp://code.google.com/p/google-breakpad/w/listbut

[chromium-dev] Re: variant definitions in the .gyp files

2009-04-02 Thread Marc-Antoine Ruel
One answer: try server. On Thu, Apr 2, 2009 at 2:49 PM, Dean McNamee de...@chromium.org wrote: On Thu, Apr 2, 2009 at 7:48 PM, Mark Mentovai m...@chromium.org wrote: Steven Knight wrote:       'official': {         'defines': ['OFFICIAL_BUILD'],         # Make sure units of code and data

[chromium-dev] Re: variant definitions in the .gyp files

2009-04-02 Thread Mark Mentovai
Marc-Antoine Ruel wrote: One answer: try server. OK, I'm sold. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev

[chromium-dev] Re: Mac work plan - Implementing about:memory etc tasks

2009-04-02 Thread viksit
Mike Pinkerton wrote: How about you file a bug for it and send me the number and i'll update the site to refer to the bug#. That way, if we re-assign it, we haven't lost any of the history. Done. Issue 9653: about:memory doesn't work on Linux/OS X As far as getting started, if it

[chromium-dev] purecall exceptions and the manbearpig

2009-04-02 Thread cpu
After reading some speculation in bugs such as http://code.google.com/p/chromium/issues/detail?id=8544 I felt compelled to dispel some myths and misunderstandings about the origin and meaning of the mythical _purecall_ exception. My hope is that then you can spot the problems in our source code

[chromium-dev] Re: variant definitions in the .gyp files

2009-04-02 Thread Mark Mentovai
Steven Knight wrote: What's the workflow for enabling coverage in this model?  gclient runhooks --force -Dcoverage=1 and then re-start XCode? That doesn't seem natural for the Linux side, but I could live with it. Linux devs:  comments? I think that the variant model is a stronger way to

[chromium-dev] Re: variant definitions in the .gyp files

2009-04-02 Thread John Grabowski
I like the variant model as well. Perhaps I can rephrase my question. How can we not klobber each other here? Should I land what I've got, and you can adapt it once you implement variants? Or should I throw it away? jrg On Thu, Apr 2, 2009 at 2:29 PM, Mark Mentovai m...@chromium.org wrote:

[chromium-dev] Re: purecall exceptions and the manbearpig

2009-04-02 Thread Nicolas Sylvain
Another simple(r) example : http://msdn.microsoft.com/en-us/library/t296ys27(VS.80).aspx http://msdn.microsoft.com/en-us/library/t296ys27(VS.80).aspxBut, as discussed in bug 8544, we've see many purecall crashes that happens and we don't think it's related to virtual functions. The only thing I

[chromium-dev] Re: Changing default compile for Chrome Linux build?

2009-04-02 Thread QAH
So all I have to do is set: CC=distcc gcc CXX=distcc g++ Somewhere in the .bashrc file and it will use distcc? On Apr 2, 1:08 pm, Elliot Glaysher (Chromium) e...@chromium.org wrote: I have CC=distcc gcc and CXX=distcc g++ in my bashrc file, so yes. -- Elliot On Wed, Apr 1, 2009 at 11:59

[chromium-dev] Re: Changing default compile for Chrome Linux build?

2009-04-02 Thread Dan Kegel
On Thu, Apr 2, 2009 at 4:23 PM, QAH qah...@gmail.com wrote: So all I have to do is set: CC=distcc gcc CXX=distcc g++ Somewhere in the .bashrc file and it will use distcc? You have to export those environment variables. Using CC for the C compiler is a convention that many build systems