| 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 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 '../build/common.gypi', | 10 '../build/common.gypi', |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 'include_dirs': [ | 358 'include_dirs': [ |
| 359 '..', | 359 '..', |
| 360 ], | 360 ], |
| 361 }, | 361 }, |
| 362 # These warnings are needed for the files in third_party\dmg_fp. | 362 # These warnings are needed for the files in third_party\dmg_fp. |
| 363 'msvs_disabled_warnings': [ | 363 'msvs_disabled_warnings': [ |
| 364 4244, 4554, 4018, 4102, | 364 4244, 4554, 4018, 4102, |
| 365 ], | 365 ], |
| 366 'conditions': [ | 366 'conditions': [ |
| 367 [ 'OS == "linux"', { | 367 [ 'OS == "linux"', { |
| 368 'variables' : { |
| 369 'linux_use_tcmalloc%': 0, |
| 370 }, |
| 368 'sources/': [ ['exclude', '_(mac|win|chromeos)\\.cc$'], | 371 'sources/': [ ['exclude', '_(mac|win|chromeos)\\.cc$'], |
| 369 ['exclude', '\\.mm?$' ] ], | 372 ['exclude', '\\.mm?$' ] ], |
| 370 'sources!': [ | 373 'sources!': [ |
| 371 # Linux has an implementation of idle_timer that depends | 374 # Linux has an implementation of idle_timer that depends |
| 372 # on XScreenSaver, but it's unclear if we want it yet, | 375 # on XScreenSaver, but it's unclear if we want it yet, |
| 373 # so use idle_timer_none.cc instead. | 376 # so use idle_timer_none.cc instead. |
| 374 'idle_timer.cc', | 377 'idle_timer.cc', |
| 375 ], | 378 ], |
| 376 'conditions': [ | 379 'conditions': [ |
| 377 [ 'chromeos==1', { | 380 [ 'chromeos==1', { |
| 378 'sources/': [ ['include', '_chromeos\\.cc$'] ] | 381 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
| 379 }, | 382 }, |
| 380 ], | 383 ], |
| 384 [ 'linux_use_tcmalloc==1', { |
| 385 'dependencies': [ |
| 386 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| 387 ], |
| 388 }, |
| 389 ], |
| 381 ], | 390 ], |
| 382 'dependencies': [ | 391 'dependencies': [ |
| 383 '../build/util/build_util.gyp:lastchange', | 392 '../build/util/build_util.gyp:lastchange', |
| 384 '../build/linux/system.gyp:gtk', | 393 '../build/linux/system.gyp:gtk', |
| 385 '../build/linux/system.gyp:nss', | 394 '../build/linux/system.gyp:nss', |
| 386 ], | 395 ], |
| 387 'cflags': [ | 396 'cflags': [ |
| 388 '-Wno-write-strings', | 397 '-Wno-write-strings', |
| 389 ], | 398 ], |
| 390 'link_settings': { | 399 'link_settings': { |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 837 '<@(_outputs)', | 846 '<@(_outputs)', |
| 838 ], | 847 ], |
| 839 'message': 'Generating version information', | 848 'message': 'Generating version information', |
| 840 }, | 849 }, |
| 841 ], | 850 ], |
| 842 }, | 851 }, |
| 843 ], | 852 ], |
| 844 }], | 853 }], |
| 845 ], | 854 ], |
| 846 } | 855 } |
| OLD | NEW |