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

Side by Side Diff: build/config/BUILD.gn

Issue 2451613005: Format GN files and add a presubmit check that GN is properly formatted (Closed)
Patch Set: Fix gn args Created 4 years, 1 month 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.gn ('k') | build/config/compiler/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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # Debug/release ---------------------------------------------------------------- 5 # Debug/release ----------------------------------------------------------------
6 6
7 config("debug") { 7 config("debug") {
8 defines = [ 8 defines = [ "DEBUG" ]
9 "DEBUG",
10 ]
11 } 9 }
12 10
13 config("release") { 11 config("release") {
14 defines = [ 12 defines = [ "NDEBUG" ]
15 "NDEBUG"
16 ]
17 } 13 }
18 14
19 config("product") { 15 config("product") {
20 defines = [ 16 defines = [
21 "NDEBUG", 17 "NDEBUG",
22 "PRODUCT", 18 "PRODUCT",
23 ] 19 ]
24 } 20 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698