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

Side by Side Diff: build/buildflag_header.gypi

Issue 1485933002: Revert of Convert enable_pre_sync_backup flag to new flags system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « no previous file | build/common.gypi » ('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 # 6 #
7 # The canonical documentation is in build/buildflag_header.gni. You should 7 # The canonical documentation is in build/buildflag_header.gni. You should
8 # write the GN build, get it working, and then transform it into GYP. 8 # write the GN build, get it working, and then transform it into GYP.
9 # 9 #
10 # In every target that uses your generated header you must include a dependency 10 # In every target that uses your generated header you must include a dependency
(...skipping 13 matching lines...) Expand all
24 # } 24 # }
25 # 25 #
26 # Write a GYP target like this: 26 # Write a GYP target like this:
27 # 27 #
28 # { 28 # {
29 # # GN version: //foo:foo_features 29 # # GN version: //foo:foo_features
30 # 'target_name': 'foo_foo_features', 30 # 'target_name': 'foo_foo_features',
31 # 'includes': [ '../build/buildflag_header.gypi' ], 31 # 'includes': [ '../build/buildflag_header.gypi' ],
32 # 'variables': { 32 # 'variables': {
33 # 'buildflag_header_path': 'foo/foo_features.h', 33 # 'buildflag_header_path': 'foo/foo_features.h',
34 # 'buildflag_flags': [ 34 # 'buildflag_header_flags': [
35 # 'ENABLE_DOOM_MELON=<(enable_doom_melon)', 35 # 'ENABLE_DOOM_MELON=<(enable_doom_melon)',
36 # 'ENABLE_SPACE_LASER=true', 36 # 'ENABLE_SPACE_LASER=true',
37 # 'SPAM_SERVER_URL="http://www.example.com/"', 37 # 'SPAM_SERVER_URL="http://www.example.com/"',
38 # ], 38 # ],
39 # }, 39 # },
40 # } 40 # }
41 # 41 #
42 # Variables 42 # Variables
43 # 43 #
44 # target_name 44 # target_name
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 'action': [ 109 'action': [
110 'python', '<(build_header_script)', 110 'python', '<(build_header_script)',
111 '--output', '<(buildflag_header_path)', 111 '--output', '<(buildflag_header_path)',
112 '--rulename', '<(_target_name)', 112 '--rulename', '<(_target_name)',
113 '--gen-dir', '<(SHARED_INTERMEDIATE_DIR)', 113 '--gen-dir', '<(SHARED_INTERMEDIATE_DIR)',
114 '--definitions', '<(response_file_name)', 114 '--definitions', '<(response_file_name)',
115 ], 115 ],
116 } 116 }
117 ], 117 ],
118 } 118 }
OLDNEW
« no previous file with comments | « no previous file | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698