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

Side by Side Diff: tools/gn/secondary/sdch/BUILD.gn

Issue 253493007: Fix to build sdch target under clang. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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("sdch_config") { 5 config("sdch_config") {
6 include_dirs = [ "open-vcdiff/src" ] 6 include_dirs = [ "open-vcdiff/src" ]
7 } 7 }
8 8
9 static_library("sdch") { 9 static_library("sdch") {
10 sources = [ 10 sources = [
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 include_dirs = [ "linux" ] 45 include_dirs = [ "linux" ]
46 } else if (is_ios) { 46 } else if (is_ios) {
47 include_dirs = [ "ios" ] 47 include_dirs = [ "ios" ]
48 } else if (is_mac) { 48 } else if (is_mac) {
49 include_dirs = [ "mac" ] 49 include_dirs = [ "mac" ]
50 } else if (is_win) { 50 } else if (is_win) {
51 include_dirs = [ "win" ] 51 include_dirs = [ "win" ]
52 } 52 }
53 53
54 deps = [ "//third_party/zlib" ] 54 deps = [ "//third_party/zlib" ]
55
56 if (is_clang) {
57 cflags = [
58 # TODO(mostynb): remove this if open-vcdiff is ever updated for c++11:
59 "-Wno-deprecated-declarations",
60 ]
61 }
55 } 62 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698