Check variable PRODUCT_DIR firstly for content shell test

Simple fix like other build files

BUG=
TEST=


Review URL: https://chromiumcodereview.appspot.com/10825033

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148942 0039d316-1c4b-4281-b951-d872f2087c98
parent ea132fca
...@@ -34,18 +34,13 @@ ...@@ -34,18 +34,13 @@
<!-- We expect PRODUCT_DIR to be set like the gyp var <!-- We expect PRODUCT_DIR to be set like the gyp var
(e.g. $ROOT/out/Debug) --> (e.g. $ROOT/out/Debug) -->
<!-- TODO(satish): ideally we need this to run before -build-setup, where <fail message="PRODUCT_DIR env var not set?">
directories are made based on this variable. --> <condition>
<target name="-pre-build"> <not>
<if> <isset property="PRODUCT_DIR"/>
<condition> </not>
<isset property="PRODUCT_DIR" /> </condition>
</condition> </fail>
<else>
<fail message="PRODUCT_DIR env var not set?" />
</else>
</if>
</target>
<target name="-post-compile"> <target name="-post-compile">
<!-- copy gdbserver to main libs directory if building debug. <!-- copy gdbserver to main libs directory if building debug.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment