| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 # File lists shared with GN build. | 7 # File lists shared with GN build. |
| 8 'chrome_common_sources': [ | 8 'chrome_common_sources': [ |
| 9 'common/all_messages.h', | 9 'common/all_messages.h', |
| 10 'common/attrition_experiments.h', | 10 'common/attrition_experiments.h', |
| (...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 '<(DEPTH)/ui/base/ui_base.gyp:ui_base', | 627 '<(DEPTH)/ui/base/ui_base.gyp:ui_base', |
| 628 ], | 628 ], |
| 629 'conditions': [ | 629 'conditions': [ |
| 630 ['OS != "ios"', { | 630 ['OS != "ios"', { |
| 631 'dependencies': [ | 631 'dependencies': [ |
| 632 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc', | 632 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc', |
| 633 ], | 633 ], |
| 634 }, { # OS == ios | 634 }, { # OS == ios |
| 635 'sources!': [ | 635 'sources!': [ |
| 636 'common/net/net_resource_provider.cc', | 636 'common/net/net_resource_provider.cc', |
| 637 ], |
| 638 }], |
| 639 ['OS == "android" or OS == "ios"', { |
| 640 'sources!': [ |
| 637 'common/net/x509_certificate_model.cc', | 641 'common/net/x509_certificate_model.cc', |
| 638 ], | 642 ], |
| 639 }], | 643 }], |
| 640 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { | 644 ['use_openssl_certs == 1 and OS != "android"', { |
| 641 'dependencies': [ | |
| 642 '../build/linux/system.gyp:ssl', | |
| 643 ], | |
| 644 }, | |
| 645 ], | |
| 646 ['os_posix != 1 or OS == "mac" or OS == "ios"', { | |
| 647 'sources!': [ | |
| 648 'common/net/x509_certificate_model_nss.cc', | |
| 649 'common/net/x509_certificate_model_openssl.cc', | |
| 650 ], | |
| 651 }, | |
| 652 ], | |
| 653 ['OS == "android"', { | |
| 654 'dependencies': [ | |
| 655 '../third_party/boringssl/boringssl.gyp:boringssl', | |
| 656 ], | |
| 657 'sources!': [ | |
| 658 'common/net/x509_certificate_model.cc', | |
| 659 'common/net/x509_certificate_model_openssl.cc', | |
| 660 ], | |
| 661 }], | |
| 662 ['use_openssl==1', { | |
| 663 'sources!': [ | |
| 664 'common/net/x509_certificate_model_nss.cc', | |
| 665 ], | |
| 666 'dependencies': [ | 645 'dependencies': [ |
| 667 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', | 646 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', |
| 668 ], | 647 ], |
| 669 }, | 648 }, { |
| 670 { # else !use_openssl: remove the unneeded files | |
| 671 'sources!': [ | 649 'sources!': [ |
| 672 'common/net/x509_certificate_model_openssl.cc', | 650 'common/net/x509_certificate_model_openssl.cc', |
| 673 ], | 651 ], |
| 674 }, | 652 }, |
| 675 ], | 653 ], |
| 654 ['use_nss_certs == 1', { |
| 655 'dependencies': [ |
| 656 '../build/linux/system.gyp:ssl', |
| 657 ], |
| 658 }, { |
| 659 'sources!': [ |
| 660 'common/net/x509_certificate_model_nss.cc', |
| 661 ], |
| 662 }, |
| 663 ], |
| 676 ['OS=="win"', { | 664 ['OS=="win"', { |
| 677 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 665 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 678 'msvs_disabled_warnings': [4267, ], | 666 'msvs_disabled_warnings': [4267, ], |
| 679 }, | 667 }, |
| 680 ], | 668 ], |
| 681 ], | 669 ], |
| 682 }, | 670 }, |
| 683 { | 671 { |
| 684 # Protobuf compiler / generator for the safebrowsing client | 672 # Protobuf compiler / generator for the safebrowsing client |
| 685 # model proto and the client-side detection (csd) request | 673 # model proto and the client-side detection (csd) request |
| 686 # protocol buffer. | 674 # protocol buffer. |
| 687 | 675 |
| 688 # GN version: //chrome/common/safe_browsing:proto | 676 # GN version: //chrome/common/safe_browsing:proto |
| 689 'target_name': 'safe_browsing_proto', | 677 'target_name': 'safe_browsing_proto', |
| 690 'type': 'static_library', | 678 'type': 'static_library', |
| 691 'sources': [ | 679 'sources': [ |
| 692 'common/safe_browsing/client_model.proto', | 680 'common/safe_browsing/client_model.proto', |
| 693 'common/safe_browsing/crx_info.proto', | 681 'common/safe_browsing/crx_info.proto', |
| 694 'common/safe_browsing/csd.proto' | 682 'common/safe_browsing/csd.proto' |
| 695 ], | 683 ], |
| 696 'variables': { | 684 'variables': { |
| 697 'proto_in_dir': 'common/safe_browsing', | 685 'proto_in_dir': 'common/safe_browsing', |
| 698 'proto_out_dir': 'chrome/common/safe_browsing', | 686 'proto_out_dir': 'chrome/common/safe_browsing', |
| 699 }, | 687 }, |
| 700 'includes': [ '../build/protoc.gypi' ], | 688 'includes': [ '../build/protoc.gypi' ], |
| 701 }, | 689 }, |
| 702 ], | 690 ], |
| 703 } | 691 } |
| OLD | NEW |