OLD | NEW |
---|---|
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'includes': [ '../build/common.gypi', ], | 10 'includes': [ '../build/common.gypi', ], |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
77 'safe_conversions_impl.h', | 77 'safe_conversions_impl.h', |
78 'scoped_ptr.h', | 78 'scoped_ptr.h', |
79 'scoped_ref_ptr.h', | 79 'scoped_ref_ptr.h', |
80 'stringencode.cc', | 80 'stringencode.cc', |
81 'stringencode.h', | 81 'stringencode.h', |
82 'stringutils.cc', | 82 'stringutils.cc', |
83 'stringutils.h', | 83 'stringutils.h', |
84 'swap_queue.h', | 84 'swap_queue.h', |
85 'systeminfo.cc', | 85 'systeminfo.cc', |
86 'systeminfo.h', | 86 'systeminfo.h', |
87 'task_queue.h', | |
88 'task_queue_libevent.cc', | |
89 'task_queue_gcd.cc', | |
90 'task_queue_posix.cc', | |
91 'task_queue_posix.h', | |
92 'task_queue_win.cc', | |
87 'template_util.h', | 93 'template_util.h', |
88 'thread_annotations.h', | 94 'thread_annotations.h', |
89 'thread_checker.h', | 95 'thread_checker.h', |
90 'thread_checker_impl.cc', | 96 'thread_checker_impl.cc', |
91 'thread_checker_impl.h', | 97 'thread_checker_impl.h', |
92 'timeutils.cc', | 98 'timeutils.cc', |
93 'timeutils.h', | 99 'timeutils.h', |
94 'trace_event.h', | 100 'trace_event.h', |
95 ], | 101 ], |
96 'conditions': [ | 102 'conditions': [ |
97 ['build_with_chromium==1', { | 103 ['build_with_chromium==1', { |
98 'dependencies': [ | 104 'dependencies': [ |
99 '<(DEPTH)/base/base.gyp:base', | 105 '<(DEPTH)/base/base.gyp:base', |
100 ], | 106 ], |
101 'include_dirs': [ | 107 'include_dirs': [ |
102 '../../webrtc_overrides', | 108 '../../webrtc_overrides', |
103 ], | 109 ], |
104 'sources': [ | 110 'sources': [ |
105 '../../webrtc_overrides/webrtc/base/logging.cc', | 111 '../../webrtc_overrides/webrtc/base/logging.cc', |
106 '../../webrtc_overrides/webrtc/base/logging.h', | 112 '../../webrtc_overrides/webrtc/base/logging.h', |
107 ], | 113 ], |
108 }, { | 114 }, { |
109 'sources': [ | 115 'sources': [ |
110 'logging.cc', | 116 'logging.cc', |
111 'logging.h', | 117 'logging.h', |
112 'logging_mac.mm', | 118 'logging_mac.mm', |
113 ], | 119 ], |
120 'conditions': [ | |
121 ['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.
| |
122 'dependencies': [ | |
123 '<(DEPTH)/base/third_party/libevent/libevent.gyp:libevent', | |
124 ], | |
125 }], | |
126 ], | |
127 }], | |
128 ['OS=="mac" or OS=="ios" or OS=="win"', { | |
129 'sources!': [ 'task_queue_libevent.cc' ], | |
130 }], | |
131 ['OS=="linux" or OS=="android" or OS=="win"', { | |
132 'sources!': [ 'task_queue_gcd.cc' ], | |
114 }], | 133 }], |
115 ['OS=="mac" and build_with_chromium==0', { | 134 ['OS=="mac" and build_with_chromium==0', { |
116 'all_dependent_settings': { | 135 'all_dependent_settings': { |
117 'xcode_settings': { | 136 'xcode_settings': { |
118 'OTHER_LDFLAGS': [ | 137 'OTHER_LDFLAGS': [ |
119 # needed for logging_mac.mm | 138 # needed for logging_mac.mm |
120 '-framework Foundation', | 139 '-framework Foundation', |
121 ], | 140 ], |
122 }, | 141 }, |
123 }, | 142 }, |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
607 }, | 626 }, |
608 { | 627 { |
609 'target_name': 'gtest_prod', | 628 'target_name': 'gtest_prod', |
610 'type': 'static_library', | 629 'type': 'static_library', |
611 'sources': [ | 630 'sources': [ |
612 'gtest_prod_util.h', | 631 'gtest_prod_util.h', |
613 ], | 632 ], |
614 }, | 633 }, |
615 ], | 634 ], |
616 } | 635 } |
OLD | NEW |