Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: build/buildflag_header.gni

Issue 2373683003: Remove som GYP annotations, remove unused manifest. (Closed)
Patch Set: Fix Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/android/rezip/BUILD.gn ('k') | build/secondary/third_party/android_tools/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # Generates a header with preprocessor defines specified by the build file. 5 # Generates a header with preprocessor defines specified by the build file.
6 # The GYP version of this (with instructions) is build/buildflag_header.gypi.
7 # 6 #
8 # The flags are converted to function-style defines with mangled names and 7 # The flags are converted to function-style defines with mangled names and
9 # code uses an accessor macro to access the values. This is to try to 8 # code uses an accessor macro to access the values. This is to try to
10 # minimize bugs where code checks whether something is defined or not, and 9 # minimize bugs where code checks whether something is defined or not, and
11 # the proper header isn't included, meaning the answer will always be silently 10 # the proper header isn't included, meaning the answer will always be silently
12 # false or might vary across the code base. 11 # false or might vary across the code base.
13 # 12 #
14 # In the GN template, specify build flags in the template as a list 13 # In the GN template, specify build flags in the template as a list
15 # of strings that encode key/value pairs like this: 14 # of strings that encode key/value pairs like this:
16 # 15 #
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 128
130 forward_variables_from(invoker, 129 forward_variables_from(invoker,
131 [ 130 [
132 "deps", 131 "deps",
133 "public_deps", 132 "public_deps",
134 "testonly", 133 "testonly",
135 "visibility", 134 "visibility",
136 ]) 135 ])
137 } 136 }
138 } 137 }
OLDNEW
« no previous file with comments | « build/android/rezip/BUILD.gn ('k') | build/secondary/third_party/android_tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698