From 9e02d6b8b23264cbb4c481ec7b5b07c6ab7583bf Mon Sep 17 00:00:00 2001 From: "apatrick@chromium.org" Date: Tue, 20 Jul 2010 19:20:56 +0000 Subject: GYP changed to extract D3DX9 DLL into product dir. This is so ANGLE will find it. Also added ANGLE as a Chrome dependency. There must be a better way to detect whether there is a directxsdk directory in third_party. I'm open to ideas. TEST=try, check d3dx9 is copied to product dir when building chrome, check ANGLE initializes BUG=45898 Review URL: http://codereview.chromium.org/2843060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53076 0039d316-1c4b-4281-b951-d872f2087c98 --- build/dir_exists.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 build/dir_exists.py (limited to 'build/dir_exists.py') diff --git a/build/dir_exists.py b/build/dir_exists.py new file mode 100644 index 0000000..d1c194f --- /dev/null +++ b/build/dir_exists.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python +# Copyright (c) 2009 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import os.path +import sys + +sys.stdout.write(str(os.path.isdir(sys.argv[1]))) +sys.exit(0) -- cgit v1.1