| OLD | NEW |
| 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 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("//build/config/linux/pkg_config.gni") | 9 import("//build/config/linux/pkg_config.gni") |
| 10 import("../webrtc.gni") | 10 import("../webrtc.gni") |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 config("rtc_media_warnings_config") { | 26 config("rtc_media_warnings_config") { |
| 27 # GN orders flags on a target before flags from configs. The default config | 27 # GN orders flags on a target before flags from configs. The default config |
| 28 # adds these flags so to cancel them out they need to come from a config and | 28 # adds these flags so to cancel them out they need to come from a config and |
| 29 # cannot be on the target directly. | 29 # cannot be on the target directly. |
| 30 if (!is_win) { | 30 if (!is_win) { |
| 31 cflags = [ "-Wno-deprecated-declarations" ] | 31 cflags = [ "-Wno-deprecated-declarations" ] |
| 32 } | 32 } |
| 33 } | 33 } |
| 34 | 34 |
| 35 rtc_source_set("rtc_h264_profile_id") { |
| 36 sources = [ |
| 37 "base/h264_profile_level_id.cc", |
| 38 "base/h264_profile_level_id.h", |
| 39 ] |
| 40 |
| 41 if (!build_with_chromium && is_clang) { |
| 42 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 43 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 44 } |
| 45 |
| 46 deps = [ |
| 47 "..:webrtc_common", |
| 48 "../base:rtc_base", |
| 49 "../base:rtc_base_approved", |
| 50 ] |
| 51 } |
| 52 |
| 35 rtc_source_set("rtc_media_base") { | 53 rtc_source_set("rtc_media_base") { |
| 36 # TODO(kjellander): Remove (bugs.webrtc.org/6828) | 54 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 37 # Enabling GN check triggers cyclic dependency error: | 55 # Enabling GN check triggers cyclic dependency error: |
| 38 # //webrtc/media:rtc_media_base -> | 56 # //webrtc/media:rtc_media_base -> |
| 39 # //webrtc/pc:rtc_pc_base -> | 57 # //webrtc/pc:rtc_pc_base -> |
| 40 # //webrtc/media:rtc_data -> | 58 # //webrtc/media:rtc_data -> |
| 41 # //webrtc/media:rtc_media_base | 59 # //webrtc/media:rtc_media_base |
| 42 check_includes = false | 60 check_includes = false |
| 43 defines = [] | 61 defines = [] |
| 44 libs = [] | 62 libs = [] |
| 45 deps = [] | 63 deps = [] |
| 46 sources = [ | 64 sources = [ |
| 47 "base/adaptedvideotracksource.cc", | 65 "base/adaptedvideotracksource.cc", |
| 48 "base/adaptedvideotracksource.h", | 66 "base/adaptedvideotracksource.h", |
| 49 "base/audiosource.h", | 67 "base/audiosource.h", |
| 50 "base/codec.cc", | 68 "base/codec.cc", |
| 51 "base/codec.h", | 69 "base/codec.h", |
| 52 "base/cryptoparams.h", | 70 "base/cryptoparams.h", |
| 53 "base/device.h", | 71 "base/device.h", |
| 54 "base/h264_profile_level_id.cc", | |
| 55 "base/h264_profile_level_id.h", | |
| 56 "base/mediachannel.h", | 72 "base/mediachannel.h", |
| 57 "base/mediaconstants.cc", | 73 "base/mediaconstants.cc", |
| 58 "base/mediaconstants.h", | 74 "base/mediaconstants.h", |
| 59 "base/mediaengine.cc", | 75 "base/mediaengine.cc", |
| 60 "base/mediaengine.h", | 76 "base/mediaengine.h", |
| 61 "base/rtpdataengine.cc", | 77 "base/rtpdataengine.cc", |
| 62 "base/rtpdataengine.h", | 78 "base/rtpdataengine.h", |
| 63 "base/rtputils.cc", | 79 "base/rtputils.cc", |
| 64 "base/rtputils.h", | 80 "base/rtputils.h", |
| 65 "base/streamparams.cc", | 81 "base/streamparams.cc", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 89 deps += [ "$rtc_libyuv_dir" ] | 105 deps += [ "$rtc_libyuv_dir" ] |
| 90 public_deps = [ | 106 public_deps = [ |
| 91 "$rtc_libyuv_dir", | 107 "$rtc_libyuv_dir", |
| 92 ] | 108 ] |
| 93 } else { | 109 } else { |
| 94 # Need to add a directory normally exported by libyuv. | 110 # Need to add a directory normally exported by libyuv. |
| 95 include_dirs += [ "$rtc_libyuv_dir/include" ] | 111 include_dirs += [ "$rtc_libyuv_dir/include" ] |
| 96 } | 112 } |
| 97 | 113 |
| 98 deps += [ | 114 deps += [ |
| 115 ":rtc_h264_profile_id", |
| 99 "..:webrtc_common", | 116 "..:webrtc_common", |
| 100 "../api:libjingle_peerconnection_api", | 117 "../api:libjingle_peerconnection_api", |
| 101 "../base:rtc_base", | 118 "../base:rtc_base", |
| 102 "../base:rtc_base_approved", | 119 "../base:rtc_base_approved", |
| 103 "../p2p", | 120 "../p2p", |
| 104 ] | 121 ] |
| 105 | 122 |
| 106 if (is_nacl) { | 123 if (is_nacl) { |
| 107 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] | 124 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] |
| 108 } | 125 } |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 "../modules/video_coding:video_coding_utility", | 511 "../modules/video_coding:video_coding_utility", |
| 495 "../modules/video_coding:webrtc_vp8", | 512 "../modules/video_coding:webrtc_vp8", |
| 496 "../p2p:p2p_test_utils", | 513 "../p2p:p2p_test_utils", |
| 497 "../system_wrappers:metrics_default", | 514 "../system_wrappers:metrics_default", |
| 498 "../test:audio_codec_mocks", | 515 "../test:audio_codec_mocks", |
| 499 "../test:test_support", | 516 "../test:test_support", |
| 500 "../voice_engine:voice_engine", | 517 "../voice_engine:voice_engine", |
| 501 ] | 518 ] |
| 502 } | 519 } |
| 503 } | 520 } |
| OLD | NEW |