[chromium-dev] using chrome's webkit+v8 library

2009-04-21 Thread nshah
Hi there, I am trying to create a project that uses chrome's webkit (which already has v8 integrated). However, I have never been able to get my 4 lines to build because of the linking errors or so. Here is my code: #include webkit/glue/webframe_impl.h #include googleurl/src/gurl.h #include

[chromium-dev] Re: using chrome's webkit+v8 library

2009-04-21 Thread Adam Langley
On Tue, Apr 21, 2009 at 11:52 AM, nshah nidhi.kejri...@gmail.com wrote: ++ -L/home/dev/ProgramFiles/v8/home/chrome-svn/tarball/chromium/src/ sconsbuild/Release/lib/shared -oWebKitTest  ./FrameTest.o ./ HelloWorld.o   -lpthread -licui18n -lbase -licuuc -licudata -levent - lxml2 -lz -lwebcore

[chromium-dev] URLRequestMockHTTPJob?

2009-04-21 Thread Mike Pinkerton
Anyone familiar with how URLRequestMockHTTPJob is supposed to locate files? The UI tests just pass it a filename (no path, no nothing) and expect it to be found. On Mac, at least, this just ends up passing straight through so the FilePath looks like /filename.html which is clearly isn't going to

[chromium-dev] Re: using chrome's webkit+v8 library

2009-04-21 Thread Adam Langley
On Tue, Apr 21, 2009 at 2:31 PM, nshah nidhi.kejri...@gmail.com wrote: I have been trying another route of doing dynamic linking of all the libraries generated during chrome build by converting them from static (.a) to dynamic library (.so). That solved all my compilation errors but now I get

[chromium-dev] Re: using chrome's webkit+v8 library

2009-04-21 Thread Evan Martin
On Tue, Apr 21, 2009 at 2:58 PM, Adam Langley a...@chromium.org wrote: The shared link is still a word-in-progress. I'm not surprised that it segfaulted. Craig and SGK may have gotten it to work! http://codereview.chromium.org/88058 Could you please tell me little bit more about

[chromium-dev] Re: URLRequestMockHTTPJob?

2009-04-21 Thread Tony Chang
It tries to get it from PathService::Get(chrome::DIR_TEST_DATA). Is that variable set for mac? (see chrome/browser/automation/automation_provider.cc:2117) On Tue, Apr 21, 2009 at 2:49 PM, Mike Pinkerton pinker...@chromium.orgwrote: Anyone familiar with how URLRequestMockHTTPJob is supposed to

[chromium-dev] gcl and git-cl brokenness

2009-04-21 Thread Evan Martin
Since it's been asked about 10 times in the channel so far: - gcl is broken in some way where it thinks PRESUBMIT.py is a changelist. Workaround is to remove .svn/gcl_entries/PRESUBMIT.py . Lei is working on reverting it. - M-A checked git-cl/git-try into depot_tools, but it doesn't work and

[chromium-dev] Re: gcl and git-cl brokenness

2009-04-21 Thread Lei Zhang
I reverted r14094. On Tue, Apr 21, 2009 at 4:39 PM, Evan Martin e...@chromium.org wrote: Since it's been asked about 10 times in the channel so far: - gcl is broken in some way where it thinks PRESUBMIT.py is a changelist. Workaround is to remove .svn/gcl_entries/PRESUBMIT.py .  Lei is

[chromium-dev] gyp shared library builds on Linux

2009-04-21 Thread Steven Knight
The gyp build can generate shared libraries on Linux (as of r14166). You can set up to use shared libraries by setting the GYP_DEFINES variable as follows: $ export GYP_DEFINES='library=shared_library' $ gclient runhooks --force If it's not set when you run gclient, it will silently generate