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

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 3475 matching lines...) Expand 10 before | Expand all | Expand 10 after
3486 "renderer_context_menu/spelling_options_submenu_observer.h", 3486 "renderer_context_menu/spelling_options_submenu_observer.h",
3487 ] 3487 ]
3488 } 3488 }
3489 3489
3490 if (is_desktop_linux) { 3490 if (is_desktop_linux) {
3491 # Desktop linux, doesn't count ChromeOS. 3491 # Desktop linux, doesn't count ChromeOS.
3492 sources += [ 3492 sources += [
3493 "first_run/upgrade_util.cc", 3493 "first_run/upgrade_util.cc",
3494 "first_run/upgrade_util_linux.cc", 3494 "first_run/upgrade_util_linux.cc",
3495 "first_run/upgrade_util_linux.h", 3495 "first_run/upgrade_util_linux.h",
3496 "fullscreen_aurax11.cc",
3497 "icon_loader_auralinux.cc", 3496 "icon_loader_auralinux.cc",
3498 "media/webrtc/window_icon_util_x11.cc",
3499 "password_manager/native_backend_kwallet_x.cc",
3500 "password_manager/native_backend_kwallet_x.h",
3501 "platform_util_linux.cc", 3497 "platform_util_linux.cc",
3502 "shell_integration_linux.cc", 3498 "shell_integration_linux.cc",
3503 "shell_integration_linux.h", 3499 "shell_integration_linux.h",
3504 "speech/tts_linux.cc", 3500 "speech/tts_linux.cc",
3505 "themes/theme_service_aurax11.cc",
3506 "themes/theme_service_aurax11.h",
3507 "web_applications/web_app_linux.cc", 3501 "web_applications/web_app_linux.cc",
3508 ] 3502 ]
3509 3503
3504 if (use_x11) {
3505 sources += [
3506 "fullscreen_aurax11.cc",
3507 "media/webrtc/window_icon_util_x11.cc",
3508 "password_manager/native_backend_kwallet_x.cc",
Lei Zhang 2016/10/27 17:00:15 I don't see any x11 usage here. I think the 'x' me
3509 "password_manager/native_backend_kwallet_x.h",
3510 "themes/theme_service_aurax11.cc",
3511 "themes/theme_service_aurax11.h",
3512 ]
3513 }
3514
3510 # libsecret hard depends on GLib. 3515 # libsecret hard depends on GLib.
3511 if (use_glib) { 3516 if (use_glib) {
3512 sources += [ 3517 sources += [
3513 "password_manager/native_backend_libsecret.cc", 3518 "password_manager/native_backend_libsecret.cc",
3514 "password_manager/native_backend_libsecret.h", 3519 "password_manager/native_backend_libsecret.h",
3515 ] 3520 ]
3516 defines += [ "USE_LIBSECRET" ] 3521 defines += [ "USE_LIBSECRET" ]
3517 deps += [ "//third_party/libsecret" ] 3522 deps += [ "//third_party/libsecret" ]
3518 } 3523 }
3519 } 3524 }
(...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after
4339 # linking all of the test support. 4344 # linking all of the test support.
4340 static_library("pepper_cdm_test_constants") { 4345 static_library("pepper_cdm_test_constants") {
4341 testonly = true 4346 testonly = true
4342 visibility = [ "//chrome/*" ] 4347 visibility = [ "//chrome/*" ]
4343 sources = [ 4348 sources = [
4344 "media/pepper_cdm_test_constants.cc", 4349 "media/pepper_cdm_test_constants.cc",
4345 "media/pepper_cdm_test_constants.h", 4350 "media/pepper_cdm_test_constants.h",
4346 ] 4351 ]
4347 } 4352 }
4348 } 4353 }
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