| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/libfuzzer/fuzzer_test.gni") | 5 import("//testing/libfuzzer/fuzzer_test.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 | 8 |
| 9 config("gpu_implementation") { | 9 config("gpu_implementation") { |
| 10 defines = [ "GPU_IMPLEMENTATION" ] | 10 defines = [ "GPU_IMPLEMENTATION" ] |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 "//gpu/command_buffer/client:gles2_c_lib", | 48 "//gpu/command_buffer/client:gles2_c_lib", |
| 49 "//gpu/command_buffer/client:gles2_implementation", | 49 "//gpu/command_buffer/client:gles2_implementation", |
| 50 "//gpu/command_buffer/common:gles2_utils", | 50 "//gpu/command_buffer/common:gles2_utils", |
| 51 "//ui/gl:gl", | 51 "//ui/gl:gl", |
| 52 ] | 52 ] |
| 53 | 53 |
| 54 defines = [ | 54 defines = [ |
| 55 "COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY", | 55 "COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY", |
| 56 "EGLAPIENTRY=", | 56 "EGLAPIENTRY=", |
| 57 ] | 57 ] |
| 58 if (is_android) { | |
| 59 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] | |
| 60 } | |
| 61 if (current_os == "win") { | 58 if (current_os == "win") { |
| 62 defines += [ "EGLAPI=__declspec(dllexport)" ] | 59 defines += [ "EGLAPI=__declspec(dllexport)" ] |
| 63 } else { | 60 } else { |
| 64 defines += [ "EGLAPI=__attribute__((visibility(\"default\")))" ] | 61 defines += [ "EGLAPI=__attribute__((visibility(\"default\")))" ] |
| 65 } | 62 } |
| 66 } | 63 } |
| 67 | 64 |
| 68 test("command_buffer_gles2_tests") { | 65 test("command_buffer_gles2_tests") { |
| 69 sources = [ | 66 sources = [ |
| 70 "command_buffer/tests/command_buffer_gles2_tests_main.cc", | 67 "command_buffer/tests/command_buffer_gles2_tests_main.cc", |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 "//base/third_party/dynamic_annotations", | 419 "//base/third_party/dynamic_annotations", |
| 423 "//gpu/command_buffer/common:gles2_utils", | 420 "//gpu/command_buffer/common:gles2_utils", |
| 424 "//ui/gfx/geometry", | 421 "//ui/gfx/geometry", |
| 425 "//ui/gl", | 422 "//ui/gl", |
| 426 "//ui/gl:test_support", | 423 "//ui/gl:test_support", |
| 427 ] | 424 ] |
| 428 | 425 |
| 429 libfuzzer_options = [ "max_len=16384" ] | 426 libfuzzer_options = [ "max_len=16384" ] |
| 430 } | 427 } |
| 431 } | 428 } |
| OLD | NEW |