| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 'safe_conversions.h', | 76 'safe_conversions.h', |
| 77 'safe_conversions_impl.h', | 77 'safe_conversions_impl.h', |
| 78 'scoped_ref_ptr.h', | 78 'scoped_ref_ptr.h', |
| 79 'stringencode.cc', | 79 'stringencode.cc', |
| 80 'stringencode.h', | 80 'stringencode.h', |
| 81 'stringutils.cc', | 81 'stringutils.cc', |
| 82 'stringutils.h', | 82 'stringutils.h', |
| 83 'swap_queue.h', | 83 'swap_queue.h', |
| 84 'systeminfo.cc', | 84 'systeminfo.cc', |
| 85 'systeminfo.h', | 85 'systeminfo.h', |
| 86 'task_queue.h', | |
| 87 'task_queue_posix.h', | |
| 88 'template_util.h', | 86 'template_util.h', |
| 89 'thread_annotations.h', | 87 'thread_annotations.h', |
| 90 'thread_checker.h', | 88 'thread_checker.h', |
| 91 'thread_checker_impl.cc', | 89 'thread_checker_impl.cc', |
| 92 'thread_checker_impl.h', | 90 'thread_checker_impl.h', |
| 93 'timeutils.cc', | 91 'timeutils.cc', |
| 94 'timeutils.h', | 92 'timeutils.h', |
| 95 'trace_event.h', | 93 'trace_event.h', |
| 96 ], | 94 ], |
| 97 'conditions': [ | 95 'conditions': [ |
| 98 ['build_with_chromium==1', { | 96 ['build_with_chromium==1', { |
| 99 'dependencies': [ | 97 'dependencies': [ |
| 100 '<(DEPTH)/base/base.gyp:base', | 98 '<(DEPTH)/base/base.gyp:base', |
| 101 ], | 99 ], |
| 102 'include_dirs': [ | 100 'include_dirs': [ |
| 103 '../../webrtc_overrides', | 101 '../../webrtc_overrides', |
| 104 ], | 102 ], |
| 105 'sources': [ | 103 'sources': [ |
| 106 '../../webrtc_overrides/webrtc/base/logging.cc', | 104 '../../webrtc_overrides/webrtc/base/logging.cc', |
| 107 '../../webrtc_overrides/webrtc/base/logging.h', | 105 '../../webrtc_overrides/webrtc/base/logging.h', |
| 108 ], | 106 ], |
| 109 }, { | 107 }, { |
| 110 'sources': [ | 108 'sources': [ |
| 111 'logging.cc', | 109 'logging.cc', |
| 112 'logging.h', | 110 'logging.h', |
| 113 'logging_mac.mm', | 111 'logging_mac.mm', |
| 114 ], | 112 ], |
| 115 }], | 113 }], |
| 114 ['OS=="mac" and build_with_chromium==0', { |
| 115 'all_dependent_settings': { |
| 116 'xcode_settings': { |
| 117 'OTHER_LDFLAGS': [ |
| 118 # needed for logging_mac.mm |
| 119 '-framework Foundation', |
| 120 ], |
| 121 }, |
| 122 }, |
| 123 }], # OS=="mac" and build_with_chromium==0 |
| 124 ], |
| 125 }, |
| 126 { |
| 127 'target_name': 'rtc_task_queue', |
| 128 'type': 'static_library', |
| 129 'dependencies': [ |
| 130 'rtc_base_approved', |
| 131 ], |
| 132 'sources': [ |
| 133 'task_queue.h', |
| 134 'task_queue_posix.h', |
| 135 ], |
| 136 'conditions': [ |
| 116 ['build_libevent==1', { | 137 ['build_libevent==1', { |
| 117 'dependencies': [ | 138 'dependencies': [ |
| 118 '<(DEPTH)/base/third_party/libevent/libevent.gyp:libevent', | 139 '<(DEPTH)/base/third_party/libevent/libevent.gyp:libevent', |
| 119 ], | 140 ], |
| 120 }], | 141 }], |
| 121 ['enable_libevent==1', { | 142 ['enable_libevent==1', { |
| 122 'sources': [ | 143 'sources': [ |
| 123 'task_queue_libevent.cc', | 144 'task_queue_libevent.cc', |
| 124 'task_queue_posix.cc', | 145 'task_queue_posix.cc', |
| 125 ], | 146 ], |
| 126 }, { | 147 }, { |
| 127 # If not libevent, fall back to the other task queues. | 148 # If not libevent, fall back to the other task queues. |
| 128 'conditions': [ | 149 'conditions': [ |
| 129 ['OS=="mac" or OS=="ios"', { | 150 ['OS=="mac" or OS=="ios"', { |
| 130 'sources': [ | 151 'sources': [ |
| 131 'task_queue_gcd.cc', | 152 'task_queue_gcd.cc', |
| 132 'task_queue_posix.cc', | 153 'task_queue_posix.cc', |
| 133 ], | 154 ], |
| 134 }], | 155 }], |
| 135 ['OS=="win"', { | 156 ['OS=="win"', { |
| 136 'sources': [ 'task_queue_win.cc' ], | 157 'sources': [ 'task_queue_win.cc' ], |
| 137 }] | 158 }] |
| 138 ], | 159 ], |
| 139 }], | 160 }], |
| 140 ['OS=="mac" and build_with_chromium==0', { | |
| 141 'all_dependent_settings': { | |
| 142 'xcode_settings': { | |
| 143 'OTHER_LDFLAGS': [ | |
| 144 # needed for logging_mac.mm | |
| 145 '-framework Foundation', | |
| 146 ], | |
| 147 }, | |
| 148 }, | |
| 149 }], # OS=="mac" and build_with_chromium==0 | |
| 150 ], | 161 ], |
| 151 }, | 162 }, |
| 152 { | 163 { |
| 153 'target_name': 'rtc_base', | 164 'target_name': 'rtc_base', |
| 154 'type': 'static_library', | 165 'type': 'static_library', |
| 155 'dependencies': [ | 166 'dependencies': [ |
| 156 '<(webrtc_root)/common.gyp:webrtc_common', | 167 '<(webrtc_root)/common.gyp:webrtc_common', |
| 157 'rtc_base_approved', | 168 'rtc_base_approved', |
| 158 ], | 169 ], |
| 159 'export_dependent_settings': [ | 170 'export_dependent_settings': [ |
| (...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 }, | 637 }, |
| 627 { | 638 { |
| 628 'target_name': 'gtest_prod', | 639 'target_name': 'gtest_prod', |
| 629 'type': 'static_library', | 640 'type': 'static_library', |
| 630 'sources': [ | 641 'sources': [ |
| 631 'gtest_prod_util.h', | 642 'gtest_prod_util.h', |
| 632 ], | 643 ], |
| 633 }, | 644 }, |
| 634 ], | 645 ], |
| 635 } | 646 } |
| OLD | NEW |