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

Side by Side Diff: gpu/BUILD.gn

Issue 2684123002: Revert of Android: Use linker script to hide all non-JNI symbols (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « components/cronet/android/only_jni_exports.lst ('k') | testing/test.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « components/cronet/android/only_jni_exports.lst ('k') | testing/test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698