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

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

Issue 1740843002: Revert of 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, 9 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
« no previous file with comments | « third_party/WebKit/Source/modules/modules.gypi ('k') | third_party/WebKit/Source/platform/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 "//third_party/WebKit/Source/wtf", 328 "//third_party/WebKit/Source/wtf",
329 "//third_party/iccjpeg", 329 "//third_party/iccjpeg",
330 "//third_party/libpng", 330 "//third_party/libpng",
331 "//third_party/libwebp", 331 "//third_party/libwebp",
332 "//third_party/ots", 332 "//third_party/ots",
333 "//third_party/qcms", 333 "//third_party/qcms",
334 "//url", 334 "//url",
335 "//v8", 335 "//v8",
336 ] 336 ]
337 deps = [ 337 deps = [
338 "//device/battery:mojo_bindings",
339 "//mojo/public/c/system:for_component",
340 "//third_party/WebKit/Source/platform/heap", 338 "//third_party/WebKit/Source/platform/heap",
341 "//third_party/harfbuzz-ng", 339 "//third_party/harfbuzz-ng",
342 "//third_party/icu", 340 "//third_party/icu",
343 "//ui/gfx", 341 "//ui/gfx",
344 "//ui/gfx/geometry", 342 "//ui/gfx/geometry",
345 ] 343 ]
346 344
347 if (is_mac) { 345 if (is_mac) {
348 sources -= [ 346 sources -= [
349 # Uses KillRingMac.mm instead. 347 # Uses KillRingMac.mm instead.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 "//third_party/WebKit/Source:config", 452 "//third_party/WebKit/Source:config",
455 "//third_party/WebKit/Source:inside_blink", 453 "//third_party/WebKit/Source:inside_blink",
456 "//third_party/WebKit/Source:non_test_config", 454 "//third_party/WebKit/Source:non_test_config",
457 ] 455 ]
458 456
459 public_deps = [ 457 public_deps = [
460 ":platform", 458 ":platform",
461 "//testing/gmock", 459 "//testing/gmock",
462 ] 460 ]
463 461
464 deps = [
465 "//device/battery",
466 "//device/battery:mojo_bindings",
467 "//mojo/edk/system",
468 ]
469 if (is_android) {
470 deps -= [ "//device/battery" ]
471 }
472
473 if (is_win) { 462 if (is_win) {
474 cflags = [ "/wd4267" ] # Truncation from size_t to int. 463 cflags = [ "/wd4267" ] # Truncation from size_t to int.
475 } 464 }
476 } 465 }
477 466
478 # GYP: blink_heap_unittests 467 # GYP: blink_heap_unittests
479 test("blink_heap_unittests") { 468 test("blink_heap_unittests") {
480 visibility = [] # Allow re-assignment of list. 469 visibility = [] # Allow re-assignment of list.
481 visibility = [ "*" ] 470 visibility = [ "*" ]
482 471
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 526
538 deps = [ 527 deps = [
539 ":blink_common", 528 ":blink_common",
540 ":platform", 529 ":platform",
541 ":test_support", 530 ":test_support",
542 "//base", 531 "//base",
543 "//base/test:test_support", 532 "//base/test:test_support",
544 "//cc", 533 "//cc",
545 "//cc:test_support", 534 "//cc:test_support",
546 "//cc/blink", 535 "//cc/blink",
547 "//mojo/edk/embedder:headers",
548 "//mojo/edk/test:test_support",
549 "//skia", 536 "//skia",
550 "//testing/gmock", 537 "//testing/gmock",
551 "//testing/gtest", 538 "//testing/gtest",
552 "//third_party/WebKit/Source/wtf", 539 "//third_party/WebKit/Source/wtf",
553 "//third_party/WebKit/Source/wtf:test_support", 540 "//third_party/WebKit/Source/wtf:test_support",
554 "//third_party/harfbuzz-ng", 541 "//third_party/harfbuzz-ng",
555 "//ui/gfx", 542 "//ui/gfx",
556 "//ui/gfx/geometry", 543 "//ui/gfx/geometry",
557 "//url", 544 "//url",
558 ] 545 ]
(...skipping 25 matching lines...) Expand all
584 } 571 }
585 572
586 if (current_cpu == "x86" || current_cpu == "x64") { 573 if (current_cpu == "x86" || current_cpu == "x64") {
587 source_set("blink_x86_sse") { 574 source_set("blink_x86_sse") {
588 sources = blink_platform_sse_files 575 sources = blink_platform_sse_files
589 deps = [ 576 deps = [
590 ":blink_common", 577 ":blink_common",
591 ] 578 ]
592 } 579 }
593 } 580 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/modules.gypi ('k') | third_party/WebKit/Source/platform/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698