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