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

Side by Side Diff: third_party/WebKit/Source/platform/BUILD.gn

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 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//third_party/WebKit/Source/build/scripts/scripts.gni") 7 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
8 import("//third_party/WebKit/Source/config.gni") 8 import("//third_party/WebKit/Source/config.gni")
9 import("//third_party/WebKit/Source/platform/platform.gni") 9 import("//third_party/WebKit/Source/platform/platform.gni")
10 import("//third_party/WebKit/Source/platform/platform_generated.gni") 10 import("//third_party/WebKit/Source/platform/platform_generated.gni")
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 "//third_party/iccjpeg", 232 "//third_party/iccjpeg",
233 "//third_party/libpng", 233 "//third_party/libpng",
234 "//third_party/libwebp", 234 "//third_party/libwebp",
235 "//third_party/ots", 235 "//third_party/ots",
236 "//third_party/qcms", 236 "//third_party/qcms",
237 "//url", 237 "//url",
238 "//v8", 238 "//v8",
239 ] 239 ]
240 deps = [ 240 deps = [
241 ":make_platform_generated", 241 ":make_platform_generated",
242 "//device/battery:mojo_bindings",
243 "//mojo/public/c/system:for_component",
242 "//third_party/WebKit/Source/platform/heap", 244 "//third_party/WebKit/Source/platform/heap",
243 "//third_party/harfbuzz-ng", 245 "//third_party/harfbuzz-ng",
244 "//third_party/icu", 246 "//third_party/icu",
245 "//ui/gfx", 247 "//ui/gfx",
246 "//ui/gfx/geometry", 248 "//ui/gfx/geometry",
247 ] 249 ]
248 250
249 if (is_mac) { 251 if (is_mac) {
250 sources -= [ 252 sources -= [
251 # Uses KillRingMac.mm instead. 253 # Uses KillRingMac.mm instead.
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 visibility += [ "//third_party/WebKit/*" ] 347 visibility += [ "//third_party/WebKit/*" ]
346 348
347 configs += [ 349 configs += [
348 "//third_party/WebKit/Source:config", 350 "//third_party/WebKit/Source:config",
349 "//third_party/WebKit/Source:inside_blink", 351 "//third_party/WebKit/Source:inside_blink",
350 "//third_party/WebKit/Source:non_test_config", 352 "//third_party/WebKit/Source:non_test_config",
351 ] 353 ]
352 354
353 deps = [ 355 deps = [
354 ":platform", 356 ":platform",
357 "//device/battery",
358 "//device/battery:mojo_bindings",
359 "//third_party/mojo/src/mojo/edk/system",
355 ] 360 ]
361 if (is_android) {
362 deps -= [ "//device/battery" ]
363 }
356 364
357 if (is_win) { 365 if (is_win) {
358 cflags = [ "/wd4267" ] # Truncation from size_t to int. 366 cflags = [ "/wd4267" ] # Truncation from size_t to int.
359 } 367 }
360 } 368 }
361 369
362 # GYP: blink_heap_unittests 370 # GYP: blink_heap_unittests
363 test("blink_heap_unittests") { 371 test("blink_heap_unittests") {
364 visibility = [] # Allow re-assignment of list. 372 visibility = [] # Allow re-assignment of list.
365 visibility = [ "*" ] 373 visibility = [ "*" ]
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 "//base/test:test_support", 434 "//base/test:test_support",
427 "//cc", 435 "//cc",
428 "//cc:test_support", 436 "//cc:test_support",
429 "//cc/blink", 437 "//cc/blink",
430 "//skia", 438 "//skia",
431 "//testing/gmock", 439 "//testing/gmock",
432 "//testing/gtest", 440 "//testing/gtest",
433 "//third_party/WebKit/Source/wtf", 441 "//third_party/WebKit/Source/wtf",
434 "//third_party/WebKit/Source/wtf:test_support", 442 "//third_party/WebKit/Source/wtf:test_support",
435 "//third_party/harfbuzz-ng", 443 "//third_party/harfbuzz-ng",
444 "//third_party/mojo/src/mojo/edk/embedder:headers",
445 "//third_party/mojo/src/mojo/edk/test:test_support",
436 "//ui/gfx", 446 "//ui/gfx",
437 "//ui/gfx/geometry", 447 "//ui/gfx/geometry",
438 "//url", 448 "//url",
439 ] 449 ]
440 450
441 defines = [ "INSIDE_BLINK" ] 451 defines = [ "INSIDE_BLINK" ]
442 452
443 include_dirs = [ "$root_gen_dir/blink" ] 453 include_dirs = [ "$root_gen_dir/blink" ]
444 } 454 }
445 455
(...skipping 19 matching lines...) Expand all
465 } 475 }
466 476
467 if (current_cpu == "x86" || current_cpu == "x64") { 477 if (current_cpu == "x86" || current_cpu == "x64") {
468 source_set("blink_x86_sse") { 478 source_set("blink_x86_sse") {
469 sources = blink_platform_sse_files 479 sources = blink_platform_sse_files
470 deps = [ 480 deps = [
471 ":blink_common", 481 ":blink_common",
472 ] 482 ]
473 } 483 }
474 } 484 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698