OLD | NEW |
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("snappy_config") { | 5 config("snappy_config") { |
6 include_dirs = [ "src" ] | 6 include_dirs = [ "src" ] |
7 | 7 |
8 # These OS-specific generated headers were made by running the configure | 8 # These OS-specific generated headers were made by running the configure |
9 # script offline. | 9 # script offline. |
10 if (is_win) { | 10 if (is_win) { |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 configs -= [ "//build/config/compiler:chromium_code" ] | 30 configs -= [ "//build/config/compiler:chromium_code" ] |
31 configs += [ "//build/config/compiler:no_chromium_code" ] | 31 configs += [ "//build/config/compiler:no_chromium_code" ] |
32 public_configs = [ ":snappy_config" ] | 32 public_configs = [ ":snappy_config" ] |
33 | 33 |
34 if (is_clang) { | 34 if (is_clang) { |
35 # snappy-stubs-internal.h unapologetically has: using namespace std | 35 # snappy-stubs-internal.h unapologetically has: using namespace std |
36 # https://code.google.com/p/snappy/issues/detail?id=70 | 36 # https://code.google.com/p/snappy/issues/detail?id=70 |
37 configs -= [ "//build/config/clang:extra_warnings" ] | 37 configs -= [ "//build/config/clang:extra_warnings" ] |
38 } | 38 } |
39 | |
40 if (is_win) { | |
41 # https://code.google.com/p/snappy/issues/detail?id=75 | |
42 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | |
43 } | |
44 } | 39 } |
OLD | NEW |