<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>106745</bug_id>
          
          <creation_ts>2013-01-13 10:34:53 -0800</creation_ts>
          <short_desc>[chromium/mac] In a webkit-in-chromium build, `run-webkit-tests --chromium` never uses binaries built by `build-webkit --chromium`</short_desc>
          <delta_ts>2013-04-08 15:51:49 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nico Weber">thakis</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>schenney</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>805986</commentid>
    <comment_count>0</comment_count>
    <who name="Nico Weber">thakis</who>
    <bug_when>2013-01-13 10:34:53 -0800</bug_when>
    <thetext>In a webkit-in-chromium build, layout_tests/port/chromium.py&apos;s _static_build_path looks in these places:

/Users/thakis/src/chrome/src/xcodebuild/Release/DumpRenderTree.app/Contents/MacOS/DumpRenderTree
/Users/thakis/src/chrome/src/out/Release/DumpRenderTree.app/Contents/MacOS/DumpRenderTree
/Users/thakis/src/chrome/src/third_party/WebKit/xcodebuild/Release/DumpRenderTree.app/Contents/MacOS/DumpRenderTree
/Users/thakis/src/chrome/src/third_party/WebKit/out/Release/DumpRenderTree.app/Contents/MacOS/DumpRenderTree

This finds the DRT binaries in Chromium&apos;s build directories and it finds the DRT in the webkit ninja/make build directory, but it doesn&apos;t find the DRT binary in third_party/WebKit/Source/WebKit/chromium/xcodebuild.

From what I can tell, this has never worked (?).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>805991</commentid>
    <comment_count>1</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2013-01-13 11:02:38 -0800</bug_when>
    <thetext>Correct, I wouldn&apos;t expect it to look there. 

Currently, the logic will look in what it thinks to be the top of the chromium checkout, and then the top of the webkit checkout. It would not know how to deal with two nested chromium checkouts. &quot;the chromium checkout&quot; is defined by looking at the path of the python file, so if we&apos;re in a webkit-in-chromium checkout, we&apos;ll always pick the enclosing chromium checkout, rather than the stuff added by update-webkit.

I&apos;d actually be surprised if update-webkit --chromium even worked properly in this scenario (I guess maybe the correct thing to do would be to end up with two copies of the deps?). I&apos;m not sure that there&apos;s a strong reason to support it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>805992</commentid>
    <comment_count>2</comment_count>
    <who name="Nico Weber">thakis</who>
    <bug_when>2013-01-13 11:04:44 -0800</bug_when>
    <thetext>`update-webkit --chromium` downloads a second copy of the deps (which I guess is the &quot;right thing&quot; – I sometimes build from third_party/WebKit and assume that to work like a standalone checkout).

Since ninja works fine, this bug isn&apos;t important for me personally though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>806537</commentid>
    <comment_count>3</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2013-01-14 12:59:19 -0800</bug_when>
    <thetext>when would third_party/WebKit/Source/WebKit/chromium/xcodebuild get used? Won&apos;t build-webkit put the output in third_party/WebKit/xcodebuild (assuming we&apos;re using xcode)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>806540</commentid>
    <comment_count>4</comment_count>
    <who name="Nico Weber">thakis</who>
    <bug_when>2013-01-14 13:03:29 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; when would third_party/WebKit/Source/WebKit/chromium/xcodebuild get used? Won&apos;t build-webkit put the output in third_party/WebKit/xcodebuild (assuming we&apos;re using xcode)?

Dunno, I&apos;d expect `build-webkit --chromium` to put its output in Source/WebKit/chromium/xcodebuild. It&apos;s fine that the test runner looks in my outer-level chromium build directory for binaries, but the webkit build shouldn&apos;t put files there imho.

(But as said above, I don&apos;t care about this use case myself, so my opinion shouldn&apos;t count for anything.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>806559</commentid>
    <comment_count>5</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2013-01-14 13:29:50 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; when would third_party/WebKit/Source/WebKit/chromium/xcodebuild get used? Won&apos;t build-webkit put the output in third_party/WebKit/xcodebuild (assuming we&apos;re using xcode)?
&gt; 
&gt; Dunno, I&apos;d expect `build-webkit --chromium` to put its output in Source/WebKit/chromium/xcodebuild. It&apos;s fine that the test runner looks in my outer-level chromium build directory for binaries, but the webkit build shouldn&apos;t put files there imho.
&gt;


Oh, I see the confusion, I was thinking that build-webkit --chromium put its output in third_party/WebKit/xcodebuild , but its putting it into Source/WebKit/chromium/xcodebuild. Did it always do that? I would&apos;ve sworn it when into the upper directory.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>806560</commentid>
    <comment_count>6</comment_count>
    <who name="Nico Weber">thakis</who>
    <bug_when>2013-01-14 13:31:01 -0800</bug_when>
    <thetext>I believe it&apos;s always done that, but I&apos;m not sure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>806565</commentid>
    <comment_count>7</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2013-01-14 13:34:32 -0800</bug_when>
    <thetext>It&apos;s always done that.  On Windows, I think the output is always at WebKit/Source/WebKit/chromium/build/{Debug,Release}.  This is because the gclient sync root directory is WebKit/Source/WebKit/chromium.  We had to do some special hacks to move the Makefile output to WebKit/out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>806567</commentid>
    <comment_count>8</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2013-01-14 13:35:21 -0800</bug_when>
    <thetext>That said, it would be nice if we could move all the outputs of build-webkit --chromium into WebKitBuild like every other port.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>806568</commentid>
    <comment_count>9</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2013-01-14 13:36:00 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; I believe it&apos;s always done that, but I&apos;m not sure.

Well, doesn&apos;t matter, really. I guess the important point is that third_party/WebKit/xcodebuild is not going to be populated, and so that part of the logic is just wrong. That should probably be fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>