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

Side by Side Diff: chrome/browser/ui/BUILD.gn

Issue 1529723002: [MacViews] Get unit_tests linking. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mvbb
Patch Set: Sync and rebase Created 5 years 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
« no previous file with comments | « no previous file | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//chrome/common/features.gni") 8 import("//chrome/common/features.gni")
9 9
10 gypi_values = exec_script("//build/gypi_to_gn.py", 10 gypi_values = exec_script("//build/gypi_to_gn.py",
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 "//chrome") 548 "//chrome")
549 } 549 }
550 } 550 }
551 551
552 # In GYP this is part of test_support_common. 552 # In GYP this is part of test_support_common.
553 source_set("test_support") { 553 source_set("test_support") {
554 testonly = true 554 testonly = true
555 555
556 sources = [ 556 sources = [
557 "browser.h", 557 "browser.h",
558 "cocoa/extensions/browser_action_test_util_mac.mm", 558 "cocoa/cocoa_test_helper.h",
559 "cocoa/find_bar/find_bar_host_unittest_util_cocoa.mm", 559 "cocoa/cocoa_test_helper.mm",
560 "cocoa/run_loop_testing.h", 560 "cocoa/run_loop_testing.h",
561 "cocoa/run_loop_testing.mm", 561 "cocoa/run_loop_testing.mm",
562 "exclusive_access/fullscreen_controller_state_test.cc", 562 "exclusive_access/fullscreen_controller_state_test.cc",
563 "exclusive_access/fullscreen_controller_state_test.h", 563 "exclusive_access/fullscreen_controller_state_test.h",
564 "exclusive_access/fullscreen_controller_state_tests.h", 564 "exclusive_access/fullscreen_controller_state_tests.h",
565 "exclusive_access/fullscreen_controller_test.cc", 565 "exclusive_access/fullscreen_controller_test.cc",
566 "exclusive_access/fullscreen_controller_test.h", 566 "exclusive_access/fullscreen_controller_test.h",
567 "find_bar/find_bar_host_unittest_util.h", 567 "find_bar/find_bar_host_unittest_util.h",
568 "login/login_prompt_test_utils.cc", 568 "login/login_prompt_test_utils.cc",
569 "login/login_prompt_test_utils.h", 569 "login/login_prompt_test_utils.h",
(...skipping 10 matching lines...) Expand all
580 "website_settings/mock_permission_bubble_request.cc", 580 "website_settings/mock_permission_bubble_request.cc",
581 "website_settings/mock_permission_bubble_request.h", 581 "website_settings/mock_permission_bubble_request.h",
582 ] 582 ]
583 } 583 }
584 584
585 if (toolkit_views && (!is_mac || mac_views_browser)) { 585 if (toolkit_views && (!is_mac || mac_views_browser)) {
586 sources += [ 586 sources += [
587 "views/find_bar_host_unittest_util_views.cc", 587 "views/find_bar_host_unittest_util_views.cc",
588 "views/toolbar/browser_action_test_util_views.cc", 588 "views/toolbar/browser_action_test_util_views.cc",
589 ] 589 ]
590 } else {
591 sources += [
592 "cocoa/extensions/browser_action_test_util_mac.mm",
593 "cocoa/find_bar/find_bar_host_unittest_util_cocoa.mm",
594 ]
590 } 595 }
591 596
592 if (is_android) { 597 if (is_android) {
593 sources -= [ 598 sources -= [
594 "exclusive_access/fullscreen_controller_state_test.cc", 599 "exclusive_access/fullscreen_controller_state_test.cc",
595 "exclusive_access/fullscreen_controller_state_test.h", 600 "exclusive_access/fullscreen_controller_state_test.h",
596 "exclusive_access/fullscreen_controller_state_tests.h", 601 "exclusive_access/fullscreen_controller_state_tests.h",
597 "exclusive_access/fullscreen_controller_test.cc", 602 "exclusive_access/fullscreen_controller_test.cc",
598 "exclusive_access/fullscreen_controller_test.h", 603 "exclusive_access/fullscreen_controller_test.h",
599 "test/test_confirm_bubble_model.cc", 604 "test/test_confirm_bubble_model.cc",
600 "test/test_confirm_bubble_model.h", 605 "test/test_confirm_bubble_model.h",
601 ] 606 ]
602 } 607 }
603 608
604 public_deps = [ 609 public_deps = [
605 ":ui", 610 ":ui",
606 ] 611 ]
607 deps = [ 612 deps = [
608 "//chrome/app/theme:theme_resources", 613 "//chrome/app/theme:theme_resources",
609 "//chrome/browser", 614 "//chrome/browser",
610 "//content/public/browser", 615 "//content/public/browser",
611 "//content/public/common", 616 "//content/public/common",
612 "//content/test:test_support", 617 "//content/test:test_support",
613 "//net:test_support", 618 "//net:test_support",
614 "//skia", 619 "//skia",
615 "//testing/gtest", 620 "//testing/gtest",
616 "//ui/base", 621 "//ui/base",
617 ] 622 ]
618 } 623 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698