| 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', |
| 11 ], | 11 ], |
| 12 'targets': [ | 12 'targets': [ |
| 13 { | 13 { |
| 14 'target_name': 'base', | 14 'target_name': 'base', |
| 15 'type': '<(library)', | 15 'type': '<(library)', |
| 16 'dependencies': [ | 16 'dependencies': [ |
| 17 '../third_party/icu38/icu38.gyp:icui18n', | 17 '../third_party/icu38/icu38.gyp:icui18n', |
| 18 '../third_party/icu38/icu38.gyp:icuuc', | 18 '../third_party/icu38/icu38.gyp:icuuc', |
| 19 ], | 19 ], |
| 20 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165', | 20 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165', |
| 21 'sources': [ | 21 'sources': [ |
| 22 '../build/build_config.h', | 22 '../build/build_config.h', |
| 23 'crypto/cssm_init.cc', |
| 24 'crypto/cssm_init.h', |
| 25 'crypto/signature_verifier.h', |
| 26 'crypto/signature_verifier_mac.cc', |
| 27 'crypto/signature_verifier_nss.cc', |
| 28 'crypto/signature_verifier_win.cc', |
| 23 'third_party/dmg_fp/dmg_fp.h', | 29 'third_party/dmg_fp/dmg_fp.h', |
| 24 'third_party/dmg_fp/dtoa.cc', | 30 'third_party/dmg_fp/dtoa.cc', |
| 25 'third_party/dmg_fp/g_fmt.cc', | 31 'third_party/dmg_fp/g_fmt.cc', |
| 26 'third_party/nspr/prcpucfg.h', | 32 'third_party/nspr/prcpucfg.h', |
| 27 'third_party/nspr/prcpucfg_win.h', | 33 'third_party/nspr/prcpucfg_win.h', |
| 28 'third_party/nspr/prtime.cc', | 34 'third_party/nspr/prtime.cc', |
| 29 'third_party/nspr/prtime.h', | 35 'third_party/nspr/prtime.h', |
| 30 'third_party/nspr/prtypes.h', | 36 'third_party/nspr/prtypes.h', |
| 31 'third_party/nss/blapi.h', | 37 'third_party/nss/blapi.h', |
| 32 'third_party/nss/blapit.h', | 38 'third_party/nss/blapit.h', |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 'message_pump_glib.h', | 158 'message_pump_glib.h', |
| 153 'message_pump_libevent.cc', | 159 'message_pump_libevent.cc', |
| 154 'message_pump_libevent.h', | 160 'message_pump_libevent.h', |
| 155 'message_pump_mac.h', | 161 'message_pump_mac.h', |
| 156 'message_pump_mac.mm', | 162 'message_pump_mac.mm', |
| 157 'message_pump_win.cc', | 163 'message_pump_win.cc', |
| 158 'message_pump_win.h', | 164 'message_pump_win.h', |
| 159 'non_thread_safe.cc', | 165 'non_thread_safe.cc', |
| 160 'non_thread_safe.h', | 166 'non_thread_safe.h', |
| 161 'nss_init.cc', | 167 'nss_init.cc', |
| 168 'nss_init.h', |
| 162 'object_watcher.cc', | 169 'object_watcher.cc', |
| 163 'object_watcher.h', | 170 'object_watcher.h', |
| 164 'observer_list.h', | 171 'observer_list.h', |
| 165 'observer_list_threadsafe.h', | 172 'observer_list_threadsafe.h', |
| 166 'path_service.cc', | 173 'path_service.cc', |
| 167 'path_service.h', | 174 'path_service.h', |
| 168 'pe_image.cc', | 175 'pe_image.cc', |
| 169 'pe_image.h', | 176 'pe_image.h', |
| 170 'pickle.cc', | 177 'pickle.cc', |
| 171 'pickle.h', | 178 'pickle.h', |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 ], | 381 ], |
| 375 'link_settings': { | 382 'link_settings': { |
| 376 'libraries': [ | 383 'libraries': [ |
| 377 # We need rt for clock_gettime(). | 384 # We need rt for clock_gettime(). |
| 378 '-lrt', | 385 '-lrt', |
| 379 ], | 386 ], |
| 380 }, | 387 }, |
| 381 }, | 388 }, |
| 382 { # else: OS != "linux" | 389 { # else: OS != "linux" |
| 383 'sources!': [ | 390 'sources!': [ |
| 391 'crypto/signature_verifier_nss.cc', |
| 384 'atomicops_internals_x86_gcc.cc', | 392 'atomicops_internals_x86_gcc.cc', |
| 385 'directory_watcher_inotify.cc', | 393 'directory_watcher_inotify.cc', |
| 386 'hmac_nss.cc', | 394 'hmac_nss.cc', |
| 387 'idle_timer_none.cc', | 395 'idle_timer_none.cc', |
| 388 'message_pump_glib.cc', | 396 'message_pump_glib.cc', |
| 389 'nss_init.cc', | 397 'nss_init.cc', |
| 398 'nss_init.h', |
| 390 'time_posix.cc', | 399 'time_posix.cc', |
| 391 ], | 400 ], |
| 392 } | 401 } |
| 393 ], | 402 ], |
| 394 [ 'GENERATOR == "quentin"', { | 403 [ 'GENERATOR == "quentin"', { |
| 395 # Quentin builds don't have a recent enough glibc to include the | 404 # Quentin builds don't have a recent enough glibc to include the |
| 396 # inotify headers | 405 # inotify headers |
| 397 'sources!': [ | 406 'sources!': [ |
| 398 'directory_watcher_inotify.cc', | 407 'directory_watcher_inotify.cc', |
| 399 ], | 408 ], |
| 400 'sources': [ | 409 'sources': [ |
| 401 'directory_watcher_stub.cc', | 410 'directory_watcher_stub.cc', |
| 402 ], | 411 ], |
| 403 }, | 412 }, |
| 404 ], | 413 ], |
| 405 [ 'OS == "mac"', { | 414 [ 'OS == "mac"', { |
| 406 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ], | 415 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ], |
| 407 'sources!': [ | 416 'sources!': [ |
| 408 ], | 417 ], |
| 409 'link_settings': { | 418 'link_settings': { |
| 410 'libraries': [ | 419 'libraries': [ |
| 411 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | 420 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
| 412 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', | 421 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
| 413 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 422 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 414 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 423 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 424 '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
| 415 ], | 425 ], |
| 416 }, | 426 }, |
| 417 }, | 427 }, |
| 428 { # else: OS != "mac" |
| 429 'sources!': [ |
| 430 'crypto/cssm_init.cc', |
| 431 'crypto/cssm_init.h', |
| 432 ], |
| 433 } |
| 418 ], | 434 ], |
| 419 [ 'OS == "win"', { | 435 [ 'OS == "win"', { |
| 420 'sources/': [ ['exclude', '_(linux|mac|posix)\\.cc$'], | 436 'sources/': [ ['exclude', '_(linux|mac|posix)\\.cc$'], |
| 421 ['exclude', '\\.mm?$' ] ], | 437 ['exclude', '\\.mm?$' ] ], |
| 422 'sources!': [ | 438 'sources!': [ |
| 423 'data_pack.cc', | 439 'data_pack.cc', |
| 424 'event_recorder_stubs.cc', | 440 'event_recorder_stubs.cc', |
| 425 'message_pump_libevent.cc', | 441 'message_pump_libevent.cc', |
| 426 'string16.cc', | 442 'string16.cc', |
| 427 ], | 443 ], |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 'gfx/gtk_util.cc', | 524 'gfx/gtk_util.cc', |
| 509 ], | 525 ], |
| 510 }], | 526 }], |
| 511 ], | 527 ], |
| 512 }, | 528 }, |
| 513 { | 529 { |
| 514 'target_name': 'base_unittests', | 530 'target_name': 'base_unittests', |
| 515 'type': 'executable', | 531 'type': 'executable', |
| 516 'msvs_guid': '27A30967-4BBA-48D1-8522-CDE95F7B1CEC', | 532 'msvs_guid': '27A30967-4BBA-48D1-8522-CDE95F7B1CEC', |
| 517 'sources': [ | 533 'sources': [ |
| 534 'crypto/signature_verifier_unittest.cc', |
| 518 'gfx/jpeg_codec_unittest.cc', | 535 'gfx/jpeg_codec_unittest.cc', |
| 519 'gfx/native_theme_unittest.cc', | 536 'gfx/native_theme_unittest.cc', |
| 520 'gfx/png_codec_unittest.cc', | 537 'gfx/png_codec_unittest.cc', |
| 521 'gfx/rect_unittest.cc', | 538 'gfx/rect_unittest.cc', |
| 522 'at_exit_unittest.cc', | 539 'at_exit_unittest.cc', |
| 523 'atomicops_unittest.cc', | 540 'atomicops_unittest.cc', |
| 524 'clipboard_unittest.cc', | 541 'clipboard_unittest.cc', |
| 525 'command_line_unittest.cc', | 542 'command_line_unittest.cc', |
| 526 'condition_variable_unittest.cc', | 543 'condition_variable_unittest.cc', |
| 527 'data_pack_unittest.cc', | 544 'data_pack_unittest.cc', |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 ['OS == "linux"', { | 618 ['OS == "linux"', { |
| 602 'sources!': [ | 619 'sources!': [ |
| 603 'file_version_info_unittest.cc', | 620 'file_version_info_unittest.cc', |
| 604 # Linux has an implementation of idle_timer, but it's unclear | 621 # Linux has an implementation of idle_timer, but it's unclear |
| 605 # if we want it yet, so leave it 'unported' for now. | 622 # if we want it yet, so leave it 'unported' for now. |
| 606 'idletimer_unittest.cc', | 623 'idletimer_unittest.cc', |
| 607 'worker_pool_linux_unittest.cc', | 624 'worker_pool_linux_unittest.cc', |
| 608 ], | 625 ], |
| 609 'dependencies': [ | 626 'dependencies': [ |
| 610 '../build/linux/system.gyp:gtk', | 627 '../build/linux/system.gyp:gtk', |
| 628 '../build/linux/system.gyp:nss', |
| 611 ], | 629 ], |
| 612 }], | 630 }], |
| 613 ['OS == "mac"', { | 631 ['OS == "mac"', { |
| 614 'sources!': [ | 632 'sources!': [ |
| 615 'directory_watcher_unittest.cc', | 633 'directory_watcher_unittest.cc', |
| 616 ], | 634 ], |
| 617 }, { # OS != "mac" | 635 }, { # OS != "mac" |
| 618 'sources!': [ | 636 'sources!': [ |
| 619 'mac_util_unittest.cc', | 637 'mac_util_unittest.cc', |
| 620 ], | 638 ], |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 'target_name': 'debug_message', | 698 'target_name': 'debug_message', |
| 681 'type': 'executable', | 699 'type': 'executable', |
| 682 'sources': [ | 700 'sources': [ |
| 683 'debug_message.cc', | 701 'debug_message.cc', |
| 684 ], | 702 ], |
| 685 }, | 703 }, |
| 686 ], | 704 ], |
| 687 }], | 705 }], |
| 688 ], | 706 ], |
| 689 } | 707 } |
| OLD | NEW |