OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'conditions': [ | 6 'conditions': [ |
7 ['OS != "ios"', { | 7 ['OS != "ios"', { |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'components_unittests', | 10 'target_name': 'components_unittests', |
(...skipping 30 matching lines...) Expand all Loading... |
41 'dependencies': [ | 41 'dependencies': [ |
42 '../testing/android/native_test.gyp:native_test_native_code', | 42 '../testing/android/native_test.gyp:native_test_native_code', |
43 ] | 43 ] |
44 }], | 44 }], |
45 ['OS=="win" and win_use_allocator_shim==1', { | 45 ['OS=="win" and win_use_allocator_shim==1', { |
46 'dependencies': [ | 46 'dependencies': [ |
47 '../base/allocator/allocator.gyp:allocator', | 47 '../base/allocator/allocator.gyp:allocator', |
48 ], | 48 ], |
49 }], | 49 }], |
50 ], | 50 ], |
| 51 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 52 'msvs_disabled_warnings': [4267, ], |
51 } | 53 } |
52 ], | 54 ], |
53 'conditions': [ | 55 'conditions': [ |
54 ['OS == "android" and gtest_target_type == "shared_library"', { | 56 ['OS == "android" and gtest_target_type == "shared_library"', { |
55 'targets': [ | 57 'targets': [ |
56 { | 58 { |
57 'target_name': 'components_unittests_apk', | 59 'target_name': 'components_unittests_apk', |
58 'type': 'none', | 60 'type': 'none', |
59 'dependencies': [ | 61 'dependencies': [ |
60 'components_unittests', | 62 'components_unittests', |
61 ], | 63 ], |
62 'variables': { | 64 'variables': { |
63 'test_suite_name': 'components_unittests', | 65 'test_suite_name': 'components_unittests', |
64 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)compo
nents_unittests<(SHARED_LIB_SUFFIX)', | 66 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)compo
nents_unittests<(SHARED_LIB_SUFFIX)', |
65 }, | 67 }, |
66 'includes': [ '../build/apk_test.gypi' ], | 68 'includes': [ '../build/apk_test.gypi' ], |
67 }, | 69 }, |
68 ], | 70 ], |
69 }], | 71 }], |
70 ], | 72 ], |
71 }], | 73 }], |
72 ], | 74 ], |
73 } | 75 } |
OLD | NEW |