Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(708)

Side by Side Diff: content/test/BUILD.gn

Issue 698253004: Reland: Implement Aura side of unified touch text selection for contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test failures Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 "//ui/gfx", 317 "//ui/gfx",
318 "//ui/gfx/geometry", 318 "//ui/gfx/geometry",
319 "//ui/gl", 319 "//ui/gl",
320 "//ui/resources", 320 "//ui/resources",
321 "//ui/shell_dialogs", 321 "//ui/shell_dialogs",
322 "//ui/snapshot", 322 "//ui/snapshot",
323 ] 323 ]
324 324
325 data_deps = [ "//ppapi:ppapi_tests" ] # Loaded at runtime. 325 data_deps = [ "//ppapi:ppapi_tests" ] # Loaded at runtime.
326 326
327 if (!is_chromeos) {
328 sources -=
329 [ "../browser/web_contents/touch_editable_impl_aura_browsertest.cc" ]
330 }
331
332 if (is_win) { 327 if (is_win) {
333 sources += rebase_path( 328 sources += rebase_path(
334 content_tests_gypi_values.content_browsertests_win_sources, 329 content_tests_gypi_values.content_browsertests_win_sources,
335 ".", 330 ".",
336 "//content") 331 "//content")
337 332
338 deps += [ 333 deps += [
339 "//content/app/strings", 334 "//content/app/strings",
340 "//net:net_resources", 335 "//net:net_resources",
341 "//third_party/WebKit/public:resources", 336 "//third_party/WebKit/public:resources",
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 "//content") 402 "//content")
408 } 403 }
409 404
410 if (!is_chrome_branded) { 405 if (!is_chrome_branded) {
411 sources += rebase_path( 406 sources += rebase_path(
412 content_tests_gypi_values.content_browsertests_unofficial_build_so urces, 407 content_tests_gypi_values.content_browsertests_unofficial_build_so urces,
413 ".", 408 ".",
414 "//content") 409 "//content")
415 } 410 }
416 411
417 if (!use_aura) { 412 if (use_aura) {
418 sources -= 413 deps += [
419 [ "../browser/web_contents/web_contents_view_aura_browsertest.cc" ] 414 "//ui/touch_selection:test_support",
415 "//ui/touch_selection:touch_selection",
416 ]
417 } else {
418 sources -= [
419 "../browser/renderer_host/input/touch_selection_controller_client_aura_b rowsertest.cc",
420 "../browser/web_contents/web_contents_view_aura_browsertest.cc",
421 ]
420 } 422 }
421 } 423 }
422 } 424 }
423 425
424 test("content_unittests") { 426 test("content_unittests") {
425 sources = rebase_path(content_tests_gypi_values.content_unittests_sources, 427 sources = rebase_path(content_tests_gypi_values.content_unittests_sources,
426 ".", 428 ".",
427 "//content") 429 "//content")
428 deps = [ 430 deps = [
429 ":test_support", 431 ":test_support",
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 "//gpu/blink", 697 "//gpu/blink",
696 "//testing/gtest", 698 "//testing/gtest",
697 "//third_party/WebKit/public:blink", 699 "//third_party/WebKit/public:blink",
698 "//ui/base", 700 "//ui/base",
699 "//ui/gfx", 701 "//ui/gfx",
700 "//ui/gfx/geometry", 702 "//ui/gfx/geometry",
701 "//ui/gl", 703 "//ui/gl",
702 ] 704 ]
703 } 705 }
704 } 706 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698