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

Side by Side Diff: xdiff/BUILD.gn

Issue 1946073002: Fix xdiff lib build file for windows (Closed) Base URL: https://chromium.googlesource.com/native_client/src/third_party.git@master
Patch Set: Format Build File Created 4 years, 7 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 | « no previous file | xdiff/xinclude.h » ('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 2016 The Native Client Authors. All rights reserved. 1 # Copyright 2016 The Native Client 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("xdiff_config") { 5 config("xdiff_config") {
6 visibility = [ ":*" ] 6 visibility = [ ":*" ]
7 7 if (!is_clang && target_os == "win") {
8 cflags = [ "-Wno-sign-compare" ] 8 cflags = [
9 "-wd4018",
10 "-wd4267",
11 "-wd4706",
12 ]
13 } else {
14 cflags = [ "-Wno-sign-compare" ]
15 }
9 } 16 }
10 17
11 static_library("xdiff") { 18 static_library("xdiff") {
12 configs += [ ":xdiff_config" ] 19 configs += [ ":xdiff_config" ]
13 20
14 sources = [ 21 sources = [
15 "xdiff.h", 22 "xdiff.h",
16 "xdiffi.c", 23 "xdiffi.c",
17 "xdiffi.h", 24 "xdiffi.h",
18 "xemit.c", 25 "xemit.c",
19 "xemit.h", 26 "xemit.h",
20 "xhistogram.c", 27 "xhistogram.c",
21 "xinclude.h", 28 "xinclude.h",
22 "xmacros.h", 29 "xmacros.h",
23 "xmerge.c", 30 "xmerge.c",
24 "xpatience.c", 31 "xpatience.c",
25 "xprepare.c", 32 "xprepare.c",
26 "xprepare.h", 33 "xprepare.h",
27 "xtypes.h", 34 "xtypes.h",
28 "xutils.c", 35 "xutils.c",
29 "xutils.h", 36 "xutils.h",
30 ] 37 ]
31 } 38 }
OLDNEW
« no previous file with comments | « no previous file | xdiff/xinclude.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698