| 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 check_targets = [ "//webrtc/*" ] | 
| 24 check_targets = [ |  | 
| 25   "//webrtc/api/*", |  | 
| 26   "//webrtc/audio/*", |  | 
| 27   "//webrtc/base/*", |  | 
| 28   "//webrtc/call/*", |  | 
| 29   "//webrtc/common_video/*", |  | 
| 30   "//webrtc/common_audio/*", |  | 
| 31   "//webrtc/examples/*", |  | 
| 32   "//webrtc/logging/*", |  | 
| 33   "//webrtc/media/*", |  | 
| 34   "//webrtc/modules/*", |  | 
| 35   "//webrtc/ortc/*", |  | 
| 36   "//webrtc/p2p/*", |  | 
| 37   "//webrtc/sdk/*", |  | 
| 38   "//webrtc/stats/*", |  | 
| 39   "//webrtc/system_wrappers/*", |  | 
| 40   "//webrtc/test/*", |  | 
| 41   "//webrtc/tools/*", |  | 
| 42   "//webrtc/video/*", |  | 
| 43   "//webrtc/voice_engine/*", |  | 
| 44 ] |  | 
| 45 | 24 | 
| 46 # These are the list of GN files that run exec_script. This whitelist exists | 25 # These are the list of GN files that run exec_script. This whitelist exists | 
| 47 # to force additional review for new uses of exec_script, which is strongly | 26 # to force additional review for new uses of exec_script, which is strongly | 
| 48 # discouraged except for gypi_to_gn calls. | 27 # discouraged except for gypi_to_gn calls. | 
| 49 exec_script_whitelist = build_dotfile_settings.exec_script_whitelist | 28 exec_script_whitelist = build_dotfile_settings.exec_script_whitelist | 
| 50 | 29 | 
| 51 default_args = { | 30 default_args = { | 
| 52   # Webrtc does not support component builds because we are not using the | 31   # Webrtc does not support component builds because we are not using the | 
| 53   # template "component" but we rely directly on "rtc_static_library" and | 32   # template "component" but we rely directly on "rtc_static_library" and | 
| 54   # "rtc_shared_library". This means that we cannot use the chromium default | 33   # "rtc_shared_library". This means that we cannot use the chromium default | 
| 55   # value for this argument. | 34   # value for this argument. | 
| 56   # This also means that the user can override this value using --args or | 35   # This also means that the user can override this value using --args or | 
| 57   # the args.gn file but this setting will be ignored because we don't support | 36   # the args.gn file but this setting will be ignored because we don't support | 
| 58   # component builds. | 37   # component builds. | 
| 59   is_component_build = false | 38   is_component_build = false | 
| 60 } | 39 } | 
| OLD | NEW | 
|---|