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

Side by Side Diff: gpu/BUILD.gn

Issue 2699473002: Reland of Android: Use linker script to hide all non-JNI symbols (Closed)
Patch Set: fix loadable_module 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 }
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
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 }
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