| 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") |
| 7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//build/module_args/v8.gni") | 9 import("//build/module_args/v8.gni") |
| 10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 "//ui/resources", | 368 "//ui/resources", |
| 369 "//ui/shell_dialogs", | 369 "//ui/shell_dialogs", |
| 370 "//ui/snapshot", | 370 "//ui/snapshot", |
| 371 ] | 371 ] |
| 372 | 372 |
| 373 data_deps = [ | 373 data_deps = [ |
| 374 "//ppapi:ppapi_tests", | 374 "//ppapi:ppapi_tests", |
| 375 "//third_party/mesa:osmesa", | 375 "//third_party/mesa:osmesa", |
| 376 ] | 376 ] |
| 377 | 377 |
| 378 if (!is_chromeos) { | |
| 379 sources -= | |
| 380 [ "../browser/web_contents/touch_editable_impl_aura_browsertest.cc" ] | |
| 381 } | |
| 382 | |
| 383 if (is_win) { | 378 if (is_win) { |
| 384 sources += rebase_path( | 379 sources += rebase_path( |
| 385 content_tests_gypi_values.content_browsertests_win_sources, | 380 content_tests_gypi_values.content_browsertests_win_sources, |
| 386 ".", | 381 ".", |
| 387 "//content") | 382 "//content") |
| 388 | 383 |
| 389 deps += [ | 384 deps += [ |
| 390 "//content/app/strings", | 385 "//content/app/strings", |
| 391 "//net:net_resources", | 386 "//net:net_resources", |
| 392 "//third_party/WebKit/public:resources", | 387 "//third_party/WebKit/public:resources", |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 "//content") | 453 "//content") |
| 459 } | 454 } |
| 460 | 455 |
| 461 if (!is_chrome_branded) { | 456 if (!is_chrome_branded) { |
| 462 sources += rebase_path( | 457 sources += rebase_path( |
| 463 content_tests_gypi_values.content_browsertests_unofficial_build_so
urces, | 458 content_tests_gypi_values.content_browsertests_unofficial_build_so
urces, |
| 464 ".", | 459 ".", |
| 465 "//content") | 460 "//content") |
| 466 } | 461 } |
| 467 | 462 |
| 468 if (!use_aura) { | 463 if (use_aura) { |
| 469 sources -= | 464 deps += [ |
| 470 [ "../browser/web_contents/web_contents_view_aura_browsertest.cc" ] | 465 "//ui/touch_selection:test_support", |
| 466 "//ui/touch_selection:touch_selection", |
| 467 ] |
| 468 } else { |
| 469 sources -= [ |
| 470 "../browser/renderer_host/input/touch_selection_controller_client_aura_b
rowsertest.cc", |
| 471 "../browser/web_contents/web_contents_view_aura_browsertest.cc", |
| 472 ] |
| 471 } | 473 } |
| 472 } | 474 } |
| 473 } | 475 } |
| 474 | 476 |
| 475 # TODO(GYP): Delete this after we've converted everything to GN. | 477 # TODO(GYP): Delete this after we've converted everything to GN. |
| 476 # The _run targets exist only for compatibility w/ GYP. | 478 # The _run targets exist only for compatibility w/ GYP. |
| 477 group("content_unittests_run") { | 479 group("content_unittests_run") { |
| 478 testonly = true | 480 testonly = true |
| 479 deps = [ | 481 deps = [ |
| 480 ":content_unittests", | 482 ":content_unittests", |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 "//testing/gtest", | 780 "//testing/gtest", |
| 779 "//third_party/WebKit/public:blink", | 781 "//third_party/WebKit/public:blink", |
| 780 "//ui/base", | 782 "//ui/base", |
| 781 "//ui/gfx", | 783 "//ui/gfx", |
| 782 "//ui/gfx/geometry", | 784 "//ui/gfx/geometry", |
| 783 "//ui/gl", | 785 "//ui/gl", |
| 784 "//ui/gl:test_support", | 786 "//ui/gl:test_support", |
| 785 ] | 787 ] |
| 786 } | 788 } |
| 787 } | 789 } |
| OLD | NEW |