Define related marcos for webrtc on Windows and OS X.

This commit is contained in:
Haojian Wu 2015-10-05 12:50:18 +08:00
parent 63085fb0b0
commit ef9f6eb8c3

View file

@ -163,6 +163,13 @@
'-fno-rtti', '-fno-rtti',
], ],
}], # OS=="linux" }], # OS=="linux"
['OS=="mac"', {
'defines': [
# The usage of "webrtc/modules/desktop_capture/desktop_capture_options.h"
# is required to see this macro.
'WEBRTC_MAC',
],
}], # OS=="mac"
['OS=="win"', { ['OS=="win"', {
'include_dirs': [ 'include_dirs': [
'<(libchromiumcontent_src_dir)/third_party/wtl/include', '<(libchromiumcontent_src_dir)/third_party/wtl/include',
@ -179,6 +186,9 @@
'WIN32_LEAN_AND_MEAN', 'WIN32_LEAN_AND_MEAN',
'_ATL_NO_OPENGL', '_ATL_NO_OPENGL',
'_SECURE_ATL', '_SECURE_ATL',
# The usage of "webrtc/modules/desktop_capture/desktop_capture_options.h"
# is required to see this macro.
'WEBRTC_WIN',
], ],
'conditions': [ 'conditions': [
['target_arch=="x64"', { ['target_arch=="x64"', {