Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: webrtc/base/base.gyp

Issue 2001913002: Split TaskQueue out into a separate build target. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/base/base.gyp
diff --git a/webrtc/base/base.gyp b/webrtc/base/base.gyp
index 3efcf69c6ba790fcc640b848f2c2f831d2f4228f..7026599161f5f9a59b511a3d3b3d920a41fb0dd5 100644
--- a/webrtc/base/base.gyp
+++ b/webrtc/base/base.gyp
@@ -83,8 +83,6 @@
'swap_queue.h',
'systeminfo.cc',
'systeminfo.h',
- 'task_queue.h',
- 'task_queue_posix.h',
'template_util.h',
'thread_annotations.h',
'thread_checker.h',
@@ -113,6 +111,29 @@
'logging_mac.mm',
],
}],
+ ['OS=="mac" and build_with_chromium==0', {
+ 'all_dependent_settings': {
+ 'xcode_settings': {
+ 'OTHER_LDFLAGS': [
+ # needed for logging_mac.mm
+ '-framework Foundation',
+ ],
+ },
+ },
+ }], # OS=="mac" and build_with_chromium==0
+ ],
+ },
+ {
+ 'target_name': 'rtc_task_queue',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'rtc_base_approved',
+ ],
+ 'sources': [
+ 'task_queue.h',
+ 'task_queue_posix.h',
+ ],
+ 'conditions': [
['build_libevent==1', {
'dependencies': [
'<(DEPTH)/base/third_party/libevent/libevent.gyp:libevent',
@@ -137,16 +158,6 @@
}]
],
}],
- ['OS=="mac" and build_with_chromium==0', {
- 'all_dependent_settings': {
- 'xcode_settings': {
- 'OTHER_LDFLAGS': [
- # needed for logging_mac.mm
- '-framework Foundation',
- ],
- },
- },
- }], # OS=="mac" and build_with_chromium==0
],
},
{

Powered by Google App Engine
This is Rietveld 408576698