OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # Configuration. Ordinarily, all of these features are enabled. For | 7 # Configuration. Ordinarily, all of these features are enabled. For |
8 # Chromium's purposes, disable nearly everything to save about 15kB in | 8 # Chromium's purposes, disable nearly everything to save about 15kB in |
9 # the lzma_decompress library, which will be distributed with updates. | 9 # the lzma_decompress library, which will be distributed with updates. |
10 # This also translates to a 15kB savings in the compressed disk image | 10 # This also translates to a 15kB savings in the compressed disk image |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 'lzma_compress_source_files': [ | 253 'lzma_compress_source_files': [ |
254 'xz/src/liblzma/simple/simple_encoder.c', | 254 'xz/src/liblzma/simple/simple_encoder.c', |
255 ], | 255 ], |
256 }], | 256 }], |
257 ], # conditions | 257 ], # conditions |
258 }, # variables | 258 }, # variables |
259 | 259 |
260 'targets': [ | 260 'targets': [ |
261 { | 261 { |
262 'target_name': 'lzma', | 262 'target_name': 'lzma', |
263 'type': '<(library)', | 263 'type': 'static_library', |
264 'defines': [ | 264 'defines': [ |
265 '<@(lzma_common_defines)', | 265 '<@(lzma_common_defines)', |
266 '<@(lzma_decompress_defines)', | 266 '<@(lzma_decompress_defines)', |
267 '<@(lzma_compress_defines)', | 267 '<@(lzma_compress_defines)', |
268 ], | 268 ], |
269 'include_dirs': [ | 269 'include_dirs': [ |
270 '<@(lzma_include_dirs)', | 270 '<@(lzma_include_dirs)', |
271 ], | 271 ], |
272 'sources': [ | 272 'sources': [ |
273 '<@(lzma_common_source_files)', | 273 '<@(lzma_common_source_files)', |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 }, | 389 }, |
390 }, | 390 }, |
391 ], | 391 ], |
392 } | 392 } |
393 | 393 |
394 # Local Variables: | 394 # Local Variables: |
395 # tab-width:2 | 395 # tab-width:2 |
396 # indent-tabs-mode:nil | 396 # indent-tabs-mode:nil |
397 # End: | 397 # End: |
398 # vim: set expandtab tabstop=2 shiftwidth=2: | 398 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |