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

Side by Side Diff: gpu/config/BUILD.gn

Issue 1327033004: Allow building mojo_shell and non-graphical apps/services on a Mac (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 months 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
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/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 declare_args() { 7 declare_args() {
8 # Use the PCI lib to collect GPU information on Linux. 8 # Use the PCI lib to collect GPU information on Linux.
9 use_libpci = true 9 use_libpci = true
10 } 10 }
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 deps += [ 89 deps += [
90 "//third_party/libXNVCtrl", 90 "//third_party/libXNVCtrl",
91 "//ui/gfx/x", 91 "//ui/gfx/x",
92 ] 92 ]
93 } else { 93 } else {
94 sources -= [ "gpu_info_collector_x11.cc" ] 94 sources -= [ "gpu_info_collector_x11.cc" ]
95 } 95 }
96 if (!use_ozone) { 96 if (!use_ozone) {
97 sources -= [ "gpu_info_collector_ozone.cc" ] 97 sources -= [ "gpu_info_collector_ozone.cc" ]
98 } 98 }
99 if (is_mac) {
100 cflags = [ "-Wno-deprecated-declarations" ]
101 }
99 } 102 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698