Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Side by Side Diff: third_party/WebKit/Source/platform/blink_platform_tests.gyp

Issue 1538803002: Migrates battery_status from content/renderer/ to WebKit/platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 }], 115 }],
116 ], 116 ],
117 }, 117 },
118 { 118 {
119 'target_name': 'blink_platform_test_support', 119 'target_name': 'blink_platform_test_support',
120 'type': 'static_library', 120 'type': 'static_library',
121 'dependencies': [ 121 'dependencies': [
122 '../config.gyp:config', 122 '../config.gyp:config',
123 '../wtf/wtf.gyp:wtf', 123 '../wtf/wtf.gyp:wtf',
124 'blink_platform.gyp:blink_platform', 124 'blink_platform.gyp:blink_platform',
125 '<(DEPTH)/device/battery/battery.gyp:device_battery_mojo_bindings',
126 '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
127 '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_common_test_support',
128 '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_system_impl',
129 '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
125 ], 130 ],
126 'defines': [ 131 'defines': [
127 'INSIDE_BLINK', 132 'INSIDE_BLINK',
128 ], 133 ],
129 'include_dirs': [ 134 'include_dirs': [
130 '<(SHARED_INTERMEDIATE_DIR)/blink', 135 '<(SHARED_INTERMEDIATE_DIR)/blink',
131 ], 136 ],
132 'sources': [ 137 'sources': [
133 '<@(platform_test_support_files)', 138 '<@(platform_test_support_files)',
134 ], 139 ],
135 # Disable c4267 warnings until we fix size_t to int truncations. 140 # Disable c4267 warnings until we fix size_t to int truncations.
136 'msvs_disabled_warnings': [ 4267 ], 141 'msvs_disabled_warnings': [ 4267 ],
142 'conditions': [
143 ['OS == "android"', {
144 'dependencies': [
145 '<(DEPTH)/device/battery/battery.gyp:device_battery_java',
146 ],
147 }, { # OS != "android"
148 'dependencies': [
149 '<(DEPTH)/device/battery/battery.gyp:device_battery',
150 ],
151 }],
152 ],
137 }, 153 },
138 ], 154 ],
139 'conditions': [ 155 'conditions': [
140 ['OS=="android" and gtest_target_type == "shared_library"', { 156 ['OS=="android" and gtest_target_type == "shared_library"', {
141 'targets': [{ 157 'targets': [{
142 'target_name': 'blink_heap_unittests_apk', 158 'target_name': 'blink_heap_unittests_apk',
143 'type': 'none', 159 'type': 'none',
144 'dependencies': [ 160 'dependencies': [
145 '<(DEPTH)/base/base.gyp:base_java', 161 '<(DEPTH)/base/base.gyp:base_java',
146 '<(DEPTH)/net/net.gyp:net_java', 162 '<(DEPTH)/net/net.gyp:net_java',
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 '../../../../build/isolate.gypi', 238 '../../../../build/isolate.gypi',
223 ], 239 ],
224 'sources': [ 240 'sources': [
225 'blink_platform_unittests.isolate', 241 'blink_platform_unittests.isolate',
226 ], 242 ],
227 } 243 }
228 ], 244 ],
229 }], 245 }],
230 ], 246 ],
231 } 247 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698