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

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

Issue 1565983002: Add librt to default libs on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « device/BUILD.gn ('k') | sandbox/linux/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 declare_args() { 7 declare_args() {
8 internal_khronos_glcts_tests = false 8 internal_khronos_glcts_tests = false
9 } 9 }
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 } 131 }
132 source_set("deutil") { 132 source_set("deutil") {
133 sources = khronos_glcts_gypi.deutil_srcs 133 sources = khronos_glcts_gypi.deutil_srcs
134 134
135 deps = [ 135 deps = [
136 ":debase", 136 ":debase",
137 ":depool", 137 ":depool",
138 ":dethread", 138 ":dethread",
139 ] 139 ]
140 140
141 libs = [ "rt" ]
142
143 configs += [ ":defaults_config" ] 141 configs += [ ":defaults_config" ]
144 configs -= [ "//build/config/compiler:chromium_code" ] 142 configs -= [ "//build/config/compiler:chromium_code" ]
145 configs += [ "//build/config/compiler:no_chromium_code" ] 143 configs += [ "//build/config/compiler:no_chromium_code" ]
146 configs -= [ "//build/config/compiler:no_rtti" ] 144 configs -= [ "//build/config/compiler:no_rtti" ]
147 configs += [ "//build/config/compiler:rtti" ] 145 configs += [ "//build/config/compiler:rtti" ]
148 146
149 public_configs = [ ":deutil_config" ] 147 public_configs = [ ":deutil_config" ]
150 148
151 if (is_linux) { 149 if (is_linux) {
152 cflags_c = [ "-Wno-string-conversion" ] 150 cflags_c = [ "-Wno-string-conversion" ]
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 ] 557 ]
560 558
561 if (internal_khronos_glcts_tests) { 559 if (internal_khronos_glcts_tests) {
562 sources += [ "$target_gen_dir/khronos_glcts_test_autogen.cc" ] 560 sources += [ "$target_gen_dir/khronos_glcts_test_autogen.cc" ]
563 deps += [ 561 deps += [
564 ":generate_khronos_glcts_tests", 562 ":generate_khronos_glcts_tests",
565 ":khronos_glcts_test_windowless", 563 ":khronos_glcts_test_windowless",
566 ] 564 ]
567 } 565 }
568 } 566 }
OLDNEW
« no previous file with comments | « device/BUILD.gn ('k') | sandbox/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698