| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |