diff options
author | andrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2013-12-09 16:23:00 +0000 |
---|---|---|
committer | andrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2013-12-09 16:23:00 +0000 |
commit | 241103f7514720365b8d7509c2f38daad43ddd26 (patch) | |
tree | e96b3e208494483b0b1e8a0487097e5ee946acc6 /build | |
parent | 935c8c7265e1d75423e901183d4713287c90a4e4 (diff) | |
download | webrtc-241103f7514720365b8d7509c2f38daad43ddd26.tar.gz |
Ensure WEBRTC_MODULE_UTILITY_VIDEO is undefined for enable_video==0.
Move the logic to common.gypi to reduce the chance of the define being
unprotected in the future.
BUG=b/12018143
TESTED=git try, and local Linux build with -Denable_video=0
R=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/5309004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5244 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index c232f2b8..b5fa785a 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -161,6 +161,9 @@ 'WEBRTC_MOZILLA_BUILD', ], }], + ['enable_video==1', { + 'defines': ['WEBRTC_MODULE_UTILITY_VIDEO',], + }], ['build_with_chromium==1', { 'defines': [ # Changes settings for Chromium build. |