<?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>58716</bug_id>
          
          <creation_ts>2011-04-15 17:31:50 -0700</creation_ts>
          <short_desc>JavaScriptCore shouldn&apos;t depend on ../ThirdParty/gtest/xcode/gtest.xcodeproj</short_desc>
          <delta_ts>2011-04-15 19:28:54 -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>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Timothy Hatcher">timothy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>dslomov</cc>
    
    <cc>eric</cc>
    
    <cc>levin</cc>
    
    <cc>lforschler</cc>
    
    <cc>mrowe</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>387081</commentid>
    <comment_count>0</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2011-04-15 17:31:50 -0700</bug_when>
    <thetext>In https://trac.webkit.org/changeset/83974 JavaScriptCore became dependant on an external project. This breaks the build under Apple&apos;s internal build system.

In general anthing inside Source/JavaScriptCore (and WebCore, etc.) can&apos;t reference something outside that source root. So ../ThirdParty is a violation of that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387084</commentid>
    <comment_count>1</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2011-04-15 17:34:06 -0700</bug_when>
    <thetext>The correct way to do this would be to build gtest and have JSC depend on it and link against it. Like WebCore does with ANGLE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387088</commentid>
    <comment_count>2</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2011-04-15 17:40:47 -0700</bug_when>
    <thetext>Mark Rowe has told me the build still works. But this is still not the normal way we do cross project dependancy in WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387091</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2011-04-15 17:44:48 -0700</bug_when>
    <thetext>I think this change should be reverted.  JavaScriptCore.xcodeproj isn’t the right place for this to live.  JavaScriptCore.xcodeproj should not depend on this random third-party library.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387096</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-04-15 17:50:59 -0700</bug_when>
    <thetext>Does this mean that the entire Source directory exists when JavaScript.xcodeproj is built?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387097</commentid>
    <comment_count>5</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2011-04-15 17:52:37 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Does this mean that the entire Source directory exists when JavaScript.xcodeproj is built?

Does what mean that?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387100</commentid>
    <comment_count>6</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2011-04-15 17:55:43 -0700</bug_when>
    <thetext>No, only the JavaScriptCore source tree exists when JavaScriptCore is built.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387103</commentid>
    <comment_count>7</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2011-04-15 17:58:39 -0700</bug_when>
    <thetext>The build does not fail like I thought it did only because the All target does not build the wtftests target. If it did, it would fail because the gtest project can&apos;t be found.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387105</commentid>
    <comment_count>8</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-04-15 18:00:03 -0700</bug_when>
    <thetext>I&apos;m working on rolling this out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387112</commentid>
    <comment_count>9</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-04-15 18:12:04 -0700</bug_when>
    <thetext>&gt; &gt; Does this mean that the entire Source directory exists when JavaScript.xcodeproj is built?
&gt; 
&gt; Does what mean that?

I was trying to understand why this didn&apos;t break the build entirely.  Comment #7 has the answer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387114</commentid>
    <comment_count>10</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-04-15 18:17:42 -0700</bug_when>
    <thetext>Committed as http://trac.webkit.org/changeset/84068</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387166</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-04-15 19:28:54 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/84068 might have broken Windows 7 Release (Tests)
The following tests are not passing:
http/tests/inspector/resource-tree-model.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>