| 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 'include_dirs': [ | 313 'include_dirs': [ |
| 314 '..', | 314 '..', |
| 315 ], | 315 ], |
| 316 }, | 316 }, |
| 317 # These warnings are needed for the files in third_party\dmg_fp. | 317 # These warnings are needed for the files in third_party\dmg_fp. |
| 318 'msvs_disabled_warnings': [ | 318 'msvs_disabled_warnings': [ |
| 319 4244, 4554, 4018, 4102, | 319 4244, 4554, 4018, 4102, |
| 320 ], | 320 ], |
| 321 'conditions': [ | 321 'conditions': [ |
| 322 [ 'OS == "linux"', { | 322 [ 'OS == "linux"', { |
| 323 'actions': [ |
| 324 { |
| 325 'action_name': 'linux_version', |
| 326 'variables': { |
| 327 'template_input_path': 'file_version_info_linux.h.version' |
| 328 }, |
| 329 'inputs': [ |
| 330 '<(template_input_path)', |
| 331 '../chrome/VERSION', |
| 332 '../chrome/tools/build/linux/version.sh', |
| 333 ], |
| 334 'conditions': [ |
| 335 [ 'branding == "Chrome"', { |
| 336 'inputs': ['../chrome/app/theme/google_chrome/BRANDING'] |
| 337 }, { # else branding!="Chrome" |
| 338 'inputs': ['../chrome/app/theme/chromium/BRANDING'] |
| 339 }], |
| 340 ], |
| 341 'outputs': [ |
| 342 '<(INTERMEDIATE_DIR)/base/file_version_info_linux.h', |
| 343 ], |
| 344 'action': [ |
| 345 '../chrome/tools/build/linux/version.sh', |
| 346 '<(template_input_path)', '<@(_outputs)', '../chrome' |
| 347 ], |
| 348 }, |
| 349 ], |
| 350 'include_dirs': [ |
| 351 '<(INTERMEDIATE_DIR)', |
| 352 ], |
| 323 'sources/': [ ['exclude', '_(mac|win)\\.cc$'], | 353 'sources/': [ ['exclude', '_(mac|win)\\.cc$'], |
| 324 ['exclude', '\\.mm?$' ] ], | 354 ['exclude', '\\.mm?$' ] ], |
| 325 'sources!': [ | 355 'sources!': [ |
| 326 # Linux has an implementation of idle_timer that depends | 356 # Linux has an implementation of idle_timer that depends |
| 327 # on XScreenSaver, but it's unclear if we want it yet, | 357 # on XScreenSaver, but it's unclear if we want it yet, |
| 328 # so use idle_timer_none.cc instead. | 358 # so use idle_timer_none.cc instead. |
| 329 'idle_timer.cc', | 359 'idle_timer.cc', |
| 330 ], | 360 ], |
| 331 'dependencies': [ | 361 'dependencies': [ |
| 332 '../build/linux/system.gyp:gtk', | 362 '../build/linux/system.gyp:gtk', |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 639 'target_name': 'debug_message', | 669 'target_name': 'debug_message', |
| 640 'type': 'executable', | 670 'type': 'executable', |
| 641 'sources': [ | 671 'sources': [ |
| 642 'debug_message.cc', | 672 'debug_message.cc', |
| 643 ], | 673 ], |
| 644 }, | 674 }, |
| 645 ], | 675 ], |
| 646 }], | 676 }], |
| 647 ], | 677 ], |
| 648 } | 678 } |
| OLD | NEW |