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

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",
3508
3509 # TODO(tonikitoo): ThemeServiceAuraX11 does not to dependent X11,
3510 # although it is instantiation/inclusion in theme_service_factory.cc
3511 # is conditioned by USE_X11.
fwang 2016/10/27 18:19:16 I think you should check wording here. Do you mean
tonikitoo 2016/10/27 18:28:41 Done.
3510 "themes/theme_service_aurax11.cc", 3512 "themes/theme_service_aurax11.cc",
3511 "themes/theme_service_aurax11.h", 3513 "themes/theme_service_aurax11.h",
3512 "web_applications/web_app_linux.cc", 3514 "web_applications/web_app_linux.cc",
3513 ] 3515 ]
3514 3516
3517 if (use_x11) {
3518 sources += [
3519 "fullscreen_aurax11.cc",
3520 "media/webrtc/window_icon_util_x11.cc",
3521 ]
3522 }
3523
3515 # libsecret hard depends on GLib. 3524 # libsecret hard depends on GLib.
3516 if (use_glib) { 3525 if (use_glib) {
3517 sources += [ 3526 sources += [
3518 "password_manager/native_backend_libsecret.cc", 3527 "password_manager/native_backend_libsecret.cc",
3519 "password_manager/native_backend_libsecret.h", 3528 "password_manager/native_backend_libsecret.h",
3520 ] 3529 ]
3521 defines += [ "USE_LIBSECRET" ] 3530 defines += [ "USE_LIBSECRET" ]
3522 deps += [ "//third_party/libsecret" ] 3531 deps += [ "//third_party/libsecret" ]
3523 } 3532 }
3524 } 3533 }
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
4349 # linking all of the test support. 4358 # linking all of the test support.
4350 static_library("pepper_cdm_test_constants") { 4359 static_library("pepper_cdm_test_constants") {
4351 testonly = true 4360 testonly = true
4352 visibility = [ "//chrome/*" ] 4361 visibility = [ "//chrome/*" ]
4353 sources = [ 4362 sources = [
4354 "media/pepper_cdm_test_constants.cc", 4363 "media/pepper_cdm_test_constants.cc",
4355 "media/pepper_cdm_test_constants.h", 4364 "media/pepper_cdm_test_constants.h",
4356 ] 4365 ]
4357 } 4366 }
4358 } 4367 }
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