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

Side by Side Diff: gpu/gpu.gyp

Issue 1289623006: build: On Android, disable LTO for specific targets only when targeting GCC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove disable_lto.gypi Created 5 years, 4 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
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'nacl_win64_target': 0, 7 'nacl_win64_target': 0,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 'gpu_common.gypi', 10 'gpu_common.gypi',
(...skipping 14 matching lines...) Expand all
25 ], 25 ],
26 'defines': [ 26 'defines': [
27 'GLES2_IMPL_IMPLEMENTATION', 27 'GLES2_IMPL_IMPLEMENTATION',
28 ], 28 ],
29 'sources': [ 29 'sources': [
30 '<@(gles2_implementation_source_files)', 30 '<@(gles2_implementation_source_files)',
31 ], 31 ],
32 'includes': [ 32 'includes': [
33 # Disable LTO due to ELF section name out of range 33 # Disable LTO due to ELF section name out of range
34 # crbug.com/422251 34 # crbug.com/422251
35 '../build/android/disable_lto.gypi', 35 '../build/android/disable_gcc_lto.gypi',
36 ], 36 ],
37 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 37 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
38 'msvs_disabled_warnings': [4267, ], 38 'msvs_disabled_warnings': [4267, ],
39 }, 39 },
40 { 40 {
41 # GN version: //gpu/command_buffer/client:gl_in_process_context 41 # GN version: //gpu/command_buffer/client:gl_in_process_context
42 'target_name': 'gl_in_process_context', 42 'target_name': 'gl_in_process_context',
43 'type': '<(component)', 43 'type': '<(component)',
44 'dependencies': [ 44 'dependencies': [
45 'command_buffer/command_buffer.gyp:gles2_utils', 45 'command_buffer/command_buffer.gyp:gles2_utils',
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 }, 497 },
498 { 498 {
499 # GN version: //gpu/command_buffer/service 499 # GN version: //gpu/command_buffer/service
500 'target_name': 'command_buffer_service', 500 'target_name': 'command_buffer_service',
501 'type': 'static_library', 501 'type': 'static_library',
502 'includes': [ 502 'includes': [
503 'command_buffer_service.gypi', 503 'command_buffer_service.gypi',
504 '../build/android/increase_size_for_speed.gypi', 504 '../build/android/increase_size_for_speed.gypi',
505 # Disable LTO due to ELF section name out of range 505 # Disable LTO due to ELF section name out of range
506 # crbug.com/422251 506 # crbug.com/422251
507 '../build/android/disable_lto.gypi', 507 '../build/android/disable_gcc_lto.gypi',
508 ], 508 ],
509 'dependencies': [ 509 'dependencies': [
510 'command_buffer_common', 510 'command_buffer_common',
511 'disk_cache_proto', 511 'disk_cache_proto',
512 'gpu_config', 512 'gpu_config',
513 ], 513 ],
514 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 514 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
515 'msvs_disabled_warnings': [4267, ], 515 'msvs_disabled_warnings': [4267, ],
516 }, 516 },
517 { 517 {
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 '../third_party/angle/build/common_defines.gypi', 809 '../third_party/angle/build/common_defines.gypi',
810 ], 810 ],
811 'sources': [ 811 'sources': [
812 'angle_deqp_tests_main.cc', 812 'angle_deqp_tests_main.cc',
813 ], 813 ],
814 }, 814 },
815 ], 815 ],
816 }] 816 }]
817 ], 817 ],
818 } 818 }
OLDNEW
« build/common.gypi ('K') | « content/content.gyp ('k') | sandbox/linux/sandbox_linux.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698