| 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("//build/config/allocator.gni") | 5 import("//build/config/allocator.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform
_support | 8 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform
_support |
| 9 executable("gles2_conform_support") { | 9 executable("gles2_conform_support") { |
| 10 sources = [ | 10 sources = [ |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 defines = [ | 65 defines = [ |
| 66 "GTF_API=GTF_GLES20", | 66 "GTF_API=GTF_GLES20", |
| 67 "HKEMBEDDEDFILESYSTEM", | 67 "HKEMBEDDEDFILESYSTEM", |
| 68 ] | 68 ] |
| 69 deps = [ | 69 deps = [ |
| 70 ":generate_gles2_conform_embedded_data", | 70 ":generate_gles2_conform_embedded_data", |
| 71 "//gpu/gles2_conform_support/egl", | 71 "//gpu/gles2_conform_support/egl", |
| 72 "//gpu/gles2_conform_support/native:windowless", | 72 "//gpu/gles2_conform_support/native:windowless", |
| 73 "//gpu/command_buffer/client:gles2_c_libnocheck", | 73 "//gpu/command_buffer/client:gles2_c_libnocheck", |
| 74 ] | 74 ] |
| 75 configs += [ "//build/compiler:no_incompatible_pointer_warnings" ] |
| 75 if (is_linux) { | 76 if (is_linux) { |
| 76 if (!is_chromeos) { | 77 if (!is_chromeos) { |
| 77 deps += [ "//build/linux/system/gtk" ] | 78 deps += [ "//build/linux/system/gtk" ] |
| 78 | 79 |
| 79 if (is_clang) { | 80 if (is_clang) { |
| 80 cflags = [ | 81 cflags = [ |
| 81 "-Wno-array-bounds", | 82 "-Wno-array-bounds", |
| 82 "-Wno-implicit-function-declaration", | 83 "-Wno-implicit-function-declaration", |
| 83 "-Wno-incompatible-pointer-types", | |
| 84 "-Wno-parentheses-equality", | 84 "-Wno-parentheses-equality", |
| 85 "-Wno-pointer-sign", | 85 "-Wno-pointer-sign", |
| 86 "-Wno-return-type", | 86 "-Wno-return-type", |
| 87 "-Wno-sizeof-pointer-memaccess", | 87 "-Wno-sizeof-pointer-memaccess", |
| 88 "-Wno-tautological-compare", | 88 "-Wno-tautological-compare", |
| 89 ] | 89 ] |
| 90 } | 90 } |
| 91 } | 91 } |
| 92 } | 92 } |
| 93 if (is_win) { | 93 if (is_win) { |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 ] | 159 ] |
| 160 deps = [ | 160 deps = [ |
| 161 "//base", | 161 "//base", |
| 162 "//gpu/config", | 162 "//gpu/config", |
| 163 "//testing/gtest", | 163 "//testing/gtest", |
| 164 ] | 164 ] |
| 165 if (internal_gles2_conform_tests) { | 165 if (internal_gles2_conform_tests) { |
| 166 deps += [ "gles2_conform_test_windowless" ] | 166 deps += [ "gles2_conform_test_windowless" ] |
| 167 } | 167 } |
| 168 } | 168 } |
| OLD | NEW |