| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 # .gyp files should set chromium_code to 1 if they build Chromium-specific | 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific |
| 8 # code, as opposed to external code. This variable is used to control | 8 # code, as opposed to external code. This variable is used to control |
| 9 # such things as the set of warnings to enable, and whether warnings are | 9 # such things as the set of warnings to enable, and whether warnings are |
| 10 # treated as errors. | 10 # treated as errors. |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 'symbols': { | 327 'symbols': { |
| 328 'cflags': ['-g'], | 328 'cflags': ['-g'], |
| 329 }, | 329 }, |
| 330 }, | 330 }, |
| 331 'conditions': [ | 331 'conditions': [ |
| 332 [ 'target_arch=="arm"', { | 332 [ 'target_arch=="arm"', { |
| 333 'cflags': [ | 333 'cflags': [ |
| 334 '-fno-exceptions', | 334 '-fno-exceptions', |
| 335 '-Wall', | 335 '-Wall', |
| 336 ], | 336 ], |
| 337 'cflags_cc': [ |
| 338 '-fno-threadsafe-statics', |
| 339 ], |
| 337 }, { # else: target_arch != "arm" | 340 }, { # else: target_arch != "arm" |
| 338 'asflags': [ | 341 'asflags': [ |
| 339 # Needed so that libs with .s files (e.g. libicudata.a) | 342 # Needed so that libs with .s files (e.g. libicudata.a) |
| 340 # are compatible with the general 32-bit-ness. | 343 # are compatible with the general 32-bit-ness. |
| 341 '-32', | 344 '-32', |
| 342 ], | 345 ], |
| 343 # All floating-point computations on x87 happens in 80-bit | 346 # All floating-point computations on x87 happens in 80-bit |
| 344 # precision. Because the C and C++ language standards allow | 347 # precision. Because the C and C++ language standards allow |
| 345 # the compiler to keep the floating-point values in higher | 348 # the compiler to keep the floating-point values in higher |
| 346 # precision than what's specified in the source and doing so | 349 # precision than what's specified in the source and doing so |
| (...skipping 25 matching lines...) Expand all Loading... |
| 372 '-msse2', | 375 '-msse2', |
| 373 '-mfpmath=sse', | 376 '-mfpmath=sse', |
| 374 ], | 377 ], |
| 375 }], | 378 }], |
| 376 ], | 379 ], |
| 377 'cflags': [ | 380 'cflags': [ |
| 378 '-m32', | 381 '-m32', |
| 379 '-fno-exceptions', | 382 '-fno-exceptions', |
| 380 '-Wall', | 383 '-Wall', |
| 381 ], | 384 ], |
| 385 'cflags_cc': [ |
| 386 '-fno-threadsafe-statics', |
| 387 ], |
| 382 'ldflags': [ | 388 'ldflags': [ |
| 383 '-m32', | 389 '-m32', |
| 384 ], | 390 ], |
| 385 }], | 391 }], |
| 386 ], | 392 ], |
| 387 }, | 393 }, |
| 388 }], | 394 }], |
| 389 ['OS=="mac"', { | 395 ['OS=="mac"', { |
| 390 'target_defaults': { | 396 'target_defaults': { |
| 391 'variables': { | 397 'variables': { |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 # settings in target dicts. SYMROOT is a special case, because many other | 588 # settings in target dicts. SYMROOT is a special case, because many other |
| 583 # Xcode variables depend on it, including variables such as | 589 # Xcode variables depend on it, including variables such as |
| 584 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 590 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 585 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 591 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 586 # files to appear (when present) in the UI as actual files and not red | 592 # files to appear (when present) in the UI as actual files and not red |
| 587 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 593 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 588 # and therefore SYMROOT, needs to be set at the project level. | 594 # and therefore SYMROOT, needs to be set at the project level. |
| 589 'SYMROOT': '<(DEPTH)/xcodebuild', | 595 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 590 }, | 596 }, |
| 591 } | 597 } |
| OLD | NEW |