| 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/chromecast_build.gni") | 
| 5 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") | 
| 6 import("//build/config/features.gni") | 7 import("//build/config/features.gni") | 
| 7 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") | 
| 8 import("//build/split_static_library.gni") | 9 import("//build/split_static_library.gni") | 
| 9 import("//chrome/common/features.gni") | 10 import("//chrome/common/features.gni") | 
| 10 import("//media/media_options.gni") | 11 import("//media/media_options.gni") | 
| 11 | 12 | 
| 12 config("ui_warnings") { | 13 config("ui_warnings") { | 
| 13   if (is_clang) { | 14   if (is_clang) { | 
| 14     # TODO(thakis): Remove this once http://crbug.com/383820 is figured out | 15     # TODO(thakis): Remove this once http://crbug.com/383820 is figured out | 
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 444     "//components/sync", | 445     "//components/sync", | 
| 445     "//content/public/browser", | 446     "//content/public/browser", | 
| 446   ] | 447   ] | 
| 447   deps = [ | 448   deps = [ | 
| 448     # NOTE: New dependencies should generally be added in the OS!="ios" | 449     # NOTE: New dependencies should generally be added in the OS!="ios" | 
| 449     # dependencies block below, rather than here. | 450     # dependencies block below, rather than here. | 
| 450     "//base", | 451     "//base", | 
| 451     "//chrome:extra_resources", | 452     "//chrome:extra_resources", | 
| 452     "//chrome:resources", | 453     "//chrome:resources", | 
| 453     "//chrome:strings", | 454     "//chrome:strings", | 
|  | 455     "//chrome/app:chrome_dll_resources", | 
| 454     "//chrome/app:command_ids", | 456     "//chrome/app:command_ids", | 
| 455     "//chrome/app/resources:platform_locale_settings", | 457     "//chrome/app/resources:platform_locale_settings", | 
|  | 458     "//chrome/app/theme:chrome_unscaled_resources", | 
| 456     "//chrome/app/theme:theme_resources", | 459     "//chrome/app/theme:theme_resources", | 
| 457     "//chrome/browser/devtools", | 460     "//chrome/browser/devtools", | 
| 458     "//chrome/browser/ui/webui/engagement:mojo_bindings", | 461     "//chrome/browser/ui/webui/engagement:mojo_bindings", | 
| 459     "//chrome/browser/ui/webui/omnibox:mojo_bindings", | 462     "//chrome/browser/ui/webui/omnibox:mojo_bindings", | 
| 460     "//chrome/browser/ui/webui/plugins:mojo_bindings", | 463     "//chrome/browser/ui/webui/plugins:mojo_bindings", | 
| 461     "//chrome/browser/ui/webui/usb_internals:mojo_bindings", | 464     "//chrome/browser/ui/webui/usb_internals:mojo_bindings", | 
| 462     "//chrome/common", | 465     "//chrome/common", | 
| 463     "//chrome/common/net", | 466     "//chrome/common/net", | 
| 464     "//chrome/installer/util:with_no_strings", | 467     "//chrome/installer/util:with_no_strings", | 
| 465     "//components/app_modal", | 468     "//components/app_modal", | 
| 466     "//components/autofill/content/browser:risk_proto", | 469     "//components/autofill/content/browser:risk_proto", | 
| 467     "//components/autofill/core/browser", | 470     "//components/autofill/core/browser", | 
| 468     "//components/bookmarks/browser", | 471     "//components/bookmarks/browser", | 
| 469     "//components/bookmarks/managed", | 472     "//components/bookmarks/managed", | 
| 470     "//components/browser_sync", | 473     "//components/browser_sync", | 
|  | 474     "//components/browsing_data/content", | 
| 471     "//components/browsing_data/core", | 475     "//components/browsing_data/core", | 
| 472     "//components/bubble:bubble", | 476     "//components/bubble:bubble", | 
| 473     "//components/certificate_reporting:cert_logger_proto", | 477     "//components/certificate_reporting:cert_logger_proto", | 
| 474     "//components/certificate_reporting:encrypted_cert_logger_proto", | 478     "//components/certificate_reporting:encrypted_cert_logger_proto", | 
| 475     "//components/content_settings/content/common", | 479     "//components/content_settings/content/common", | 
| 476     "//components/content_settings/core/browser", | 480     "//components/content_settings/core/browser", | 
| 477     "//components/crash/content/app", | 481     "//components/crash/content/app", | 
| 478     "//components/crash/core/browser", | 482     "//components/crash/core/browser", | 
| 479     "//components/crx_file", | 483     "//components/crx_file", | 
| 480     "//components/data_reduction_proxy/core/browser", | 484     "//components/data_reduction_proxy/core/browser", | 
| (...skipping 19 matching lines...) Expand all  Loading... | 
| 500     "//components/ntp_snippets", | 504     "//components/ntp_snippets", | 
| 501     "//components/ntp_tiles", | 505     "//components/ntp_tiles", | 
| 502     "//components/offline_pages", | 506     "//components/offline_pages", | 
| 503     "//components/offline_pages/background:background_offliner", | 507     "//components/offline_pages/background:background_offliner", | 
| 504     "//components/omnibox/browser", | 508     "//components/omnibox/browser", | 
| 505     "//components/onc", | 509     "//components/onc", | 
| 506     "//components/password_manager/content/browser", | 510     "//components/password_manager/content/browser", | 
| 507     "//components/password_manager/core/browser", | 511     "//components/password_manager/core/browser", | 
| 508     "//components/password_manager/sync/browser", | 512     "//components/password_manager/sync/browser", | 
| 509     "//components/pdf/browser", | 513     "//components/pdf/browser", | 
| 510     "//components/policy:generated", | 514     "//components/policy/core/browser", | 
| 511     "//components/power", | 515     "//components/power", | 
| 512     "//components/pref_registry", | 516     "//components/pref_registry", | 
| 513     "//components/proximity_auth", | 517     "//components/proximity_auth", | 
| 514     "//components/proxy_config", | 518     "//components/proxy_config", | 
| 515     "//components/query_parser", | 519     "//components/query_parser", | 
| 516     "//components/rappor", | 520     "//components/rappor", | 
| 517     "//components/renderer_context_menu", | 521     "//components/renderer_context_menu", | 
| 518     "//components/resources", | 522     "//components/resources", | 
| 519     "//components/safe_json", | 523     "//components/safe_json", | 
| 520     "//components/search", | 524     "//components/search", | 
| (...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1208       "views/select_file_dialog_extension.cc", | 1212       "views/select_file_dialog_extension.cc", | 
| 1209       "views/select_file_dialog_extension.h", | 1213       "views/select_file_dialog_extension.h", | 
| 1210       "views/select_file_dialog_extension_factory.cc", | 1214       "views/select_file_dialog_extension_factory.cc", | 
| 1211       "views/select_file_dialog_extension_factory.h", | 1215       "views/select_file_dialog_extension_factory.h", | 
| 1212       "webui/cast/cast_ui.cc", | 1216       "webui/cast/cast_ui.cc", | 
| 1213       "webui/cast/cast_ui.h", | 1217       "webui/cast/cast_ui.h", | 
| 1214     ] | 1218     ] | 
| 1215     deps += [ | 1219     deps += [ | 
| 1216       "//chrome/browser/chromeos", | 1220       "//chrome/browser/chromeos", | 
| 1217       "//components/arc", | 1221       "//components/arc", | 
|  | 1222       "//components/drive:drive_chromeos", | 
|  | 1223       "//components/exo", | 
|  | 1224       "//components/login", | 
| 1218       "//ui/base/ime", | 1225       "//ui/base/ime", | 
|  | 1226       "//ui/chromeos", | 
| 1219     ] | 1227     ] | 
|  | 1228     if (enable_rlz) { | 
|  | 1229       deps += [ "//chrome/browser:rlz" ] | 
|  | 1230     } | 
| 1220   } | 1231   } | 
| 1221   if (use_cups) { | 1232   if (use_cups) { | 
| 1222     configs += [ "//printing:cups" ] | 1233     configs += [ "//printing:cups" ] | 
| 1223   } | 1234   } | 
| 1224   if (use_ash) { | 1235   if (use_ash) { | 
| 1225     sources += [ | 1236     sources += [ | 
| 1226       "ash/app_list/app_list_controller_ash.cc", | 1237       "ash/app_list/app_list_controller_ash.cc", | 
| 1227       "ash/app_list/app_list_controller_ash.h", | 1238       "ash/app_list/app_list_controller_ash.h", | 
| 1228       "ash/app_list/app_list_presenter_delegate_mus.cc", | 1239       "ash/app_list/app_list_presenter_delegate_mus.cc", | 
| 1229       "ash/app_list/app_list_presenter_delegate_mus.h", | 1240       "ash/app_list/app_list_presenter_delegate_mus.h", | 
| (...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2296       # TODO(estade): this class should be folded into | 2307       # TODO(estade): this class should be folded into | 
| 2297       # manage_passwords_decoration.mm | 2308       # manage_passwords_decoration.mm | 
| 2298       "passwords/manage_passwords_icon.cc", | 2309       "passwords/manage_passwords_icon.cc", | 
| 2299       "passwords/manage_passwords_icon.h", | 2310       "passwords/manage_passwords_icon.h", | 
| 2300       "web_contents_sizer.mm", | 2311       "web_contents_sizer.mm", | 
| 2301       "webui/cast/cast_ui.cc", | 2312       "webui/cast/cast_ui.cc", | 
| 2302       "webui/cast/cast_ui.h", | 2313       "webui/cast/cast_ui.h", | 
| 2303     ] | 2314     ] | 
| 2304     deps += [ | 2315     deps += [ | 
| 2305       "//chrome/app/nibs:localizer_table", | 2316       "//chrome/app/nibs:localizer_table", | 
|  | 2317       "//chrome/browser/apps/app_shim", | 
| 2306       "//third_party/apple_sample_code", | 2318       "//third_party/apple_sample_code", | 
| 2307       "//third_party/google_toolbox_for_mac", | 2319       "//third_party/google_toolbox_for_mac", | 
| 2308       "//third_party/molokocacao", | 2320       "//third_party/molokocacao", | 
| 2309       "//third_party/mozilla", | 2321       "//third_party/mozilla", | 
| 2310       "//ui/accelerated_widget_mac:accelerated_widget_mac", | 2322       "//ui/accelerated_widget_mac:accelerated_widget_mac", | 
| 2311     ] | 2323     ] | 
| 2312     if (mac_views_browser) { | 2324     if (mac_views_browser) { | 
| 2313       # MacViews sources that we still want to keep behind a compile-time flag. | 2325       # MacViews sources that we still want to keep behind a compile-time flag. | 
| 2314       # TODO(jackhou): Move items to general views sources out of here. | 2326       # TODO(jackhou): Move items to general views sources out of here. | 
| 2315       sources += [ | 2327       sources += [ | 
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2517         "cocoa/content_settings/cookies_tree_controller_bridge.mm", | 2529         "cocoa/content_settings/cookies_tree_controller_bridge.mm", | 
| 2518         "cocoa/create_application_shortcut_cocoa.mm", | 2530         "cocoa/create_application_shortcut_cocoa.mm", | 
| 2519         "cocoa/create_native_web_modal_manager_cocoa.mm", | 2531         "cocoa/create_native_web_modal_manager_cocoa.mm", | 
| 2520         "cocoa/custom_frame_view.h", | 2532         "cocoa/custom_frame_view.h", | 
| 2521         "cocoa/custom_frame_view.mm", | 2533         "cocoa/custom_frame_view.mm", | 
| 2522         "cocoa/dev_tools_controller.h", | 2534         "cocoa/dev_tools_controller.h", | 
| 2523         "cocoa/dev_tools_controller.mm", | 2535         "cocoa/dev_tools_controller.mm", | 
| 2524         "cocoa/download/background_theme.h", | 2536         "cocoa/download/background_theme.h", | 
| 2525         "cocoa/download/background_theme.mm", | 2537         "cocoa/download/background_theme.mm", | 
| 2526         "cocoa/download/download_danger_prompt_impl.cc", | 2538         "cocoa/download/download_danger_prompt_impl.cc", | 
| 2527         "cocoa/download/download_danger_prompt_impl.h", |  | 
| 2528         "cocoa/download/download_item_button.h", | 2539         "cocoa/download/download_item_button.h", | 
| 2529         "cocoa/download/download_item_button.mm", | 2540         "cocoa/download/download_item_button.mm", | 
| 2530         "cocoa/download/download_item_cell.h", | 2541         "cocoa/download/download_item_cell.h", | 
| 2531         "cocoa/download/download_item_cell.mm", | 2542         "cocoa/download/download_item_cell.mm", | 
| 2532         "cocoa/download/download_item_controller.h", | 2543         "cocoa/download/download_item_controller.h", | 
| 2533         "cocoa/download/download_item_controller.mm", | 2544         "cocoa/download/download_item_controller.mm", | 
| 2534         "cocoa/download/download_item_mac.h", | 2545         "cocoa/download/download_item_mac.h", | 
| 2535         "cocoa/download/download_item_mac.mm", | 2546         "cocoa/download/download_item_mac.mm", | 
| 2536         "cocoa/download/download_shelf_context_menu_controller.h", | 2547         "cocoa/download/download_shelf_context_menu_controller.h", | 
| 2537         "cocoa/download/download_shelf_context_menu_controller.mm", | 2548         "cocoa/download/download_shelf_context_menu_controller.mm", | 
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3025       "app_list/app_list_controller_delegate_impl.cc", | 3036       "app_list/app_list_controller_delegate_impl.cc", | 
| 3026       "app_list/app_list_controller_delegate_impl.h", | 3037       "app_list/app_list_controller_delegate_impl.h", | 
| 3027       "app_list/app_list_model_builder.cc", | 3038       "app_list/app_list_model_builder.cc", | 
| 3028       "app_list/app_list_model_builder.h", | 3039       "app_list/app_list_model_builder.h", | 
| 3029       "app_list/app_list_positioner.cc", | 3040       "app_list/app_list_positioner.cc", | 
| 3030       "app_list/app_list_positioner.h", | 3041       "app_list/app_list_positioner.h", | 
| 3031       "app_list/app_list_prefs.cc", | 3042       "app_list/app_list_prefs.cc", | 
| 3032       "app_list/app_list_prefs.h", | 3043       "app_list/app_list_prefs.h", | 
| 3033       "app_list/app_list_prefs_factory.cc", | 3044       "app_list/app_list_prefs_factory.cc", | 
| 3034       "app_list/app_list_prefs_factory.h", | 3045       "app_list/app_list_prefs_factory.h", | 
| 3035       "app_list/app_list_presenter_delegate.h", |  | 
| 3036       "app_list/app_list_service.cc", | 3046       "app_list/app_list_service.cc", | 
| 3037       "app_list/app_list_service.h", | 3047       "app_list/app_list_service.h", | 
| 3038       "app_list/app_list_service_impl.cc", | 3048       "app_list/app_list_service_impl.cc", | 
| 3039       "app_list/app_list_service_impl.h", | 3049       "app_list/app_list_service_impl.h", | 
| 3040       "app_list/app_list_syncable_service.cc", | 3050       "app_list/app_list_syncable_service.cc", | 
| 3041       "app_list/app_list_syncable_service.h", | 3051       "app_list/app_list_syncable_service.h", | 
| 3042       "app_list/app_list_syncable_service_factory.cc", | 3052       "app_list/app_list_syncable_service_factory.cc", | 
| 3043       "app_list/app_list_syncable_service_factory.h", | 3053       "app_list/app_list_syncable_service_factory.h", | 
| 3044       "app_list/app_list_view_delegate.cc", | 3054       "app_list/app_list_view_delegate.cc", | 
| 3045       "app_list/app_list_view_delegate.h", | 3055       "app_list/app_list_view_delegate.h", | 
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3297     ] | 3307     ] | 
| 3298   } | 3308   } | 
| 3299   if (enable_service_discovery) { | 3309   if (enable_service_discovery) { | 
| 3300     sources += [ | 3310     sources += [ | 
| 3301       "webui/local_discovery/local_discovery_ui.cc", | 3311       "webui/local_discovery/local_discovery_ui.cc", | 
| 3302       "webui/local_discovery/local_discovery_ui.h", | 3312       "webui/local_discovery/local_discovery_ui.h", | 
| 3303       "webui/local_discovery/local_discovery_ui_handler.cc", | 3313       "webui/local_discovery/local_discovery_ui_handler.cc", | 
| 3304       "webui/local_discovery/local_discovery_ui_handler.h", | 3314       "webui/local_discovery/local_discovery_ui_handler.h", | 
| 3305     ] | 3315     ] | 
| 3306   } | 3316   } | 
|  | 3317 | 
|  | 3318   if (is_chromecast && is_linux) { | 
|  | 3319     # The Chromecast build sets toolkit_views to false but some targets in the | 
|  | 3320     # build still reference views. But this target is referenced on the Cast | 
|  | 3321     # bot (though not currently compiled) but is configured as Linux. This | 
|  | 3322     # necessitates these extra dependencies to pass "gn check". | 
|  | 3323     deps += [ | 
|  | 3324       "//chrome/browser/media/router", | 
|  | 3325       "//components/web_modal", | 
|  | 3326       "//ui/base/x", | 
|  | 3327       "//ui/events/devices/x11", | 
|  | 3328       "//ui/events/keycodes:x11", | 
|  | 3329       "//ui/views", | 
|  | 3330       "//ui/views/controls/webview", | 
|  | 3331     ] | 
|  | 3332   } | 
| 3307 } | 3333 } | 
| 3308 | 3334 | 
| 3309 # In GYP this is part of test_support_common. | 3335 # In GYP this is part of test_support_common. | 
| 3310 static_library("test_support") { | 3336 static_library("test_support") { | 
| 3311   testonly = true | 3337   testonly = true | 
| 3312 | 3338 | 
| 3313   sources = [ | 3339   sources = [ | 
| 3314     "cocoa/cocoa_test_helper.h", | 3340     "cocoa/cocoa_test_helper.h", | 
| 3315     "cocoa/cocoa_test_helper.mm", | 3341     "cocoa/cocoa_test_helper.mm", | 
| 3316     "cocoa/run_loop_testing.h", | 3342     "cocoa/run_loop_testing.h", | 
| (...skipping 23 matching lines...) Expand all  Loading... | 
| 3340     "//components/toolbar", | 3366     "//components/toolbar", | 
| 3341     "//components/translate/content/browser", | 3367     "//components/translate/content/browser", | 
| 3342     "//components/zoom", | 3368     "//components/zoom", | 
| 3343     "//content/public/browser", | 3369     "//content/public/browser", | 
| 3344     "//content/public/common", | 3370     "//content/public/common", | 
| 3345     "//content/test:test_support", | 3371     "//content/test:test_support", | 
| 3346     "//net:test_support", | 3372     "//net:test_support", | 
| 3347     "//skia", | 3373     "//skia", | 
| 3348     "//testing/gtest", | 3374     "//testing/gtest", | 
| 3349     "//ui/base", | 3375     "//ui/base", | 
|  | 3376     "//ui/gfx:test_support", | 
| 3350     "//ui/shell_dialogs", | 3377     "//ui/shell_dialogs", | 
| 3351   ] | 3378   ] | 
| 3352 | 3379 | 
| 3353   if (toolkit_views && (!is_mac || mac_views_browser)) { | 3380   if (toolkit_views && (!is_mac || mac_views_browser)) { | 
| 3354     sources += [ | 3381     sources += [ | 
| 3355       "views/find_bar_host_unittest_util_views.cc", | 3382       "views/find_bar_host_unittest_util_views.cc", | 
| 3356       "views/toolbar/browser_action_test_util_views.cc", | 3383       "views/toolbar/browser_action_test_util_views.cc", | 
| 3357     ] | 3384     ] | 
| 3358     deps += [ "//ui/aura" ] | 3385     deps += [ "//ui/aura" ] | 
| 3359   } else { | 3386   } else { | 
| (...skipping 22 matching lines...) Expand all  Loading... | 
| 3382       "passwords/passwords_model_delegate_mock.cc", | 3409       "passwords/passwords_model_delegate_mock.cc", | 
| 3383       "passwords/passwords_model_delegate_mock.h", | 3410       "passwords/passwords_model_delegate_mock.h", | 
| 3384     ] | 3411     ] | 
| 3385     deps += [ "//chrome/test:test_support_ui" ] | 3412     deps += [ "//chrome/test:test_support_ui" ] | 
| 3386   } | 3413   } | 
| 3387 | 3414 | 
| 3388   if (enable_extensions) { | 3415   if (enable_extensions) { | 
| 3389     deps += [ "//extensions/browser" ] | 3416     deps += [ "//extensions/browser" ] | 
| 3390   } | 3417   } | 
| 3391 } | 3418 } | 
| OLD | NEW | 
|---|