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

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: Ready for code review Created 4 years, 10 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 'blink_platform_test_support', 69 'blink_platform_test_support',
70 '../config.gyp:unittest_config', 70 '../config.gyp:unittest_config',
71 '../wtf/wtf.gyp:wtf', 71 '../wtf/wtf.gyp:wtf',
72 '../wtf/wtf_tests.gyp:wtf_unittest_helpers', 72 '../wtf/wtf_tests.gyp:wtf_unittest_helpers',
73 '<(DEPTH)/base/base.gyp:test_support_base', 73 '<(DEPTH)/base/base.gyp:test_support_base',
74 '<(DEPTH)/cc/cc.gyp:cc', 74 '<(DEPTH)/cc/cc.gyp:cc',
75 '<(DEPTH)/cc/cc_tests.gyp:cc_test_support', 75 '<(DEPTH)/cc/cc_tests.gyp:cc_test_support',
76 '<(DEPTH)/cc/blink/cc_blink.gyp:cc_blink', 76 '<(DEPTH)/cc/blink/cc_blink.gyp:cc_blink',
77 '<(DEPTH)/skia/skia.gyp:skia', 77 '<(DEPTH)/skia/skia.gyp:skia',
78 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', 78 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng',
79 '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_common_test_support',
79 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', 80 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
80 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', 81 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
81 '<(DEPTH)/url/url.gyp:url_lib', 82 '<(DEPTH)/url/url.gyp:url_lib',
82 'blink_platform.gyp:blink_common', 83 'blink_platform.gyp:blink_common',
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 ],
88 'include_dirs': [ 89 'include_dirs': [
(...skipping 13 matching lines...) Expand all
102 }], 103 }],
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_platform', 112 'blink_platform.gyp:blink_platform',
113 '<(DEPTH)/device/battery/battery.gyp:device_battery_mojo_bindings',
114 '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
115 '<(DEPTH)/third_party/mojo/mojo_edk.gyp:mojo_system_impl',
112 ], 116 ],
113 'defines': [ 117 'defines': [
114 'INSIDE_BLINK', 118 'INSIDE_BLINK',
115 ], 119 ],
116 'include_dirs': [ 120 'include_dirs': [
117 '<(SHARED_INTERMEDIATE_DIR)/blink', 121 '<(SHARED_INTERMEDIATE_DIR)/blink',
118 ], 122 ],
119 'sources': [ 123 'sources': [
120 '<@(platform_test_support_files)', 124 '<@(platform_test_support_files)',
121 ], 125 ],
122 # Disable c4267 warnings until we fix size_t to int truncations. 126 # Disable c4267 warnings until we fix size_t to int truncations.
123 'msvs_disabled_warnings': [ 4267 ], 127 'msvs_disabled_warnings': [ 4267 ],
128 'conditions': [
129 ['OS == "android"', {
130 'dependencies': [
131 '<(DEPTH)/device/battery/battery.gyp:device_battery_java',
132 ],
133 }, { # OS != "android"
134 'dependencies': [
135 '<(DEPTH)/device/battery/battery.gyp:device_battery',
136 ],
137 }],
138 ],
124 }, 139 },
125 ], 140 ],
126 'conditions': [ 141 'conditions': [
127 ['OS=="android" and gtest_target_type == "shared_library"', { 142 ['OS=="android" and gtest_target_type == "shared_library"', {
128 'targets': [{ 143 'targets': [{
129 'target_name': 'blink_heap_unittests_apk', 144 'target_name': 'blink_heap_unittests_apk',
130 'type': 'none', 145 'type': 'none',
131 'dependencies': [ 146 'dependencies': [
132 '<(DEPTH)/base/base.gyp:base_java', 147 '<(DEPTH)/base/base.gyp:base_java',
133 '<(DEPTH)/net/net.gyp:net_java', 148 '<(DEPTH)/net/net.gyp:net_java',
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 '../../../../build/isolate.gypi', 224 '../../../../build/isolate.gypi',
210 ], 225 ],
211 'sources': [ 226 'sources': [
212 'blink_platform_unittests.isolate', 227 'blink_platform_unittests.isolate',
213 ], 228 ],
214 } 229 }
215 ], 230 ],
216 }], 231 }],
217 ], 232 ],
218 } 233 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698