| OLD | NEW |
| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 8 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
| 9 import("//third_party/WebKit/Source/config.gni") | 9 import("//third_party/WebKit/Source/config.gni") |
| 10 import("//third_party/WebKit/Source/platform/platform.gni") | 10 import("//third_party/WebKit/Source/platform/platform.gni") |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 sources += [ "exported/linux/WebFontRenderStyle.cpp" ] | 39 sources += [ "exported/linux/WebFontRenderStyle.cpp" ] |
| 40 } | 40 } |
| 41 | 41 |
| 42 defines = [ | 42 defines = [ |
| 43 "BLINK_COMMON_IMPLEMENTATION=1", | 43 "BLINK_COMMON_IMPLEMENTATION=1", |
| 44 "INSIDE_BLINK", | 44 "INSIDE_BLINK", |
| 45 ] | 45 ] |
| 46 | 46 |
| 47 configs += [ | 47 configs += [ |
| 48 "//build/config/compiler:wexit_time_destructors", | 48 "//build/config/compiler:wexit_time_destructors", |
| 49 "//third_party/WebKit/Source:blink_pch", |
| 49 "//third_party/WebKit/Source:config", | 50 "//third_party/WebKit/Source:config", |
| 50 "//third_party/WebKit/Source:non_test_config", | 51 "//third_party/WebKit/Source:non_test_config", |
| 51 ] | 52 ] |
| 52 | 53 |
| 53 deps = [ | 54 deps = [ |
| 54 "//base", | 55 "//base", |
| 55 "//third_party/WebKit/Source/wtf", | 56 "//third_party/WebKit/Source/wtf", |
| 56 "//url", | 57 "//url", |
| 57 ] | 58 ] |
| 58 | 59 |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 get_target_outputs(":font_family_names") + | 322 get_target_outputs(":font_family_names") + |
| 322 get_target_outputs(":http_names") + | 323 get_target_outputs(":http_names") + |
| 323 get_target_outputs(":inspector_debugger_script") + | 324 get_target_outputs(":inspector_debugger_script") + |
| 324 get_target_outputs(":inspector_injected_script") + | 325 get_target_outputs(":inspector_injected_script") + |
| 325 get_target_outputs(":inspector_protocol_sources") + | 326 get_target_outputs(":inspector_protocol_sources") + |
| 326 get_target_outputs(":runtime_enabled_features") | 327 get_target_outputs(":runtime_enabled_features") |
| 327 | 328 |
| 328 configs += [ | 329 configs += [ |
| 329 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 330 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 330 "//build/config/compiler:no_size_t_to_int_warning", | 331 "//build/config/compiler:no_size_t_to_int_warning", |
| 332 "//third_party/WebKit/Source:blink_pch", |
| 331 "//third_party/WebKit/Source:config", | 333 "//third_party/WebKit/Source:config", |
| 332 "//third_party/WebKit/Source:non_test_config", | 334 "//third_party/WebKit/Source:non_test_config", |
| 333 ] | 335 ] |
| 334 | 336 |
| 335 defines = [ | 337 defines = [ |
| 336 "BLINK_PLATFORM_IMPLEMENTATION=1", | 338 "BLINK_PLATFORM_IMPLEMENTATION=1", |
| 337 "INSIDE_BLINK", | 339 "INSIDE_BLINK", |
| 338 ] | 340 ] |
| 339 | 341 |
| 340 include_dirs = [ | 342 include_dirs = [ |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 configs += [ "//build/config/compiler:no_symbols" ] | 473 configs += [ "//build/config/compiler:no_symbols" ] |
| 472 } | 474 } |
| 473 } | 475 } |
| 474 | 476 |
| 475 source_set("test_support") { | 477 source_set("test_support") { |
| 476 sources = platform_test_support_files | 478 sources = platform_test_support_files |
| 477 visibility += [ "//third_party/WebKit/*" ] | 479 visibility += [ "//third_party/WebKit/*" ] |
| 478 testonly = true | 480 testonly = true |
| 479 | 481 |
| 480 configs += [ | 482 configs += [ |
| 483 "//third_party/WebKit/Source:blink_pch", |
| 481 "//third_party/WebKit/Source:config", | 484 "//third_party/WebKit/Source:config", |
| 482 "//third_party/WebKit/Source:inside_blink", | 485 "//third_party/WebKit/Source:inside_blink", |
| 483 "//third_party/WebKit/Source:non_test_config", | 486 "//third_party/WebKit/Source:non_test_config", |
| 484 ] | 487 ] |
| 485 | 488 |
| 486 public_deps = [ | 489 public_deps = [ |
| 487 ":platform", | 490 ":platform", |
| 488 "//cc", | 491 "//cc", |
| 489 "//cc:test_support", | 492 "//cc:test_support", |
| 490 "//cc/blink", | 493 "//cc/blink", |
| (...skipping 15 matching lines...) Expand all Loading... |
| 506 # GYP: blink_heap_unittests | 509 # GYP: blink_heap_unittests |
| 507 test("blink_heap_unittests") { | 510 test("blink_heap_unittests") { |
| 508 visibility = [] # Allow re-assignment of list. | 511 visibility = [] # Allow re-assignment of list. |
| 509 visibility = [ "*" ] | 512 visibility = [ "*" ] |
| 510 | 513 |
| 511 sources = rebase_path(heap_gypi.platform_heap_test_files, ".", "heap") | 514 sources = rebase_path(heap_gypi.platform_heap_test_files, ".", "heap") |
| 512 sources += [ "heap/RunAllTests.cpp" ] | 515 sources += [ "heap/RunAllTests.cpp" ] |
| 513 | 516 |
| 514 configs += [ | 517 configs += [ |
| 515 "//third_party/WebKit/Source/wtf:wtf_config", | 518 "//third_party/WebKit/Source/wtf:wtf_config", |
| 519 "//third_party/WebKit/Source:blink_pch", |
| 516 "//third_party/WebKit/Source:config", | 520 "//third_party/WebKit/Source:config", |
| 517 ] | 521 ] |
| 518 | 522 |
| 519 defines = [ "INSIDE_BLINK" ] | 523 defines = [ "INSIDE_BLINK" ] |
| 520 | 524 |
| 521 deps = [ | 525 deps = [ |
| 522 ":platform", | 526 ":platform", |
| 523 ":test_support", | 527 ":test_support", |
| 524 "//base", | 528 "//base", |
| 525 "//base/test:test_support", | 529 "//base/test:test_support", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 556 } | 560 } |
| 557 | 561 |
| 558 if (use_default_render_theme) { | 562 if (use_default_render_theme) { |
| 559 sources += [ "scroll/ScrollbarThemeAuraTest.cpp" ] | 563 sources += [ "scroll/ScrollbarThemeAuraTest.cpp" ] |
| 560 } | 564 } |
| 561 | 565 |
| 562 sources += [ "testing/RunAllTests.cpp" ] | 566 sources += [ "testing/RunAllTests.cpp" ] |
| 563 | 567 |
| 564 configs += [ | 568 configs += [ |
| 565 "//third_party/WebKit/Source/wtf:wtf_config", | 569 "//third_party/WebKit/Source/wtf:wtf_config", |
| 570 "//third_party/WebKit/Source:blink_pch", |
| 566 "//third_party/WebKit/Source:config", | 571 "//third_party/WebKit/Source:config", |
| 567 ] | 572 ] |
| 568 | 573 |
| 569 deps = [ | 574 deps = [ |
| 570 ":blink_common", | 575 ":blink_common", |
| 571 ":platform", | 576 ":platform", |
| 572 ":test_support", | 577 ":test_support", |
| 573 "//base", | 578 "//base", |
| 574 "//base/test:test_support", | 579 "//base/test:test_support", |
| 575 "//cc", | 580 "//cc", |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 630 } | 635 } |
| 631 | 636 |
| 632 if (current_cpu == "x86" || current_cpu == "x64") { | 637 if (current_cpu == "x86" || current_cpu == "x64") { |
| 633 source_set("blink_x86_sse") { | 638 source_set("blink_x86_sse") { |
| 634 sources = blink_platform_sse_files | 639 sources = blink_platform_sse_files |
| 635 deps = [ | 640 deps = [ |
| 636 ":blink_common", | 641 ":blink_common", |
| 637 ] | 642 ] |
| 638 } | 643 } |
| 639 } | 644 } |
| OLD | NEW |