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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 deps = [ | 329 deps = [ |
330 ":platform", | 330 ":platform", |
331 ] | 331 ] |
332 | 332 |
333 if (is_win) { | 333 if (is_win) { |
334 cflags = [ "/wd4267" ] # Truncation from size_t to int. | 334 cflags = [ "/wd4267" ] # Truncation from size_t to int. |
335 } | 335 } |
336 } | 336 } |
337 | 337 |
338 # GYP: blink_heap_unittests | 338 # GYP: blink_heap_unittests |
339 test("heap_unittests") { | 339 test("blink_heap_unittests") { |
340 visibility = [] # Allow re-assignment of list. | 340 visibility = [] # Allow re-assignment of list. |
341 visibility = [ "*" ] | 341 visibility = [ "*" ] |
342 output_name = "blink_heap_unittests" | |
343 | 342 |
344 sources = rebase_path(heap_gypi.platform_heap_test_files, ".", "heap") | 343 sources = rebase_path(heap_gypi.platform_heap_test_files, ".", "heap") |
345 sources += [ "heap/RunAllTests.cpp" ] | 344 sources += [ "heap/RunAllTests.cpp" ] |
346 | 345 |
347 configs += [ | 346 configs += [ |
348 "//third_party/WebKit/Source/wtf:wtf_config", | 347 "//third_party/WebKit/Source/wtf:wtf_config", |
349 "//third_party/WebKit/Source:config", | 348 "//third_party/WebKit/Source:config", |
350 ] | 349 ] |
351 | 350 |
352 defines = [ "INSIDE_BLINK" ] | 351 defines = [ "INSIDE_BLINK" ] |
(...skipping 11 matching lines...) Expand all Loading... |
364 ] | 363 ] |
365 if (is_android) { | 364 if (is_android) { |
366 deps += [ | 365 deps += [ |
367 "//base:base_java", | 366 "//base:base_java", |
368 "//content/shell/android:content_shell_assets", | 367 "//content/shell/android:content_shell_assets", |
369 "//net/android:net_java", | 368 "//net/android:net_java", |
370 ] | 369 ] |
371 } | 370 } |
372 } | 371 } |
373 | 372 |
374 test("platform_unittests") { | 373 test("blink_platform_unittests") { |
375 visibility = [] # Allow re-assignment of list. | 374 visibility = [] # Allow re-assignment of list. |
376 visibility = [ "*" ] | 375 visibility = [ "*" ] |
377 output_name = "blink_platform_unittests" | |
378 | 376 |
379 sources = platform_test_files | 377 sources = platform_test_files |
380 | 378 |
381 if (is_win) { | 379 if (is_win) { |
382 sources += [ "text/LocaleWinTest.cpp" ] | 380 sources += [ "text/LocaleWinTest.cpp" ] |
383 } else if (is_mac) { | 381 } else if (is_mac) { |
384 sources += [ "text/LocaleMacTest.cpp" ] | 382 sources += [ "text/LocaleMacTest.cpp" ] |
385 } else if (is_posix) { | 383 } else if (is_posix) { |
386 sources += [ "text/LocaleICUTest.cpp" ] | 384 sources += [ "text/LocaleICUTest.cpp" ] |
387 } | 385 } |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 } | 439 } |
442 | 440 |
443 if (current_cpu == "x86" || current_cpu == "x64") { | 441 if (current_cpu == "x86" || current_cpu == "x64") { |
444 source_set("blink_x86_sse") { | 442 source_set("blink_x86_sse") { |
445 sources = blink_platform_sse_files | 443 sources = blink_platform_sse_files |
446 deps = [ | 444 deps = [ |
447 ":blink_common", | 445 ":blink_common", |
448 ] | 446 ] |
449 } | 447 } |
450 } | 448 } |
OLD | NEW |