OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 Google Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | 70 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
71 '<(DEPTH)/tools/android/forwarder2/forwarder.gyp:forwarder2', | 71 '<(DEPTH)/tools/android/forwarder2/forwarder.gyp:forwarder2', |
72 ], | 72 ], |
73 }], | 73 }], |
74 ], | 74 ], |
75 }, | 75 }, |
76 { | 76 { |
77 'target_name': 'blink_platform_unittests', | 77 'target_name': 'blink_platform_unittests', |
78 'type': 'executable', | 78 'type': 'executable', |
79 'dependencies': [ | 79 'dependencies': [ |
| 80 'blink_platform_test_support', |
80 '../config.gyp:unittest_config', | 81 '../config.gyp:unittest_config', |
81 '../wtf/wtf.gyp:wtf', | 82 '../wtf/wtf.gyp:wtf', |
82 '../wtf/wtf_tests.gyp:wtf_unittest_helpers', | 83 '../wtf/wtf_tests.gyp:wtf_unittest_helpers', |
83 '<(DEPTH)/base/base.gyp:test_support_base', | 84 '<(DEPTH)/base/base.gyp:test_support_base', |
84 '<(DEPTH)/skia/skia.gyp:skia', | 85 '<(DEPTH)/skia/skia.gyp:skia', |
85 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', | 86 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', |
86 '<(DEPTH)/url/url.gyp:url_lib', | 87 '<(DEPTH)/url/url.gyp:url_lib', |
87 'blink_platform.gyp:blink_common', | 88 'blink_platform.gyp:blink_common', |
88 'blink_platform.gyp:blink_platform', | 89 'blink_platform.gyp:blink_platform', |
89 ], | 90 ], |
(...skipping 16 matching lines...) Expand all Loading... |
106 }], | 107 }], |
107 ['OS=="android" and gtest_target_type == "shared_library"', { | 108 ['OS=="android" and gtest_target_type == "shared_library"', { |
108 'type': 'shared_library', | 109 'type': 'shared_library', |
109 'dependencies': [ | 110 'dependencies': [ |
110 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | 111 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
111 '<(DEPTH)/tools/android/forwarder2/forwarder.gyp:forwarder2', | 112 '<(DEPTH)/tools/android/forwarder2/forwarder.gyp:forwarder2', |
112 ], | 113 ], |
113 }], | 114 }], |
114 ], | 115 ], |
115 }, | 116 }, |
| 117 { |
| 118 'target_name': 'blink_platform_test_support', |
| 119 'type': 'static_library', |
| 120 'dependencies': [ |
| 121 '../config.gyp:config', |
| 122 'blink_platform.gyp:blink_platform', |
| 123 ], |
| 124 'defines': [ |
| 125 'INSIDE_BLINK', |
| 126 ], |
| 127 'sources': [ |
| 128 '<@(platform_test_support_files)', |
| 129 ], |
| 130 }, |
116 ], | 131 ], |
117 'conditions': [ | 132 'conditions': [ |
118 ['OS=="android" and gtest_target_type == "shared_library"', { | 133 ['OS=="android" and gtest_target_type == "shared_library"', { |
119 'targets': [{ | 134 'targets': [{ |
120 'target_name': 'blink_heap_unittests_apk', | 135 'target_name': 'blink_heap_unittests_apk', |
121 'type': 'none', | 136 'type': 'none', |
122 'dependencies': [ | 137 'dependencies': [ |
123 '<(DEPTH)/base/base.gyp:base_java', | 138 '<(DEPTH)/base/base.gyp:base_java', |
124 '<(DEPTH)/net/net.gyp:net_java', | 139 '<(DEPTH)/net/net.gyp:net_java', |
125 'blink_heap_unittests', | 140 'blink_heap_unittests', |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 'blink_platform_unittests', | 182 'blink_platform_unittests', |
168 ], | 183 ], |
169 'variables': { | 184 'variables': { |
170 'test_suite_name': 'blink_platform_unittests', | 185 'test_suite_name': 'blink_platform_unittests', |
171 }, | 186 }, |
172 'includes': [ '../../../../build/apk_test.gypi' ], | 187 'includes': [ '../../../../build/apk_test.gypi' ], |
173 }], | 188 }], |
174 }], | 189 }], |
175 ], | 190 ], |
176 } | 191 } |
OLD | NEW |