Commit 0cd7700f authored by apatrick@chromium.org's avatar apatrick@chromium.org

Relanding r53076 with linux fix.

TEST=try
BUG=none


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53810 0039d316-1c4b-4281-b951-d872f2087c98
parent fcaa54ac
......@@ -107,6 +107,7 @@
'../gears/gears.gyp:*',
'../rlz/rlz.gyp:*',
'../sandbox/sandbox.gyp:*',
'../third_party/angle/src/build_angle.gyp:*',
'../third_party/bsdiff/bsdiff.gyp:*',
'../third_party/bspatch/bspatch.gyp:*',
'../third_party/gles2_book/gles2_book.gyp:*',
......@@ -271,7 +272,6 @@
'../chrome_frame/chrome_frame.gyp:chrome_frame_tests',
'../chrome_frame/chrome_frame.gyp:chrome_frame_unittests',
'../chrome_frame/chrome_frame.gyp:npchrome_frame',
'../third_party/angle/src/build_angle.gyp:*',
],
},
{
......
#!/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)
......@@ -68,6 +68,7 @@
'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'],
# TODO: remove this helper when we have loops in GYP
'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py'],
'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/directxsdk)',
'conditions': [
['OS=="win"', {
'nacl_defines': [
......@@ -718,6 +719,33 @@
'include_dirs': [
'<(DEPTH)/third_party/wtl/include',
],
'dependencies': [
'../third_party/angle/src/build_angle.gyp:libEGL',
'../third_party/angle/src/build_angle.gyp:libGLESv2',
],
}],
['OS=="win" and directxsdk_exists=="True"', {
'actions': [
{
'action_name': 'extract_d3dx9',
'variables': {
'input': 'Aug2009_d3dx9_42_x86.cab',
'output': 'd3dx9_42.dll',
},
'inputs': [
'../third_party/directxsdk/files/Redist/<(input)',
],
'outputs': [
'<(PRODUCT_DIR)/<(output)',
],
'action': [
'expand',
'..\\third_party\\directxsdk\\files\\Redist\\<(input)',
'-F:<(output)',
'<(PRODUCT_DIR)',
],
},
],
}],
['OS=="linux" and target_arch!="arm"', {
'sources': [
......
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