Clean directx_sdk_path as it is already defined in base/common.gypi
R=kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/23729004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7237 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -142,22 +142,6 @@
|
|||||||
'windows/video_render_direct3d9.cc',
|
'windows/video_render_direct3d9.cc',
|
||||||
'windows/video_render_windows_impl.cc',
|
'windows/video_render_windows_impl.cc',
|
||||||
],
|
],
|
||||||
'variables': {
|
|
||||||
# 'directx_sdk_path' will be overridden in the condition block
|
|
||||||
# below, but it must not be declared as empty here since gyp
|
|
||||||
# will check if the first character is '/' for some reason.
|
|
||||||
# If it's empty, we'll get an out-of-bounds error.
|
|
||||||
'directx_sdk_path': 'will_be_overridden',
|
|
||||||
'directx_sdk_default_path': '<(DEPTH)/third_party/directxsdk/files',
|
|
||||||
'conditions': [
|
|
||||||
['"<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_default_path))"=="True"', {
|
|
||||||
'directx_sdk_path': '<(DEPTH)/third_party/directxsdk/files',
|
|
||||||
}, {
|
|
||||||
'directx_sdk_path': '$(DXSDK_DIR)',
|
|
||||||
}],
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
'include_dirs': [
|
'include_dirs': [
|
||||||
'<(directx_sdk_path)/Include',
|
'<(directx_sdk_path)/Include',
|
||||||
],
|
],
|
||||||
|
@@ -104,22 +104,6 @@
|
|||||||
'sources!': [
|
'sources!': [
|
||||||
'null_platform_renderer.cc',
|
'null_platform_renderer.cc',
|
||||||
],
|
],
|
||||||
'variables': {
|
|
||||||
# 'directx_sdk_path' will be overridden in the condition block
|
|
||||||
# below, but it must not be declared as empty here since gyp
|
|
||||||
# will check if the first character is '/' for some reason.
|
|
||||||
# If it's empty, we'll get an out-of-bounds error.
|
|
||||||
'directx_sdk_path': 'will_be_overridden',
|
|
||||||
'directx_sdk_default_path': '<(DEPTH)/third_party/directxsdk/files',
|
|
||||||
'conditions': [
|
|
||||||
['"<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_default_path))"=="True"', {
|
|
||||||
'directx_sdk_path': '<(DEPTH)/third_party/directxsdk/files',
|
|
||||||
}, {
|
|
||||||
'directx_sdk_path': '$(DXSDK_DIR)',
|
|
||||||
}],
|
|
||||||
],
|
|
||||||
},
|
|
||||||
|
|
||||||
'include_dirs': [
|
'include_dirs': [
|
||||||
'<(directx_sdk_path)/Include',
|
'<(directx_sdk_path)/Include',
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user