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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 }], | 119 }], |
120 ], | 120 ], |
121 }, | 121 }, |
122 { | 122 { |
123 'target_name': 'blink_platform_test_support', | 123 'target_name': 'blink_platform_test_support', |
124 'type': 'static_library', | 124 'type': 'static_library', |
125 'dependencies': [ | 125 'dependencies': [ |
126 '../config.gyp:config', | 126 '../config.gyp:config', |
127 '../wtf/wtf.gyp:wtf', | 127 '../wtf/wtf.gyp:wtf', |
128 'blink_platform.gyp:blink_platform', | 128 'blink_platform.gyp:blink_platform', |
| 129 '<(DEPTH)/device/battery/battery.gyp:device_battery_mojo_bindings', |
| 130 '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium', |
| 131 '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_common_test_support', |
| 132 '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_system_impl', |
| 133 '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
129 ], | 134 ], |
130 'defines': [ | 135 'defines': [ |
131 'INSIDE_BLINK', | 136 'INSIDE_BLINK', |
132 ], | 137 ], |
133 'include_dirs': [ | 138 'include_dirs': [ |
134 '<(SHARED_INTERMEDIATE_DIR)/blink', | 139 '<(SHARED_INTERMEDIATE_DIR)/blink', |
135 ], | 140 ], |
136 'sources': [ | 141 'sources': [ |
137 '<@(platform_test_support_files)', | 142 '<@(platform_test_support_files)', |
138 ], | 143 ], |
139 # Disable c4267 warnings until we fix size_t to int truncations. | 144 # Disable c4267 warnings until we fix size_t to int truncations. |
140 'msvs_disabled_warnings': [ 4267 ], | 145 'msvs_disabled_warnings': [ 4267 ], |
| 146 'conditions': [ |
| 147 ['OS == "android"', { |
| 148 'dependencies': [ |
| 149 '<(DEPTH)/device/battery/battery.gyp:device_battery_java', |
| 150 ], |
| 151 }, { # OS != "android" |
| 152 'dependencies': [ |
| 153 '<(DEPTH)/device/battery/battery.gyp:device_battery', |
| 154 ], |
| 155 }], |
| 156 ], |
141 }, | 157 }, |
142 ], | 158 ], |
143 'conditions': [ | 159 'conditions': [ |
144 ['OS=="android" and gtest_target_type == "shared_library"', { | 160 ['OS=="android" and gtest_target_type == "shared_library"', { |
145 'targets': [{ | 161 'targets': [{ |
146 'target_name': 'blink_heap_unittests_apk', | 162 'target_name': 'blink_heap_unittests_apk', |
147 'type': 'none', | 163 'type': 'none', |
148 'dependencies': [ | 164 'dependencies': [ |
149 '<(DEPTH)/base/base.gyp:base_java', | 165 '<(DEPTH)/base/base.gyp:base_java', |
150 '<(DEPTH)/net/net.gyp:net_java', | 166 '<(DEPTH)/net/net.gyp:net_java', |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 '../../../../build/isolate.gypi', | 242 '../../../../build/isolate.gypi', |
227 ], | 243 ], |
228 'sources': [ | 244 'sources': [ |
229 'blink_platform_unittests.isolate', | 245 'blink_platform_unittests.isolate', |
230 ], | 246 ], |
231 } | 247 } |
232 ], | 248 ], |
233 }], | 249 }], |
234 ], | 250 ], |
235 } | 251 } |
OLD | NEW |