summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/build/config/compute_inputs_for_analyze.gni
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/build/config/compute_inputs_for_analyze.gni')
-rw-r--r--third_party/libwebrtc/build/config/compute_inputs_for_analyze.gni14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/libwebrtc/build/config/compute_inputs_for_analyze.gni b/third_party/libwebrtc/build/config/compute_inputs_for_analyze.gni
new file mode 100644
index 0000000000..050ab70a3f
--- /dev/null
+++ b/third_party/libwebrtc/build/config/compute_inputs_for_analyze.gni
@@ -0,0 +1,14 @@
+# Copyright 2018 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+declare_args() {
+ # Enable this flag when running "gn analyze".
+ #
+ # This causes some gn actions to compute inputs immediately (via exec_script)
+ # where they would normally compute them only when executed (and write them to
+ # a depfile).
+ #
+ # This flag will slow down GN, but is required for analyze to work properly.
+ compute_inputs_for_analyze = false
+}