Chromium Code Reviews| Index: webrtc/base/base.gyp |
| diff --git a/webrtc/base/base.gyp b/webrtc/base/base.gyp |
| index 74b029c1f7a7bb32a8267e5f4fbdaae68936a113..5cd68417d77934971df0f9b0069af3072ed54662 100644 |
| --- a/webrtc/base/base.gyp |
| +++ b/webrtc/base/base.gyp |
| @@ -84,6 +84,12 @@ |
| 'swap_queue.h', |
| 'systeminfo.cc', |
| 'systeminfo.h', |
| + 'task_queue.h', |
| + 'task_queue_libevent.cc', |
| + 'task_queue_gcd.cc', |
| + 'task_queue_posix.cc', |
| + 'task_queue_posix.h', |
| + 'task_queue_win.cc', |
| 'template_util.h', |
| 'thread_annotations.h', |
| 'thread_checker.h', |
| @@ -111,6 +117,19 @@ |
| 'logging.h', |
| 'logging_mac.mm', |
| ], |
| + 'conditions': [ |
| + ['OS!="win" and OS!="mac" and OS!="ios"', { |
|
phoglund
2016/05/02 09:40:05
Please introduce a variable "build_libevent" which
tommi
2016/05/02 13:01:05
Done.
|
| + 'dependencies': [ |
| + '<(DEPTH)/base/third_party/libevent/libevent.gyp:libevent', |
| + ], |
| + }], |
| + ], |
| + }], |
| + ['OS=="mac" or OS=="ios" or OS=="win"', { |
| + 'sources!': [ 'task_queue_libevent.cc' ], |
| + }], |
| + ['OS=="linux" or OS=="android" or OS=="win"', { |
| + 'sources!': [ 'task_queue_gcd.cc' ], |
| }], |
| ['OS=="mac" and build_with_chromium==0', { |
| 'all_dependent_settings': { |