| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'openssl', | 8 'target_name': 'openssl', |
| 9 'type': '<(library)', | 9 'type': '<(library)', |
| 10 'defines': [ | 10 'defines': [ |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 ], | 577 ], |
| 578 'conditions': [ | 578 'conditions': [ |
| 579 ['OS=="linux"', { | 579 ['OS=="linux"', { |
| 580 'defines': [ | 580 'defines': [ |
| 581 # ENGINESDIR must be defined if OPENSSLDIR is. | 581 # ENGINESDIR must be defined if OPENSSLDIR is. |
| 582 'ENGINESDIR="/dev/null"', | 582 'ENGINESDIR="/dev/null"', |
| 583 # Set to ubuntu default path for convenience. If necessary, override | 583 # Set to ubuntu default path for convenience. If necessary, override |
| 584 # this at runtime with the SSL_CERT_DIR environment variable. | 584 # this at runtime with the SSL_CERT_DIR environment variable. |
| 585 'OPENSSLDIR="/etc/ssl"', | 585 'OPENSSLDIR="/etc/ssl"', |
| 586 ], | 586 ], |
| 587 }], | 587 'variables': { |
| 588 ['OS=="linux" and target_arch=="ia32"', { | 588 'conditions': [ |
| 589 'variables': { | 589 ['target_arch=="ia32"', { |
| 590 'openssl_config_path': 'config/piii', | 590 'openssl_config_path': 'config/piii', |
| 591 }, | 591 }, { |
| 592 }], | 592 'openssl_config_path': 'config/k8', |
| 593 ['OS=="linux" and target_arch=="x64"', { | 593 }], |
| 594 'variables': { | 594 ], |
| 595 'openssl_config_path': 'config/k8', | 595 }, |
| 596 }, | |
| 597 }], | 596 }], |
| 598 ['OS=="android"', { | 597 ['OS=="android"', { |
| 599 'variables': { | 598 'variables': { |
| 600 'openssl_config_path': 'config/android', | 599 'openssl_config_path': 'config/android', |
| 601 }, | 600 }, |
| 602 'sources/': [ | 601 'sources/': [ |
| 603 ['exclude', 'cast/.*$'], | 602 ['exclude', 'cast/.*$'], |
| 604 ['exclude', 'crypto/md2/.*$'], | 603 ['exclude', 'crypto/md2/.*$'], |
| 605 ['exclude', 'crypto/evp/e_camellia\.c'], | 604 ['exclude', 'crypto/evp/e_camellia\.c'], |
| 606 ['exclude', 'crypto/evp/m_mdc2\.c'], | 605 ['exclude', 'crypto/evp/m_mdc2\.c'], |
| 607 ], | 606 ], |
| 608 }], | 607 }], |
| 609 ], | 608 ], |
| 610 'include_dirs': [ | 609 'include_dirs': [ |
| 611 '.', | 610 '.', |
| 612 'openssl', | 611 'openssl', |
| 613 'openssl/crypto', | 612 'openssl/crypto', |
| 614 'openssl/crypto/asn1', | 613 'openssl/crypto/asn1', |
| 615 'openssl/crypto/evp', | 614 'openssl/crypto/evp', |
| 616 'openssl/include', | 615 'openssl/include', |
| 617 '<@(openssl_config_path)', | 616 '<@(openssl_config_path)', |
| 618 ], | 617 ], |
| 619 'direct_dependent_settings': { | 618 'direct_dependent_settings': { |
| 620 'include_dirs': [ | 619 'include_dirs': [ |
| 621 'openssl/include', | 620 'openssl/include', |
| 622 '<@(openssl_config_path)', | 621 '<@(openssl_config_path)', |
| 623 ], | 622 ], |
| 624 }, | 623 }, |
| 625 }, | 624 }, |
| 626 ], | 625 ], |
| 627 } | 626 } |
| 628 | 627 |
| 629 # Local Variables: | 628 # Local Variables: |
| 630 # tab-width:2 | 629 # tab-width:2 |
| 631 # indent-tabs-mode:nil | 630 # indent-tabs-mode:nil |
| 632 # End: | 631 # End: |
| 633 # vim: set expandtab tabstop=2 shiftwidth=2: | 632 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |