| OLD | NEW |
| 1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 declare_args() { | 6 declare_args() { |
| 7 } | 7 } |
| 8 | 8 |
| 9 import("../third_party.gni") | 9 import("../third_party.gni") |
| 10 | 10 |
| 11 third_party("giflib") { | 11 third_party("giflib") { |
| 12 public_include_dirs = [ "../externals/giflib" ] | 12 public_include_dirs = [ "../externals/giflib" ] |
| 13 | 13 |
| 14 if (is_win) { |
| 15 include_dirs = [ "." ] |
| 16 } |
| 17 |
| 14 sources = [ | 18 sources = [ |
| 15 "../externals/giflib/dgif_lib.c", | 19 "../externals/giflib/dgif_lib.c", |
| 16 "../externals/giflib/gif_err.c", | 20 "../externals/giflib/gif_err.c", |
| 17 "../externals/giflib/gifalloc.c", | 21 "../externals/giflib/gifalloc.c", |
| 18 ] | 22 ] |
| 19 } | 23 } |
| OLD | NEW |