| OLD | NEW | 
|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 20 matching lines...) Expand all  Loading... | 
| 31     "open-vcdiff/src/varint_bigendian.cc", | 31     "open-vcdiff/src/varint_bigendian.cc", | 
| 32     "open-vcdiff/src/varint_bigendian.h", | 32     "open-vcdiff/src/varint_bigendian.h", | 
| 33     "open-vcdiff/src/vcdecoder.cc", | 33     "open-vcdiff/src/vcdecoder.cc", | 
| 34     "open-vcdiff/src/vcdiff_defs.h", | 34     "open-vcdiff/src/vcdiff_defs.h", | 
| 35     "open-vcdiff/src/vcdiffengine.cc", | 35     "open-vcdiff/src/vcdiffengine.cc", | 
| 36     "open-vcdiff/src/vcdiffengine.h", | 36     "open-vcdiff/src/vcdiffengine.h", | 
| 37     "open-vcdiff/vsprojects/config.h", | 37     "open-vcdiff/vsprojects/config.h", | 
| 38     "open-vcdiff/vsprojects/stdint.h", | 38     "open-vcdiff/vsprojects/stdint.h", | 
| 39   ] | 39   ] | 
| 40 | 40 | 
| 41   direct_dependent_configs = [ ":sdch_config" ] | 41   public_configs = [ ":sdch_config" ] | 
| 42 | 42 | 
| 43   deps = [ | 43   deps = [ | 
| 44     "//base", | 44     "//base", | 
| 45     "//third_party/zlib", | 45     "//third_party/zlib", | 
| 46   ] | 46   ] | 
| 47 | 47 | 
| 48   if (is_linux || is_android) { | 48   if (is_linux || is_android) { | 
| 49     include_dirs = [ "linux" ] | 49     include_dirs = [ "linux" ] | 
| 50   } else if (is_ios) { | 50   } else if (is_ios) { | 
| 51     include_dirs = [ "ios" ] | 51     include_dirs = [ "ios" ] | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
| 68     ] | 68     ] | 
| 69   } else { | 69   } else { | 
| 70     logging_file = rebase_path("logging_forward.h", root_build_dir) | 70     logging_file = rebase_path("logging_forward.h", root_build_dir) | 
| 71     cflags = [ "-include", logging_file ] | 71     cflags = [ "-include", logging_file ] | 
| 72     if (is_linux) { | 72     if (is_linux) { | 
| 73       # TODO(mostynb): remove this if open-vcdiff is ever updated for c++11: | 73       # TODO(mostynb): remove this if open-vcdiff is ever updated for c++11: | 
| 74       cflags += [ "-Wno-deprecated-declarations" ] | 74       cflags += [ "-Wno-deprecated-declarations" ] | 
| 75     } | 75     } | 
| 76   } | 76   } | 
| 77 } | 77 } | 
| OLD | NEW | 
|---|