| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 # This file is not used when use_system_libjpeg==1. Settings for building with | 6 # This file is not used when use_system_libjpeg==1. Settings for building with |
| 7 # the system libjpeg is in third_party/libjpeg/libjpeg.gyp. | 7 # the system libjpeg is in third_party/libjpeg/libjpeg.gyp. |
| 8 'variables': { | 8 'variables': { |
| 9 'use_system_yasm%': 0, | 9 'use_system_yasm%': 0, |
| 10 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libjpeg_turb
o', | 10 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libjpeg_turb
o', |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 [ 'use_system_yasm==1', { | 257 [ 'use_system_yasm==1', { |
| 258 'yasm_path': '<!(which yasm)', | 258 'yasm_path': '<!(which yasm)', |
| 259 }, { | 259 }, { |
| 260 'yasm_path': '<(PRODUCT_DIR)/yasm', | 260 'yasm_path': '<(PRODUCT_DIR)/yasm', |
| 261 }], | 261 }], |
| 262 [ 'target_arch=="ia32"', { | 262 [ 'target_arch=="ia32"', { |
| 263 'yasm_format': '-felf', | 263 'yasm_format': '-felf', |
| 264 'yasm_flags': [ | 264 'yasm_flags': [ |
| 265 '-D__x86__', | 265 '-D__x86__', |
| 266 '-DELF', | 266 '-DELF', |
| 267 '-DPIC', |
| 267 ], | 268 ], |
| 268 }, { | 269 }, { |
| 269 'yasm_format': '-felf64', | 270 'yasm_format': '-felf64', |
| 270 'yasm_flags': [ | 271 'yasm_flags': [ |
| 271 '-D__x86_64__', | 272 '-D__x86_64__', |
| 272 '-DELF', | 273 '-DELF', |
| 274 '-DPIC', |
| 273 ], | 275 ], |
| 274 }], | 276 }], |
| 275 ], | 277 ], |
| 276 }, | 278 }, |
| 277 }], | 279 }], |
| 278 ], | 280 ], |
| 279 'rules': [ | 281 'rules': [ |
| 280 { | 282 { |
| 281 'rule_name': 'assemble', | 283 'rule_name': 'assemble', |
| 282 'extension': 'asm', | 284 'extension': 'asm', |
| (...skipping 21 matching lines...) Expand all Loading... |
| 304 ], | 306 ], |
| 305 }, | 307 }, |
| 306 ], | 308 ], |
| 307 } | 309 } |
| 308 | 310 |
| 309 # Local Variables: | 311 # Local Variables: |
| 310 # tab-width:2 | 312 # tab-width:2 |
| 311 # indent-tabs-mode:nil | 313 # indent-tabs-mode:nil |
| 312 # End: | 314 # End: |
| 313 # vim: set expandtab tabstop=2 shiftwidth=2: | 315 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |