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 57 matching lines...) Loading... |
68 'type': 'executable', | 68 'type': 'executable', |
69 'dependencies': [ | 69 'dependencies': [ |
70 'blink_platform_test_support', | 70 'blink_platform_test_support', |
71 '../config.gyp:unittest_config', | 71 '../config.gyp:unittest_config', |
72 '../wtf/wtf.gyp:wtf', | 72 '../wtf/wtf.gyp:wtf', |
73 '../wtf/wtf_tests.gyp:wtf_unittest_helpers', | 73 '../wtf/wtf_tests.gyp:wtf_unittest_helpers', |
74 '<(DEPTH)/base/base.gyp:test_support_base', | 74 '<(DEPTH)/base/base.gyp:test_support_base', |
75 '<(DEPTH)/cc/cc.gyp:cc', | 75 '<(DEPTH)/cc/cc.gyp:cc', |
76 '<(DEPTH)/cc/cc_tests.gyp:cc_test_support', | 76 '<(DEPTH)/cc/cc_tests.gyp:cc_test_support', |
77 '<(DEPTH)/cc/blink/cc_blink.gyp:cc_blink', | 77 '<(DEPTH)/cc/blink/cc_blink.gyp:cc_blink', |
| 78 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_common_test_support', |
78 '<(DEPTH)/skia/skia.gyp:skia', | 79 '<(DEPTH)/skia/skia.gyp:skia', |
79 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', | 80 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', |
80 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 81 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
81 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 82 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
82 '<(DEPTH)/url/url.gyp:url_lib', | 83 '<(DEPTH)/url/url.gyp:url_lib', |
83 'blink_platform.gyp:blink_platform', | 84 'blink_platform.gyp:blink_platform', |
84 ], | 85 ], |
85 'defines': [ | 86 'defines': [ |
86 'INSIDE_BLINK', | 87 'INSIDE_BLINK', |
87 ], | 88 ], |
(...skipping 15 matching lines...) Loading... |
103 ], | 104 ], |
104 }, | 105 }, |
105 { | 106 { |
106 'target_name': 'blink_platform_test_support', | 107 'target_name': 'blink_platform_test_support', |
107 'type': 'static_library', | 108 'type': 'static_library', |
108 'dependencies': [ | 109 'dependencies': [ |
109 '../config.gyp:config', | 110 '../config.gyp:config', |
110 '../wtf/wtf.gyp:wtf', | 111 '../wtf/wtf.gyp:wtf', |
111 'blink_platform.gyp:blink_common', | 112 'blink_platform.gyp:blink_common', |
112 'blink_platform.gyp:blink_platform', | 113 'blink_platform.gyp:blink_platform', |
| 114 '<(DEPTH)/device/battery/battery.gyp:device_battery_mojo_bindings', |
| 115 '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium', |
| 116 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', |
113 '<(DEPTH)/testing/gmock.gyp:gmock', | 117 '<(DEPTH)/testing/gmock.gyp:gmock', |
114 ], | 118 ], |
115 'defines': [ | 119 'defines': [ |
116 'INSIDE_BLINK', | 120 'INSIDE_BLINK', |
117 ], | 121 ], |
118 'include_dirs': [ | 122 'include_dirs': [ |
119 '<(SHARED_INTERMEDIATE_DIR)/blink', | 123 '<(SHARED_INTERMEDIATE_DIR)/blink', |
120 ], | 124 ], |
121 'sources': [ | 125 'sources': [ |
122 '<@(platform_test_support_files)', | 126 '<@(platform_test_support_files)', |
123 ], | 127 ], |
124 # Disable c4267 warnings until we fix size_t to int truncations. | 128 # Disable c4267 warnings until we fix size_t to int truncations. |
125 'msvs_disabled_warnings': [ 4267 ], | 129 'msvs_disabled_warnings': [ 4267 ], |
| 130 'conditions': [ |
| 131 ['OS == "android"', { |
| 132 'dependencies': [ |
| 133 '<(DEPTH)/device/battery/battery.gyp:device_battery_java', |
| 134 ], |
| 135 }, { # OS != "android" |
| 136 'dependencies': [ |
| 137 '<(DEPTH)/device/battery/battery.gyp:device_battery', |
| 138 ], |
| 139 }], |
| 140 ], |
126 }, | 141 }, |
127 ], | 142 ], |
128 'conditions': [ | 143 'conditions': [ |
129 ['OS=="android" and gtest_target_type == "shared_library"', { | 144 ['OS=="android" and gtest_target_type == "shared_library"', { |
130 'targets': [{ | 145 'targets': [{ |
131 'target_name': 'blink_heap_unittests_apk', | 146 'target_name': 'blink_heap_unittests_apk', |
132 'type': 'none', | 147 'type': 'none', |
133 'dependencies': [ | 148 'dependencies': [ |
134 '<(DEPTH)/base/base.gyp:base_java', | 149 '<(DEPTH)/base/base.gyp:base_java', |
135 '<(DEPTH)/net/net.gyp:net_java', | 150 '<(DEPTH)/net/net.gyp:net_java', |
(...skipping 75 matching lines...) Loading... |
211 '../../../../build/isolate.gypi', | 226 '../../../../build/isolate.gypi', |
212 ], | 227 ], |
213 'sources': [ | 228 'sources': [ |
214 'blink_platform_unittests.isolate', | 229 'blink_platform_unittests.isolate', |
215 ], | 230 ], |
216 } | 231 } |
217 ], | 232 ], |
218 }], | 233 }], |
219 ], | 234 ], |
220 } | 235 } |
OLD | NEW |