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

Side by Side Diff: webrtc/webrtc.gyp

Issue 1227923005: Split webrtc/video into webrtc/{audio,call,video}. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc ('k') | webrtc/webrtc_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2012 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 'conditions': [ 9 'conditions': [
10 ['include_tests==1', { 10 ['include_tests==1', {
11 'includes': [ 11 'includes': [
12 'libjingle/xmllite/xmllite_tests.gypi', 12 'libjingle/xmllite/xmllite_tests.gypi',
13 'libjingle/xmpp/xmpp_tests.gypi', 13 'libjingle/xmpp/xmpp_tests.gypi',
14 'p2p/p2p_tests.gypi', 14 'p2p/p2p_tests.gypi',
15 'sound/sound_tests.gypi', 15 'sound/sound_tests.gypi',
16 'webrtc_tests.gypi', 16 'webrtc_tests.gypi',
17 ], 17 ],
18 }], 18 }],
19 ['enable_protobuf==1', { 19 ['enable_protobuf==1', {
20 'targets': [ 20 'targets': [
21 { 21 {
22 # This target should only be built if enable_protobuf is defined 22 # This target should only be built if enable_protobuf is defined
23 'target_name': 'rtc_event_log_proto', 23 'target_name': 'rtc_event_log_proto',
24 'type': 'static_library', 24 'type': 'static_library',
25 'sources': ['video/rtc_event_log.proto',], 25 'sources': ['call/rtc_event_log.proto',],
26 'variables': { 26 'variables': {
27 'proto_in_dir': 'video', 27 'proto_in_dir': 'call',
28 'proto_out_dir': 'webrtc/video', 28 'proto_out_dir': 'webrtc/call',
29 }, 29 },
30 'includes': ['build/protoc.gypi'], 30 'includes': ['build/protoc.gypi'],
31 }, 31 },
32 ], 32 ],
33 }], 33 }],
34 ['include_tests==1 and enable_protobuf==1', { 34 ['include_tests==1 and enable_protobuf==1', {
35 'targets': [ 35 'targets': [
36 { 36 {
37 'target_name': 'rtc_event_log2rtp_dump', 37 'target_name': 'rtc_event_log2rtp_dump',
38 'type': 'executable', 38 'type': 'executable',
39 'sources': ['video/rtc_event_log2rtp_dump.cc',], 39 'sources': ['call/rtc_event_log2rtp_dump.cc',],
40 'dependencies': [ 40 'dependencies': [
41 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', 41 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
42 'rtc_event_log', 42 'rtc_event_log',
43 'rtc_event_log_proto', 43 'rtc_event_log_proto',
44 'test/test.gyp:rtp_test_utils' 44 'test/test.gyp:rtp_test_utils'
45 ], 45 ],
46 }, 46 },
47 ], 47 ],
48 }], 48 }],
49 ], 49 ],
50 'includes': [ 50 'includes': [
51 'build/common.gypi', 51 'build/common.gypi',
52 'audio/webrtc_audio.gypi',
53 'call/webrtc_call.gypi',
52 'video/webrtc_video.gypi', 54 'video/webrtc_video.gypi',
53 ], 55 ],
54 'variables': { 56 'variables': {
55 'webrtc_all_dependencies': [ 57 'webrtc_all_dependencies': [
56 'base/base.gyp:*', 58 'base/base.gyp:*',
57 'sound/sound.gyp:*', 59 'sound/sound.gyp:*',
58 'common.gyp:*', 60 'common.gyp:*',
59 'common_audio/common_audio.gyp:*', 61 'common_audio/common_audio.gyp:*',
60 'common_video/common_video.gyp:*', 62 'common_video/common_video.gyp:*',
61 'modules/modules.gyp:*', 63 'modules/modules.gyp:*',
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 'audio_send_stream.h', 100 'audio_send_stream.h',
99 'call.h', 101 'call.h',
100 'config.h', 102 'config.h',
101 'frame_callback.h', 103 'frame_callback.h',
102 'stream.h', 104 'stream.h',
103 'transport.h', 105 'transport.h',
104 'video_receive_stream.h', 106 'video_receive_stream.h',
105 'video_renderer.h', 107 'video_renderer.h',
106 'video_send_stream.h', 108 'video_send_stream.h',
107 109
110 '<@(webrtc_audio_sources)',
111 '<@(webrtc_call_sources)',
108 '<@(webrtc_video_sources)', 112 '<@(webrtc_video_sources)',
109 ], 113 ],
110 'dependencies': [ 114 'dependencies': [
111 'common.gyp:*', 115 'common.gyp:*',
116 '<@(webrtc_audio_dependencies)',
117 '<@(webrtc_call_dependencies)',
112 '<@(webrtc_video_dependencies)', 118 '<@(webrtc_video_dependencies)',
113 'rtc_event_log', 119 'rtc_event_log',
114 ], 120 ],
115 'conditions': [ 121 'conditions': [
116 # TODO(andresp): Chromium libpeerconnection should link directly with 122 # TODO(andresp): Chromium libpeerconnection should link directly with
117 # this and no if conditions should be needed on webrtc build files. 123 # this and no if conditions should be needed on webrtc build files.
118 ['build_with_chromium==1', { 124 ['build_with_chromium==1', {
119 'dependencies': [ 125 'dependencies': [
120 '<(webrtc_root)/modules/modules.gyp:video_capture', 126 '<(webrtc_root)/modules/modules.gyp:video_capture',
121 '<(webrtc_root)/modules/modules.gyp:video_render', 127 '<(webrtc_root)/modules/modules.gyp:video_render',
122 ], 128 ],
123 }], 129 }],
124 ], 130 ],
125 }, 131 },
126 { 132 {
127 'target_name': 'rtc_event_log', 133 'target_name': 'rtc_event_log',
128 'type': 'static_library', 134 'type': 'static_library',
129 'sources': [ 135 'sources': [
130 'video/rtc_event_log.cc', 136 'call/rtc_event_log.cc',
131 'video/rtc_event_log.h', 137 'call/rtc_event_log.h',
132 ], 138 ],
133 'conditions': [ 139 'conditions': [
134 # If enable_protobuf is defined, we want to compile the protobuf 140 # If enable_protobuf is defined, we want to compile the protobuf
135 # and add rtc_event_log.pb.h and rtc_event_log.pb.cc to the sources. 141 # and add rtc_event_log.pb.h and rtc_event_log.pb.cc to the sources.
136 ['enable_protobuf==1', { 142 ['enable_protobuf==1', {
137 'dependencies': [ 143 'dependencies': [
138 'rtc_event_log_proto', 144 'rtc_event_log_proto',
139 ], 145 ],
140 'defines': [ 146 'defines': [
141 'ENABLE_RTC_EVENT_LOG', 147 'ENABLE_RTC_EVENT_LOG',
142 ], 148 ],
143 }], 149 }],
144 ], 150 ],
145 }, 151 },
146 152
147 ], 153 ],
148 } 154 }
OLDNEW
« no previous file with comments | « webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc ('k') | webrtc/webrtc_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698