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

Side by Side Diff: third_party/libXNVCtrl/BUILD.gn

Issue 2152033002: Convert third_party source sets to static libraries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ios Created 4 years, 5 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
« no previous file with comments | « third_party/iccjpeg/BUILD.gn ('k') | third_party/libjingle/BUILD.gn » ('j') | 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 # This warning disable must be appended to the command line after the general 5 # This warning disable must be appended to the command line after the general
6 # warnings setup, so must be in a config. 6 # warnings setup, so must be in a config.
7 config("libXNVCtrl_config") { 7 config("libXNVCtrl_config") {
8 # This will build under most configurations with this warning enabled, but 8 # This will build under most configurations with this warning enabled, but
9 # some older system headers are missing a "const" on the third parameter of 9 # some older system headers are missing a "const" on the third parameter of
10 # XextAddDisplay which will cause a failure. 10 # XextAddDisplay which will cause a failure.
11 cflags = [ 11 cflags = [ "-Wno-incompatible-pointer-types-discards-qualifiers" ]
12 "-Wno-incompatible-pointer-types-discards-qualifiers",
13 ]
14 } 12 }
15 13
16 source_set("libXNVCtrl") { 14 static_library("libXNVCtrl") {
17 sources = [ 15 sources = [
18 "NVCtrl.c", 16 "NVCtrl.c",
19 "NVCtrl.h", 17 "NVCtrl.h",
20 "NVCtrlLib.h", 18 "NVCtrlLib.h",
21 "nv_control.h", 19 "nv_control.h",
22 ] 20 ]
23 21
24 configs += [ 22 configs += [
25 ":libXNVCtrl_config", 23 ":libXNVCtrl_config",
26 "//build/config/linux:x11", 24 "//build/config/linux:x11",
27 ] 25 ]
28 } 26 }
OLDNEW
« no previous file with comments | « third_party/iccjpeg/BUILD.gn ('k') | third_party/libjingle/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698