| 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 | |
| 53 rtc_source_set("rtc_media_base") { | 35 rtc_source_set("rtc_media_base") { |
| 54 # TODO(kjellander): Remove (bugs.webrtc.org/6828) | 36 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 55 # Enabling GN check triggers cyclic dependency error: | 37 # Enabling GN check triggers cyclic dependency error: |
| 56 # //webrtc/media:rtc_media_base -> | 38 # //webrtc/media:rtc_media_base -> |
| 57 # //webrtc/pc:rtc_pc_base -> | 39 # //webrtc/pc:rtc_pc_base -> |
| 58 # //webrtc/media:rtc_data -> | 40 # //webrtc/media:rtc_data -> |
| 59 # //webrtc/media:rtc_media_base | 41 # //webrtc/media:rtc_media_base |
| 60 check_includes = false | 42 check_includes = false |
| 61 defines = [] | 43 defines = [] |
| 62 libs = [] | 44 libs = [] |
| 63 deps = [] | 45 deps = [] |
| 64 sources = [ | 46 sources = [ |
| 65 "base/adaptedvideotracksource.cc", | 47 "base/adaptedvideotracksource.cc", |
| 66 "base/adaptedvideotracksource.h", | 48 "base/adaptedvideotracksource.h", |
| 67 "base/audiosource.h", | 49 "base/audiosource.h", |
| 68 "base/codec.cc", | 50 "base/codec.cc", |
| 69 "base/codec.h", | 51 "base/codec.h", |
| 70 "base/cryptoparams.h", | 52 "base/cryptoparams.h", |
| 71 "base/device.h", | 53 "base/device.h", |
| 54 "base/h264_profile_level_id.cc", |
| 55 "base/h264_profile_level_id.h", |
| 72 "base/mediachannel.h", | 56 "base/mediachannel.h", |
| 73 "base/mediaconstants.cc", | 57 "base/mediaconstants.cc", |
| 74 "base/mediaconstants.h", | 58 "base/mediaconstants.h", |
| 75 "base/mediaengine.cc", | 59 "base/mediaengine.cc", |
| 76 "base/mediaengine.h", | 60 "base/mediaengine.h", |
| 77 "base/rtpdataengine.cc", | 61 "base/rtpdataengine.cc", |
| 78 "base/rtpdataengine.h", | 62 "base/rtpdataengine.h", |
| 79 "base/rtputils.cc", | 63 "base/rtputils.cc", |
| 80 "base/rtputils.h", | 64 "base/rtputils.h", |
| 81 "base/streamparams.cc", | 65 "base/streamparams.cc", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 105 deps += [ "$rtc_libyuv_dir" ] | 89 deps += [ "$rtc_libyuv_dir" ] |
| 106 public_deps = [ | 90 public_deps = [ |
| 107 "$rtc_libyuv_dir", | 91 "$rtc_libyuv_dir", |
| 108 ] | 92 ] |
| 109 } else { | 93 } else { |
| 110 # Need to add a directory normally exported by libyuv. | 94 # Need to add a directory normally exported by libyuv. |
| 111 include_dirs += [ "$rtc_libyuv_dir/include" ] | 95 include_dirs += [ "$rtc_libyuv_dir/include" ] |
| 112 } | 96 } |
| 113 | 97 |
| 114 deps += [ | 98 deps += [ |
| 115 ":rtc_h264_profile_id", | |
| 116 "..:webrtc_common", | 99 "..:webrtc_common", |
| 117 "../api:libjingle_peerconnection_api", | 100 "../api:libjingle_peerconnection_api", |
| 118 "../base:rtc_base", | 101 "../base:rtc_base", |
| 119 "../base:rtc_base_approved", | 102 "../base:rtc_base_approved", |
| 120 "../p2p", | 103 "../p2p", |
| 121 ] | 104 ] |
| 122 | 105 |
| 123 if (is_nacl) { | 106 if (is_nacl) { |
| 124 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] | 107 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] |
| 125 } | 108 } |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 "../modules/video_coding:video_coding_utility", | 494 "../modules/video_coding:video_coding_utility", |
| 512 "../modules/video_coding:webrtc_vp8", | 495 "../modules/video_coding:webrtc_vp8", |
| 513 "../p2p:p2p_test_utils", | 496 "../p2p:p2p_test_utils", |
| 514 "../system_wrappers:metrics_default", | 497 "../system_wrappers:metrics_default", |
| 515 "../test:audio_codec_mocks", | 498 "../test:audio_codec_mocks", |
| 516 "../test:test_support", | 499 "../test:test_support", |
| 517 "../voice_engine:voice_engine", | 500 "../voice_engine:voice_engine", |
| 518 ] | 501 ] |
| 519 } | 502 } |
| 520 } | 503 } |
| OLD | NEW |