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

Side by Side Diff: runtime/bin/zlib/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 | « runtime/bin/BUILD.gn ('k') | runtime/observatory/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 config("zlib_config") { 5 config("zlib_config") {
6 include_dirs = [ "//third_party/zlib" ] 6 include_dirs = [ "//third_party/zlib" ]
7 } 7 }
8 8
9 static_library("zlib") { 9 static_library("zlib") {
10 if (!is_win) { 10 if (!is_win) {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 "$zlib_path/zutil.c", 42 "$zlib_path/zutil.c",
43 "$zlib_path/zutil.h", 43 "$zlib_path/zutil.h",
44 ] 44 ]
45 45
46 configs -= [ "//build/config/compiler:chromium_code" ] 46 configs -= [ "//build/config/compiler:chromium_code" ]
47 configs += [ "//build/config/compiler:no_chromium_code" ] 47 configs += [ "//build/config/compiler:no_chromium_code" ]
48 48
49 all_dependent_configs = [ ":zlib_config" ] 49 all_dependent_configs = [ ":zlib_config" ]
50 50
51 if (is_clang) { 51 if (is_clang) {
52 cflags = [ 52 cflags = [ "-Wno-shift-negative-value" ]
53 "-Wno-shift-negative-value",
54 ]
55 } 53 }
56 } 54 }
OLDNEW
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | runtime/observatory/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698