| 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/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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 "//third_party/WebKit/Source:config", | 321 "//third_party/WebKit/Source:config", |
| 322 "//third_party/WebKit/Source:inside_blink", | 322 "//third_party/WebKit/Source:inside_blink", |
| 323 "//third_party/WebKit/Source:non_test_config", | 323 "//third_party/WebKit/Source:non_test_config", |
| 324 ] | 324 ] |
| 325 | 325 |
| 326 deps = [ | 326 deps = [ |
| 327 ":platform", | 327 ":platform", |
| 328 ] | 328 ] |
| 329 } | 329 } |
| 330 | 330 |
| 331 # GYP: blink_heap_unittests |
| 331 test("heap_unittests") { | 332 test("heap_unittests") { |
| 332 visibility = [] # Allow re-assignment of list. | 333 visibility = [] # Allow re-assignment of list. |
| 333 visibility = [ "*" ] | 334 visibility = [ "*" ] |
| 334 output_name = "blink_heap_unittests" | 335 output_name = "blink_heap_unittests" |
| 335 | 336 |
| 336 sources = rebase_path(heap_gypi.platform_heap_test_files, ".", "heap") | 337 sources = rebase_path(heap_gypi.platform_heap_test_files, ".", "heap") |
| 337 sources += [ "heap/RunAllTests.cpp" ] | 338 sources += [ "heap/RunAllTests.cpp" ] |
| 338 | 339 |
| 339 configs += [ | 340 configs += [ |
| 340 "//third_party/WebKit/Source/wtf:wtf_config", | 341 "//third_party/WebKit/Source/wtf:wtf_config", |
| 341 "//third_party/WebKit/Source:config", | 342 "//third_party/WebKit/Source:config", |
| 342 ] | 343 ] |
| 343 | 344 |
| 344 defines = [ "INSIDE_BLINK" ] | 345 defines = [ "INSIDE_BLINK" ] |
| 345 | 346 |
| 346 deps = [ | 347 deps = [ |
| 347 ":platform", | 348 ":platform", |
| 348 "//base", | 349 "//base", |
| 349 "//base/allocator", | 350 "//base/allocator", |
| 350 "//base/test:test_support", | 351 "//base/test:test_support", |
| 351 "//testing/gmock", | 352 "//testing/gmock", |
| 352 "//testing/gtest", | 353 "//testing/gtest", |
| 353 "//third_party/WebKit/Source/wtf", | 354 "//third_party/WebKit/Source/wtf", |
| 354 "//third_party/WebKit/Source/wtf:test_support", | 355 "//third_party/WebKit/Source/wtf:test_support", |
| 355 "//content/test:test_support", | 356 "//content/test:test_support", |
| 356 ] | 357 ] |
| 358 if (is_android) { |
| 359 apk_deps = [ |
| 360 "//base:base_java", |
| 361 "//content/shell/android:copy_content_shell_assets", |
| 362 "//net/android:net_java", |
| 363 ] |
| 364 apk_asset_location = "$root_build_dir/content_shell/assets" |
| 365 } |
| 357 } | 366 } |
| 358 | 367 |
| 359 test("platform_unittests") { | 368 test("platform_unittests") { |
| 360 visibility = [] # Allow re-assignment of list. | 369 visibility = [] # Allow re-assignment of list. |
| 361 visibility = [ "*" ] | 370 visibility = [ "*" ] |
| 362 output_name = "blink_platform_unittests" | 371 output_name = "blink_platform_unittests" |
| 363 | 372 |
| 364 sources = platform_test_files | 373 sources = platform_test_files |
| 365 | 374 |
| 366 if (is_win) { | 375 if (is_win) { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 } | 430 } |
| 422 | 431 |
| 423 if (current_cpu == "x86" || current_cpu == "x64") { | 432 if (current_cpu == "x86" || current_cpu == "x64") { |
| 424 source_set("blink_x86_sse") { | 433 source_set("blink_x86_sse") { |
| 425 sources = blink_platform_sse_files | 434 sources = blink_platform_sse_files |
| 426 deps = [ | 435 deps = [ |
| 427 ":blink_common", | 436 ":blink_common", |
| 428 ] | 437 ] |
| 429 } | 438 } |
| 430 } | 439 } |
| OLD | NEW |