| OLD | NEW |
| 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("//build/dotfile_settings.gni") | 9 import("//build/dotfile_settings.gni") |
| 10 | 10 |
| 11 # The location of the build configuration file. | 11 # The location of the build configuration file. |
| 12 buildconfig = "//build/config/BUILDCONFIG.gn" | 12 buildconfig = "//build/config/BUILDCONFIG.gn" |
| 13 | 13 |
| 14 # The secondary source root is a parallel directory tree where | 14 # The secondary source root is a parallel directory tree where |
| 15 # GN build files are placed when they can not be placed directly | 15 # GN build files are placed when they can not be placed directly |
| 16 # in the source tree, e.g. for third party source trees. | 16 # in the source tree, e.g. for third party source trees. |
| 17 secondary_source = "//build/secondary/" | 17 secondary_source = "//build/secondary/" |
| 18 | 18 |
| 19 # These are the targets to check headers for by default. The files in targets | 19 # These are the targets to check headers for by default. The files in targets |
| 20 # matching these patterns (see "gn help label_pattern" for format) will have | 20 # matching these patterns (see "gn help label_pattern" for format) will have |
| 21 # their includes checked for proper dependencies when you run either | 21 # their includes checked for proper dependencies when you run either |
| 22 # "gn check" or "gn gen --check". | 22 # "gn check" or "gn gen --check". |
| 23 # TODO(kjellander): Keep adding paths to this list as work in webrtc:5589 is don
e. | 23 # TODO(kjellander): Keep adding paths to this list as work in webrtc:5589 is don
e. |
| 24 check_targets = [ | 24 check_targets = [ |
| 25 "//webrtc/api:audio_mixer_api", | 25 "//webrtc/api/*", |
| 26 "//webrtc/api:transport_api", | 26 "//webrtc/audio/*", |
| 27 "//webrtc/api:rtc_stats_api", | 27 "//webrtc/modules/audio_coding/*", |
| 28 "//webrtc/audio/utility/*", | |
| 29 "//webrtc/modules/audio_coding:audio_decoder_factory_interface", | |
| 30 "//webrtc/modules/audio_coding:audio_format", | |
| 31 "//webrtc/modules/audio_coding:audio_format_conversion", | |
| 32 "//webrtc/modules/audio_coding:g711_test", | |
| 33 "//webrtc/modules/audio_coding:g722_test", | |
| 34 "//webrtc/modules/audio_coding:ilbc_test", | |
| 35 "//webrtc/modules/audio_coding:isac", | |
| 36 "//webrtc/modules/audio_coding:isac_api_test", | |
| 37 "//webrtc/modules/audio_coding:isac_fix_test", | |
| 38 "//webrtc/modules/audio_coding:isac_switch_samprate_test", | |
| 39 "//webrtc/modules/audio_coding:isac_test", | |
| 40 "//webrtc/modules/audio_coding:webrtc_opus_fec_test", | |
| 41 "//webrtc/modules/audio_device/*", | 28 "//webrtc/modules/audio_device/*", |
| 42 "//webrtc/modules/audio_mixer/*", | 29 "//webrtc/modules/audio_mixer/*", |
| 43 "//webrtc/stats:rtc_stats", | 30 "//webrtc/stats:rtc_stats", |
| 44 "//webrtc/voice_engine", | 31 "//webrtc/voice_engine", |
| 45 "//webrtc/voice_engine:level_indicator", | 32 "//webrtc/voice_engine:level_indicator", |
| 46 ] | 33 ] |
| 47 | 34 |
| 48 # These are the list of GN files that run exec_script. This whitelist exists | 35 # These are the list of GN files that run exec_script. This whitelist exists |
| 49 # to force additional review for new uses of exec_script, which is strongly | 36 # to force additional review for new uses of exec_script, which is strongly |
| 50 # discouraged except for gypi_to_gn calls. | 37 # discouraged except for gypi_to_gn calls. |
| 51 exec_script_whitelist = build_dotfile_settings.exec_script_whitelist + [ | 38 exec_script_whitelist = build_dotfile_settings.exec_script_whitelist + [ |
| 52 "//third_party/boringssl/BUILD.gn", | 39 "//third_party/boringssl/BUILD.gn", |
| 53 "//third_party/openh264/BUILD.gn", | 40 "//third_party/openh264/BUILD.gn", |
| 54 "//third_party/opus/BUILD.gn", | 41 "//third_party/opus/BUILD.gn", |
| 55 "//webrtc/modules/video_render/BUILD.gn", | 42 "//webrtc/modules/video_render/BUILD.gn", |
| 56 ] | 43 ] |
| OLD | NEW |