| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'includes': [ | 6 'includes': [ |
| 7 'boringssl_tests.gypi', | 7 'boringssl_tests.gypi', |
| 8 ], | 8 ], |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'boringssl', | 11 'target_name': 'boringssl', |
| 12 'type': 'static_library', | 12 'type': 'static_library', |
| 13 'includes': [ | 13 'includes': [ |
| 14 'boringssl.gypi', | 14 'boringssl.gypi', |
| 15 ], | 15 ], |
| 16 'sources': [ | 16 'sources': [ |
| 17 '<@(boringssl_lib_sources)', | 17 '<@(boringssl_lib_sources)', |
| 18 ], | 18 ], |
| 19 'conditions': [ | 19 'conditions': [ |
| 20 ['target_arch == "arm"', { | 20 ['target_arch == "arm"', { |
| 21 'sources': [ '<@(boringssl_linux_arm_sources)' ], | 21 'sources': [ '<@(boringssl_linux_arm_sources)' ], |
| 22 }], | 22 }], |
| 23 ['target_arch == "ia32"', { | 23 ['target_arch == "ia32"', { |
| 24 'conditions': [ | 24 'conditions': [ |
| 25 ['OS == "mac"', { | 25 ['OS == "mac"', { |
| 26 'sources': [ '<@(boringssl_mac_x86_sources)' ], | 26 'sources': [ '<@(boringssl_mac_x86_sources)' ], |
| 27 }], | 27 }], |
| 28 ['OS == "linux"', { | 28 ['OS == "linux" or OS == "android"', { |
| 29 'sources': [ '<@(boringssl_linux_x86_sources)' ], | 29 'sources': [ '<@(boringssl_linux_x86_sources)' ], |
| 30 }], | 30 }], |
| 31 ['OS != "mac" and OS != "linux"', { | 31 ['OS != "mac" and OS != "linux"', { |
| 32 'defines': [ 'OPENSSL_NO_ASM' ], | 32 'defines': [ 'OPENSSL_NO_ASM' ], |
| 33 }], | 33 }], |
| 34 ] | 34 ] |
| 35 }], | 35 }], |
| 36 ['target_arch == "x64"', { | 36 ['target_arch == "x64"', { |
| 37 'conditions': [ | 37 'conditions': [ |
| 38 ['OS == "mac"', { | 38 ['OS == "mac"', { |
| 39 'sources': [ '<@(boringssl_mac_x86_64_sources)' ], | 39 'sources': [ '<@(boringssl_mac_x86_64_sources)' ], |
| 40 }], | 40 }], |
| 41 ['OS == "linux"', { | 41 ['OS == "linux" or OS == "android"', { |
| 42 'sources': [ '<@(boringssl_linux_x86_64_sources)' ], | 42 'sources': [ '<@(boringssl_linux_x86_64_sources)' ], |
| 43 }], | 43 }], |
| 44 ['OS == "win"', { | 44 ['OS == "win"', { |
| 45 'sources': [ '<@(boringssl_win_x86_64_sources)' ], | 45 'sources': [ '<@(boringssl_win_x86_64_sources)' ], |
| 46 }], | 46 }], |
| 47 ['OS != "mac" and OS != "linux" and OS != "win"', { | 47 ['OS != "mac" and OS != "linux" and OS != "win"', { |
| 48 'defines': [ 'OPENSSL_NO_ASM' ], | 48 'defines': [ 'OPENSSL_NO_ASM' ], |
| 49 }], | 49 }], |
| 50 ] | 50 ] |
| 51 }], | 51 }], |
| (...skipping 23 matching lines...) Expand all Loading... |
| 75 'dependencies': [ | 75 'dependencies': [ |
| 76 '<@(boringssl_test_targets)', | 76 '<@(boringssl_test_targets)', |
| 77 '../../base/base.gyp:base', | 77 '../../base/base.gyp:base', |
| 78 '../../base/base.gyp:run_all_unittests', | 78 '../../base/base.gyp:run_all_unittests', |
| 79 '../../base/base.gyp:test_support_base', | 79 '../../base/base.gyp:test_support_base', |
| 80 '../../testing/gtest.gyp:gtest', | 80 '../../testing/gtest.gyp:gtest', |
| 81 ], | 81 ], |
| 82 }, | 82 }, |
| 83 ], | 83 ], |
| 84 } | 84 } |
| OLD | NEW |