| 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 = [ | 6 include_dirs = [ "src" ] |
| 7 "src", | |
| 8 ] | |
| 9 | 7 |
| 10 # These OS-specific generated headers were made by running the configure | 8 # These OS-specific generated headers were made by running the configure |
| 11 # script offline. | 9 # script offline. |
| 12 if (is_win) { | 10 if (is_win) { |
| 13 include_dirs += [ "win32" ] | 11 include_dirs += [ "win32" ] |
| 14 } else if (is_mac) { | 12 } else if (is_mac) { |
| 15 include_dirs += [ "mac" ] | 13 include_dirs += [ "mac" ] |
| 16 } else { | 14 } else { |
| 17 include_dirs += [ "linux" ] | 15 include_dirs += [ "linux" ] |
| 18 } | 16 } |
| (...skipping 18 matching lines...) Expand all Loading... |
| 37 # snappy-stubs-internal.h unapologetically has: using namespace std | 35 # snappy-stubs-internal.h unapologetically has: using namespace std |
| 38 # https://code.google.com/p/snappy/issues/detail?id=70 | 36 # https://code.google.com/p/snappy/issues/detail?id=70 |
| 39 configs -= [ "//build/config/clang:extra_warnings" ] | 37 configs -= [ "//build/config/clang:extra_warnings" ] |
| 40 } | 38 } |
| 41 | 39 |
| 42 if (is_win) { | 40 if (is_win) { |
| 43 # https://code.google.com/p/snappy/issues/detail?id=75 | 41 # https://code.google.com/p/snappy/issues/detail?id=75 |
| 44 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 42 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
| 45 } | 43 } |
| 46 } | 44 } |
| OLD | NEW |