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

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

Issue 2457443004: Build some x11 dependent files only if 'use_x11' (Closed)
Patch Set: Build some x11 dependent files if 'use_x11' Created 4 years, 1 month 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 | no next file » | 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/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/split_static_library.gni") 9 import("//build/split_static_library.gni")
10 import("//chrome/common/features.gni") 10 import("//chrome/common/features.gni")
(...skipping 3480 matching lines...) Expand 10 before | Expand all | Expand 10 after
3491 "renderer_context_menu/spelling_options_submenu_observer.h", 3491 "renderer_context_menu/spelling_options_submenu_observer.h",
3492 ] 3492 ]
3493 } 3493 }
3494 3494
3495 if (is_desktop_linux) { 3495 if (is_desktop_linux) {
3496 # Desktop linux, doesn't count ChromeOS. 3496 # Desktop linux, doesn't count ChromeOS.
3497 sources += [ 3497 sources += [
3498 "first_run/upgrade_util.cc", 3498 "first_run/upgrade_util.cc",
3499 "first_run/upgrade_util_linux.cc", 3499 "first_run/upgrade_util_linux.cc",
3500 "first_run/upgrade_util_linux.h", 3500 "first_run/upgrade_util_linux.h",
3501 "fullscreen_aurax11.cc",
3502 "icon_loader_auralinux.cc", 3501 "icon_loader_auralinux.cc",
3503 "media/webrtc/window_icon_util_x11.cc",
3504 "password_manager/native_backend_kwallet_x.cc", 3502 "password_manager/native_backend_kwallet_x.cc",
3505 "password_manager/native_backend_kwallet_x.h", 3503 "password_manager/native_backend_kwallet_x.h",
3506 "platform_util_linux.cc", 3504 "platform_util_linux.cc",
3507 "shell_integration_linux.cc", 3505 "shell_integration_linux.cc",
3508 "shell_integration_linux.h", 3506 "shell_integration_linux.h",
3509 "speech/tts_linux.cc", 3507 "speech/tts_linux.cc",
3510 "themes/theme_service_aurax11.cc",
3511 "themes/theme_service_aurax11.h",
3512 "web_applications/web_app_linux.cc", 3508 "web_applications/web_app_linux.cc",
3513 ] 3509 ]
3514 3510
3511 if (use_x11) {
3512 sources += [
3513 "fullscreen_aurax11.cc",
3514 "media/webrtc/window_icon_util_x11.cc",
3515
3516 # ThemeServiceAuraX11 does not depend on X11, although its
3517 # instantiation/inclusion in theme_service_factory.cc is conditioned
3518 # by USE_X11.
3519 # TODO(tonikitoo): Check if non-x11 could benefit from it. If so,
3520 # rename and use it.
3521 "themes/theme_service_aurax11.cc",
3522 "themes/theme_service_aurax11.h",
3523 ]
3524 }
3525
3515 # libsecret hard depends on GLib. 3526 # libsecret hard depends on GLib.
3516 if (use_glib) { 3527 if (use_glib) {
3517 sources += [ 3528 sources += [
3518 "password_manager/native_backend_libsecret.cc", 3529 "password_manager/native_backend_libsecret.cc",
3519 "password_manager/native_backend_libsecret.h", 3530 "password_manager/native_backend_libsecret.h",
3520 ] 3531 ]
3521 defines += [ "USE_LIBSECRET" ] 3532 defines += [ "USE_LIBSECRET" ]
3522 deps += [ "//third_party/libsecret" ] 3533 deps += [ "//third_party/libsecret" ]
3523 } 3534 }
3524 } 3535 }
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
4349 # linking all of the test support. 4360 # linking all of the test support.
4350 static_library("pepper_cdm_test_constants") { 4361 static_library("pepper_cdm_test_constants") {
4351 testonly = true 4362 testonly = true
4352 visibility = [ "//chrome/*" ] 4363 visibility = [ "//chrome/*" ]
4353 sources = [ 4364 sources = [
4354 "media/pepper_cdm_test_constants.cc", 4365 "media/pepper_cdm_test_constants.cc",
4355 "media/pepper_cdm_test_constants.h", 4366 "media/pepper_cdm_test_constants.h",
4356 ] 4367 ]
4357 } 4368 }
4358 } 4369 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698