| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 "//third_party/iccjpeg", | 197 "//third_party/iccjpeg", |
| 198 "//third_party/libpng", | 198 "//third_party/libpng", |
| 199 "//third_party/libwebp", | 199 "//third_party/libwebp", |
| 200 "//third_party/ots", | 200 "//third_party/ots", |
| 201 "//third_party/qcms", | 201 "//third_party/qcms", |
| 202 "//url", | 202 "//url", |
| 203 "//v8", | 203 "//v8", |
| 204 ] | 204 ] |
| 205 deps = [ | 205 deps = [ |
| 206 ":make_platform_generated", | 206 ":make_platform_generated", |
| 207 "//device/battery:mojo_bindings", |
| 208 "//mojo/public/c/system:for_component", |
| 207 "//third_party/WebKit/Source/platform/heap", | 209 "//third_party/WebKit/Source/platform/heap", |
| 208 "//third_party/harfbuzz-ng", | 210 "//third_party/harfbuzz-ng", |
| 209 "//third_party/icu", | 211 "//third_party/icu", |
| 210 "//ui/gfx", | 212 "//ui/gfx", |
| 211 "//ui/gfx/geometry", | 213 "//ui/gfx/geometry", |
| 212 ] | 214 ] |
| 213 | 215 |
| 214 if (is_mac) { | 216 if (is_mac) { |
| 215 sources -= [ | 217 sources -= [ |
| 216 # Uses KillRingMac.mm instead. | 218 # Uses KillRingMac.mm instead. |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 visibility += [ "//third_party/WebKit/*" ] | 312 visibility += [ "//third_party/WebKit/*" ] |
| 311 | 313 |
| 312 configs += [ | 314 configs += [ |
| 313 "//third_party/WebKit/Source:config", | 315 "//third_party/WebKit/Source:config", |
| 314 "//third_party/WebKit/Source:inside_blink", | 316 "//third_party/WebKit/Source:inside_blink", |
| 315 "//third_party/WebKit/Source:non_test_config", | 317 "//third_party/WebKit/Source:non_test_config", |
| 316 ] | 318 ] |
| 317 | 319 |
| 318 deps = [ | 320 deps = [ |
| 319 ":platform", | 321 ":platform", |
| 322 "//device/battery", |
| 323 "//device/battery:mojo_bindings", |
| 324 "//mojo/public/c/system:for_component", |
| 320 ] | 325 ] |
| 321 | 326 |
| 327 if (is_android) { |
| 328 deps -= [ "//device/battery" ] |
| 329 } |
| 330 |
| 322 if (is_win) { | 331 if (is_win) { |
| 323 cflags = [ "/wd4267" ] # Truncation from size_t to int. | 332 cflags = [ "/wd4267" ] # Truncation from size_t to int. |
| 324 } | 333 } |
| 325 } | 334 } |
| 326 | 335 |
| 327 # TODO(GYP): Delete this after we've converted everything to GN. | 336 # TODO(GYP): Delete this after we've converted everything to GN. |
| 328 # The _run targets exist only for compatibility w/ GYP. | 337 # The _run targets exist only for compatibility w/ GYP. |
| 329 group("blink_heap_unittests_run") { | 338 group("blink_heap_unittests_run") { |
| 330 testonly = true | 339 testonly = true |
| 331 deps = [ | 340 deps = [ |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 "//base/test:test_support", | 420 "//base/test:test_support", |
| 412 "//cc", | 421 "//cc", |
| 413 "//cc:test_support", | 422 "//cc:test_support", |
| 414 "//cc/blink", | 423 "//cc/blink", |
| 415 "//skia", | 424 "//skia", |
| 416 "//testing/gmock", | 425 "//testing/gmock", |
| 417 "//testing/gtest", | 426 "//testing/gtest", |
| 418 "//third_party/WebKit/Source/wtf", | 427 "//third_party/WebKit/Source/wtf", |
| 419 "//third_party/WebKit/Source/wtf:test_support", | 428 "//third_party/WebKit/Source/wtf:test_support", |
| 420 "//third_party/harfbuzz-ng", | 429 "//third_party/harfbuzz-ng", |
| 430 "//third_party/mojo/src/mojo/edk/system", |
| 431 "//third_party/mojo/src/mojo/edk/test:test_support", |
| 421 "//ui/gfx", | 432 "//ui/gfx", |
| 422 "//ui/gfx/geometry", | 433 "//ui/gfx/geometry", |
| 423 "//url", | 434 "//url", |
| 424 ] | 435 ] |
| 425 | 436 |
| 426 defines = [ "INSIDE_BLINK" ] | 437 defines = [ "INSIDE_BLINK" ] |
| 427 | 438 |
| 428 include_dirs = [ "$root_gen_dir/blink" ] | 439 include_dirs = [ "$root_gen_dir/blink" ] |
| 429 } | 440 } |
| 430 | 441 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 450 } | 461 } |
| 451 | 462 |
| 452 if (current_cpu == "x86" || current_cpu == "x64") { | 463 if (current_cpu == "x86" || current_cpu == "x64") { |
| 453 source_set("blink_x86_sse") { | 464 source_set("blink_x86_sse") { |
| 454 sources = blink_platform_sse_files | 465 sources = blink_platform_sse_files |
| 455 deps = [ | 466 deps = [ |
| 456 ":blink_common", | 467 ":blink_common", |
| 457 ] | 468 ] |
| 458 } | 469 } |
| 459 } | 470 } |
| OLD | NEW |