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 declare_args() { | 5 declare_args() { |
6 # Set to true to compile with the OpenGL ES 2.0 conformance tests. | 6 # Set to true to compile with the OpenGL ES 2.0 conformance tests. |
7 internal_gles2_conform_tests = false | 7 internal_gles2_conform_tests = false |
8 } | 8 } |
9 | 9 |
10 import("//build/config/allocator.gni") | 10 import("//build/config/allocator.gni") |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 ] | 73 ] |
74 deps = [ | 74 deps = [ |
75 ":generate_gles2_conform_embedded_data", | 75 ":generate_gles2_conform_embedded_data", |
76 "//gpu/gles2_conform_support/egl", | 76 "//gpu/gles2_conform_support/egl", |
77 "//gpu/gles2_conform_support/native:windowless", | 77 "//gpu/gles2_conform_support/native:windowless", |
78 "//gpu/command_buffer/client:gles2_c_libnocheck", | 78 "//gpu/command_buffer/client:gles2_c_libnocheck", |
79 ] | 79 ] |
80 configs += [ "//build/compiler:no_incompatible_pointer_warnings" ] | 80 configs += [ "//build/compiler:no_incompatible_pointer_warnings" ] |
81 if (is_linux) { | 81 if (is_linux) { |
82 if (!is_chromeos) { | 82 if (!is_chromeos) { |
83 deps += [ "//build/linux/system/gtk" ] | 83 deps += [ "//build/linux/system/gtk2" ] |
84 | 84 |
85 if (is_clang) { | 85 if (is_clang) { |
86 cflags = [ | 86 cflags = [ |
87 "-Wno-array-bounds", | 87 "-Wno-array-bounds", |
88 "-Wno-implicit-function-declaration", | 88 "-Wno-implicit-function-declaration", |
89 "-Wno-parentheses-equality", | 89 "-Wno-parentheses-equality", |
90 "-Wno-pointer-sign", | 90 "-Wno-pointer-sign", |
91 "-Wno-return-type", | 91 "-Wno-return-type", |
92 "-Wno-sizeof-pointer-memaccess", | 92 "-Wno-sizeof-pointer-memaccess", |
93 "-Wno-tautological-compare", | 93 "-Wno-tautological-compare", |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 data = [ | 180 data = [ |
181 "gles2_conform_test_expectations.txt", | 181 "gles2_conform_test_expectations.txt", |
182 ] | 182 ] |
183 | 183 |
184 if (internal_gles2_conform_tests) { | 184 if (internal_gles2_conform_tests) { |
185 deps += [ "gles2_conform_test_windowless" ] | 185 deps += [ "gles2_conform_test_windowless" ] |
186 | 186 |
187 data_deps = [ "//third_party/gles2_conform/GTF_ES/" ] | 187 data_deps = [ "//third_party/gles2_conform/GTF_ES/" ] |
188 } | 188 } |
189 } | 189 } |
OLD | NEW |