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

Side by Side Diff: webrtc/api/BUILD.gn

Issue 2780943003: Move video_encoder.h and video_decoder.h to /api and create GN targets for them (Closed)
Patch Set: Fix lint warnings Created 3 years, 8 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
OLDNEW
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 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 import("../webrtc.gni") 9 import("../webrtc.gni")
10 if (is_android) { 10 if (is_android) {
(...skipping 16 matching lines...) Expand all
27 # TODO(kjellander): Add remaining dependencies when webrtc:4243 is done. 27 # TODO(kjellander): Add remaining dependencies when webrtc:4243 is done.
28 ":audio_mixer_api", 28 ":audio_mixer_api",
29 ":transport_api", 29 ":transport_api",
30 "..:webrtc_common", 30 "..:webrtc_common",
31 "../base:rtc_base_approved", 31 "../base:rtc_base_approved",
32 "../modules/audio_coding:audio_encoder_interface", 32 "../modules/audio_coding:audio_encoder_interface",
33 "audio_codecs:audio_codecs_api", 33 "audio_codecs:audio_codecs_api",
34 ] 34 ]
35 } 35 }
36 36
37 rtc_source_set("video_decoder_api") {
38 sources = [
39 "video_decoder.h",
40 ]
41
42 deps = [
43 "..:webrtc_common",
44 ]
45 }
46
47 rtc_source_set("video_encoder_api") {
48 sources = [
49 "video_encoder.h",
50 ]
51
52 deps = [
53 "..:webrtc_common",
54 "../base:rtc_base_approved",
55
56 # TODO(ilnik): Add dependency on webrtc/video_frame.h when it will have it's
57 # own build target.
58 ]
59 }
60
37 rtc_static_library("libjingle_peerconnection_api") { 61 rtc_static_library("libjingle_peerconnection_api") {
38 check_includes = false # TODO(kjellander): Remove (bugs.webrtc.org/6828) 62 check_includes = false # TODO(kjellander): Remove (bugs.webrtc.org/6828)
39 cflags = [] 63 cflags = []
40 sources = [ 64 sources = [
41 "datachannel.h", 65 "datachannel.h",
42 "datachannelinterface.h", 66 "datachannelinterface.h",
43 "dtmfsenderinterface.h", 67 "dtmfsenderinterface.h",
44 "jsep.h", 68 "jsep.h",
45 "jsepicecandidate.h", 69 "jsepicecandidate.h",
46 "jsepsessiondescription.h", 70 "jsepsessiondescription.h",
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 265 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
242 } 266 }
243 267
244 deps = [ 268 deps = [
245 ":libjingle_peerconnection_api", 269 ":libjingle_peerconnection_api",
246 ":ortc_api", 270 ":ortc_api",
247 "//webrtc/test:test_support", 271 "//webrtc/test:test_support",
248 ] 272 ]
249 } 273 }
250 } 274 }
OLDNEW
« PRESUBMIT.py ('K') | « PRESUBMIT.py ('k') | webrtc/api/video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698