| 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   } | 
| 58   if (current_os == "win") { | 61   if (current_os == "win") { | 
| 59     defines += [ "EGLAPI=__declspec(dllexport)" ] | 62     defines += [ "EGLAPI=__declspec(dllexport)" ] | 
| 60   } else { | 63   } else { | 
| 61     defines += [ "EGLAPI=__attribute__((visibility(\"default\")))" ] | 64     defines += [ "EGLAPI=__attribute__((visibility(\"default\")))" ] | 
| 62   } | 65   } | 
| 63 } | 66 } | 
| 64 | 67 | 
| 65 test("command_buffer_gles2_tests") { | 68 test("command_buffer_gles2_tests") { | 
| 66   sources = [ | 69   sources = [ | 
| 67     "command_buffer/tests/command_buffer_gles2_tests_main.cc", | 70     "command_buffer/tests/command_buffer_gles2_tests_main.cc", | 
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 419       "//base/third_party/dynamic_annotations", | 422       "//base/third_party/dynamic_annotations", | 
| 420       "//gpu/command_buffer/common:gles2_utils", | 423       "//gpu/command_buffer/common:gles2_utils", | 
| 421       "//ui/gfx/geometry", | 424       "//ui/gfx/geometry", | 
| 422       "//ui/gl", | 425       "//ui/gl", | 
| 423       "//ui/gl:test_support", | 426       "//ui/gl:test_support", | 
| 424     ] | 427     ] | 
| 425 | 428 | 
| 426     libfuzzer_options = [ "max_len=16384" ] | 429     libfuzzer_options = [ "max_len=16384" ] | 
| 427   } | 430   } | 
| 428 } | 431 } | 
| OLD | NEW | 
|---|