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

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

Issue 1293073006: Make gtk2/gtk3 compile time switchable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove deprecation warning. 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 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
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/libgtk2ui/libgtk2ui.gyp ('k') | gpu/gles2_conform_support/gles2_conform_test.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698