| 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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 '<(DEPTH)/ui/base/ui_base.gyp:ui_base', | 602 '<(DEPTH)/ui/base/ui_base.gyp:ui_base', |
| 603 ], | 603 ], |
| 604 'conditions': [ | 604 'conditions': [ |
| 605 ['OS != "ios"', { | 605 ['OS != "ios"', { |
| 606 'dependencies': [ | 606 'dependencies': [ |
| 607 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc', | 607 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc', |
| 608 ], | 608 ], |
| 609 }, { # OS == ios | 609 }, { # OS == ios |
| 610 'sources!': [ | 610 'sources!': [ |
| 611 'common/net/net_resource_provider.cc', | 611 'common/net/net_resource_provider.cc', |
| 612 ], |
| 613 }], |
| 614 ['OS == "android" or OS == "ios"', { |
| 615 'sources!': [ |
| 612 'common/net/x509_certificate_model.cc', | 616 'common/net/x509_certificate_model.cc', |
| 613 ], | 617 ], |
| 614 }], | 618 }], |
| 615 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { | 619 ['use_openssl_certs == 1 and OS != "android"', { |
| 616 'dependencies': [ | |
| 617 '../build/linux/system.gyp:ssl', | |
| 618 ], | |
| 619 }, | |
| 620 ], | |
| 621 ['os_posix != 1 or OS == "mac" or OS == "ios"', { | |
| 622 'sources!': [ | |
| 623 'common/net/x509_certificate_model_nss.cc', | |
| 624 'common/net/x509_certificate_model_openssl.cc', | |
| 625 ], | |
| 626 }, | |
| 627 ], | |
| 628 ['OS == "android"', { | |
| 629 'dependencies': [ | |
| 630 '../third_party/boringssl/boringssl.gyp:boringssl', | |
| 631 ], | |
| 632 'sources!': [ | |
| 633 'common/net/x509_certificate_model.cc', | |
| 634 'common/net/x509_certificate_model_openssl.cc', | |
| 635 ], | |
| 636 }], | |
| 637 ['use_openssl==1', { | |
| 638 'sources!': [ | |
| 639 'common/net/x509_certificate_model_nss.cc', | |
| 640 ], | |
| 641 'dependencies': [ | 620 'dependencies': [ |
| 642 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', | 621 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', |
| 643 ], | 622 ], |
| 644 }, | 623 }, { |
| 645 { # else !use_openssl: remove the unneeded files | |
| 646 'sources!': [ | 624 'sources!': [ |
| 647 'common/net/x509_certificate_model_openssl.cc', | 625 'common/net/x509_certificate_model_openssl.cc', |
| 648 ], | 626 ], |
| 649 }, | 627 }, |
| 650 ], | 628 ], |
| 629 ['use_nss == 1', { |
| 630 'dependencies': [ |
| 631 '../build/linux/system.gyp:ssl', |
| 632 ], |
| 633 }, { |
| 634 'sources!': [ |
| 635 'common/net/x509_certificate_model_nss.cc', |
| 636 ], |
| 637 }, |
| 638 ], |
| 651 ['OS=="win"', { | 639 ['OS=="win"', { |
| 652 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 640 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 653 'msvs_disabled_warnings': [4267, ], | 641 'msvs_disabled_warnings': [4267, ], |
| 654 }, | 642 }, |
| 655 ], | 643 ], |
| 656 ], | 644 ], |
| 657 }, | 645 }, |
| 658 { | 646 { |
| 659 # Protobuf compiler / generator for the safebrowsing client | 647 # Protobuf compiler / generator for the safebrowsing client |
| 660 # model proto and the client-side detection (csd) request | 648 # model proto and the client-side detection (csd) request |
| 661 # protocol buffer. | 649 # protocol buffer. |
| 662 | 650 |
| 663 # GN version: //chrome/common/safe_browsing:proto | 651 # GN version: //chrome/common/safe_browsing:proto |
| 664 'target_name': 'safe_browsing_proto', | 652 'target_name': 'safe_browsing_proto', |
| 665 'type': 'static_library', | 653 'type': 'static_library', |
| 666 'sources': [ | 654 'sources': [ |
| 667 'common/safe_browsing/client_model.proto', | 655 'common/safe_browsing/client_model.proto', |
| 668 'common/safe_browsing/crx_info.proto', | 656 'common/safe_browsing/crx_info.proto', |
| 669 'common/safe_browsing/csd.proto' | 657 'common/safe_browsing/csd.proto' |
| 670 ], | 658 ], |
| 671 'variables': { | 659 'variables': { |
| 672 'proto_in_dir': 'common/safe_browsing', | 660 'proto_in_dir': 'common/safe_browsing', |
| 673 'proto_out_dir': 'chrome/common/safe_browsing', | 661 'proto_out_dir': 'chrome/common/safe_browsing', |
| 674 }, | 662 }, |
| 675 'includes': [ '../build/protoc.gypi' ], | 663 'includes': [ '../build/protoc.gypi' ], |
| 676 }, | 664 }, |
| 677 ], | 665 ], |
| 678 } | 666 } |
| OLD | NEW |