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

Side by Side Diff: gpu/gpu.gyp

Issue 1920163005: Split //ui/gl into //ui/gl + //ui/gi/init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change to //ui/gl/init Created 4 years, 7 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 'build_angle_deqp_tests%': 0, 8 'build_angle_deqp_tests%': 0,
9 }, 9 },
10 'includes': [ 10 'includes': [
11 'gpu_common.gypi', 11 'gpu_common.gypi',
12 ], 12 ],
13 'targets': [ 13 'targets': [
14 { 14 {
15 # Library emulates GLES2 using command_buffers. 15 # Library emulates GLES2 using command_buffers.
16 # GN version: //gpu/command_buffer/client:gles2_implementation 16 # GN version: //gpu/command_buffer/client:gles2_implementation
17 'target_name': 'gles2_implementation', 17 'target_name': 'gles2_implementation',
18 'type': '<(component)', 18 'type': '<(component)',
19 'dependencies': [ 19 'dependencies': [
20 '../base/base.gyp:base', 20 '../base/base.gyp:base',
21 '../third_party/khronos/khronos.gyp:khronos_headers', 21 '../third_party/khronos/khronos.gyp:khronos_headers',
22 '../ui/gfx/gfx.gyp:gfx_geometry', 22 '../ui/gfx/gfx.gyp:gfx_geometry',
23 '../ui/gl/gl.gyp:gl', 23 '../ui/gl/gl.gyp:gl',
24 '../ui/gl/init/gl_init.gyp:gl_init',
24 'command_buffer/command_buffer.gyp:gles2_utils', 25 'command_buffer/command_buffer.gyp:gles2_utils',
25 'gles2_cmd_helper', 26 'gles2_cmd_helper',
26 ], 27 ],
27 'defines': [ 28 'defines': [
28 'GLES2_IMPL_IMPLEMENTATION', 29 'GLES2_IMPL_IMPLEMENTATION',
29 ], 30 ],
30 'sources': [ 31 'sources': [
31 '<@(gles2_implementation_source_files)', 32 '<@(gles2_implementation_source_files)',
32 ], 33 ],
33 'includes': [ 34 'includes': [
34 # Disable LTO due to ELF section name out of range 35 # Disable LTO due to ELF section name out of range
35 # crbug.com/422251 36 # crbug.com/422251
36 '../build/android/disable_gcc_lto.gypi', 37 '../build/android/disable_gcc_lto.gypi',
37 ], 38 ],
38 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 39 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
39 'msvs_disabled_warnings': [4267, ], 40 'msvs_disabled_warnings': [4267, ],
40 }, 41 },
41 { 42 {
42 # GN version: //gpu/command_buffer/client:gl_in_process_context 43 # GN version: //gpu/command_buffer/client:gl_in_process_context
43 'target_name': 'gl_in_process_context', 44 'target_name': 'gl_in_process_context',
44 'type': '<(component)', 45 'type': '<(component)',
45 'dependencies': [ 46 'dependencies': [
46 'command_buffer/command_buffer.gyp:gles2_utils', 47 'command_buffer/command_buffer.gyp:gles2_utils',
47 'gles2_implementation', 48 'gles2_implementation',
48 'gpu', 49 'gpu',
49 '../base/base.gyp:base', 50 '../base/base.gyp:base',
50 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 51 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
51 '../ui/gfx/gfx.gyp:gfx_geometry', 52 '../ui/gfx/gfx.gyp:gfx_geometry',
52 '../ui/gl/gl.gyp:gl', 53 '../ui/gl/gl.gyp:gl',
54 '../ui/gl/init/gl_init.gyp:gl_init',
53 ], 55 ],
54 'defines': [ 56 'defines': [
55 'GL_IN_PROCESS_CONTEXT_IMPLEMENTATION', 57 'GL_IN_PROCESS_CONTEXT_IMPLEMENTATION',
56 ], 58 ],
57 'sources': [ 59 'sources': [
58 'command_buffer/client/gl_in_process_context.cc', 60 'command_buffer/client/gl_in_process_context.cc',
59 'command_buffer/client/gl_in_process_context.h', 61 'command_buffer/client/gl_in_process_context.h',
60 'command_buffer/client/gl_in_process_context_export.h', 62 'command_buffer/client/gl_in_process_context_export.h',
61 ], 63 ],
62 }, 64 },
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 '../base/base.gyp:base', 161 '../base/base.gyp:base',
160 '../base/base.gyp:test_support_base', 162 '../base/base.gyp:test_support_base',
161 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 163 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
162 '../testing/gmock.gyp:gmock', 164 '../testing/gmock.gyp:gmock',
163 '../testing/gtest.gyp:gtest', 165 '../testing/gtest.gyp:gtest',
164 '<(angle_path)/src/angle.gyp:translator', 166 '<(angle_path)/src/angle.gyp:translator',
165 '../ui/gfx/gfx.gyp:gfx', 167 '../ui/gfx/gfx.gyp:gfx',
166 '../ui/gfx/gfx.gyp:gfx_geometry', 168 '../ui/gfx/gfx.gyp:gfx_geometry',
167 '../ui/gfx/gfx.gyp:gfx_test_support', 169 '../ui/gfx/gfx.gyp:gfx_test_support',
168 '../ui/gl/gl.gyp:gl', 170 '../ui/gl/gl.gyp:gl',
171 '../ui/gl/init/gl_init.gyp:gl_init',
169 '../ui/gl/gl.gyp:gl_test_support', 172 '../ui/gl/gl.gyp:gl_test_support',
170 'command_buffer/command_buffer.gyp:gles2_utils', 173 'command_buffer/command_buffer.gyp:gles2_utils',
171 'command_buffer_client', 174 'command_buffer_client',
172 'command_buffer_common', 175 'command_buffer_common',
173 'command_buffer_service', 176 'command_buffer_service',
174 'gpu', 177 'gpu',
175 'gpu_unittest_utils', 178 'gpu_unittest_utils',
176 'gl_in_process_context', 179 'gl_in_process_context',
177 'gles2_implementation', 180 'gles2_implementation',
178 'gles2_cmd_helper', 181 'gles2_cmd_helper',
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 '../base/base.gyp:base', 314 '../base/base.gyp:base',
312 '../base/base.gyp:run_all_unittests', 315 '../base/base.gyp:run_all_unittests',
313 '../base/base.gyp:test_support_base', 316 '../base/base.gyp:test_support_base',
314 '../ipc/ipc.gyp:test_support_ipc', 317 '../ipc/ipc.gyp:test_support_ipc',
315 '../skia/skia.gyp:skia', 318 '../skia/skia.gyp:skia',
316 '../testing/gtest.gyp:gtest', 319 '../testing/gtest.gyp:gtest',
317 '../testing/gmock.gyp:gmock', 320 '../testing/gmock.gyp:gmock',
318 '../third_party/mesa/mesa.gyp:mesa_headers', 321 '../third_party/mesa/mesa.gyp:mesa_headers',
319 '../ui/gfx/gfx.gyp:gfx_test_support', 322 '../ui/gfx/gfx.gyp:gfx_test_support',
320 '../ui/gl/gl.gyp:gl', 323 '../ui/gl/gl.gyp:gl',
324 '../ui/gl/init/gl_init.gyp:gl_init',
321 '../ui/gl/gl.gyp:gl_unittest_utils', 325 '../ui/gl/gl.gyp:gl_unittest_utils',
322 '../ui/gl/gl.gyp:gl_test_support', 326 '../ui/gl/gl.gyp:gl_test_support',
323 '../url/url.gyp:url_lib', 327 '../url/url.gyp:url_lib',
324 'command_buffer_common', 328 'command_buffer_common',
325 'command_buffer_service', 329 'command_buffer_service',
326 'gpu_config', 330 'gpu_config',
327 'gpu_ipc_common', 331 'gpu_ipc_common',
328 'gpu_ipc_service', 332 'gpu_ipc_service',
329 'gpu_ipc_service_test_support', 333 'gpu_ipc_service_test_support',
330 ], 334 ],
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 'target_name': 'gpu_perftests', 367 'target_name': 'gpu_perftests',
364 'type': '<(gtest_target_type)', 368 'type': '<(gtest_target_type)',
365 'dependencies': [ 369 'dependencies': [
366 '../base/base.gyp:base', 370 '../base/base.gyp:base',
367 '../base/base.gyp:test_support_base', 371 '../base/base.gyp:test_support_base',
368 '../testing/gmock.gyp:gmock', 372 '../testing/gmock.gyp:gmock',
369 '../testing/gtest.gyp:gtest', 373 '../testing/gtest.gyp:gtest',
370 '../testing/perf/perf_test.gyp:perf_test', 374 '../testing/perf/perf_test.gyp:perf_test',
371 '../ui/gfx/gfx.gyp:gfx_geometry', 375 '../ui/gfx/gfx.gyp:gfx_geometry',
372 '../ui/gl/gl.gyp:gl', 376 '../ui/gl/gl.gyp:gl',
377 '../ui/gl/init/gl_init.gyp:gl_init',
373 'command_buffer_service', 378 'command_buffer_service',
374 ], 379 ],
375 'sources': [ 380 'sources': [
376 'perftests/measurements.cc', 381 'perftests/measurements.cc',
377 'perftests/run_all_tests.cc', 382 'perftests/run_all_tests.cc',
378 'perftests/texture_upload_perftest.cc', 383 'perftests/texture_upload_perftest.cc',
379 ], 384 ],
380 'conditions': [ 385 'conditions': [
381 ['OS == "android"', 386 ['OS == "android"',
382 { 387 {
(...skipping 12 matching lines...) Expand all
395 '../base/base.gyp:base', 400 '../base/base.gyp:base',
396 '../base/base.gyp:test_support_base', 401 '../base/base.gyp:test_support_base',
397 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 402 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
398 '../testing/gmock.gyp:gmock', 403 '../testing/gmock.gyp:gmock',
399 '../testing/gtest.gyp:gtest', 404 '../testing/gtest.gyp:gtest',
400 '<(angle_path)/src/angle.gyp:translator', 405 '<(angle_path)/src/angle.gyp:translator',
401 '../ui/gfx/gfx.gyp:gfx', 406 '../ui/gfx/gfx.gyp:gfx',
402 '../ui/gfx/gfx.gyp:gfx_test_support', 407 '../ui/gfx/gfx.gyp:gfx_test_support',
403 '../ui/gfx/gfx.gyp:gfx_geometry', 408 '../ui/gfx/gfx.gyp:gfx_geometry',
404 '../ui/gl/gl.gyp:gl', 409 '../ui/gl/gl.gyp:gl',
410 '../ui/gl/init/gl_init.gyp:gl_init',
405 'command_buffer/command_buffer.gyp:gles2_utils', 411 'command_buffer/command_buffer.gyp:gles2_utils',
406 'command_buffer_client', 412 'command_buffer_client',
407 'command_buffer_common', 413 'command_buffer_common',
408 'command_buffer_service', 414 'command_buffer_service',
409 'gpu', 415 'gpu',
410 'gpu_unittest_utils', 416 'gpu_unittest_utils',
411 'gles2_implementation', 417 'gles2_implementation',
412 'gles2_cmd_helper', 418 'gles2_cmd_helper',
413 'gles2_c_lib', 419 'gles2_c_lib',
414 #'gl_unittests', 420 #'gl_unittests',
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 { 519 {
514 # GN version: //gpu:command_buffer_gles2 520 # GN version: //gpu:command_buffer_gles2
515 'target_name': 'command_buffer_gles2', 521 'target_name': 'command_buffer_gles2',
516 'type': 'shared_library', 522 'type': 'shared_library',
517 'dependencies': [ 523 'dependencies': [
518 '../base/base.gyp:base', 524 '../base/base.gyp:base',
519 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', 525 '../gpu/command_buffer/command_buffer.gyp:gles2_utils',
520 '../gpu/gpu.gyp:command_buffer_service', 526 '../gpu/gpu.gyp:command_buffer_service',
521 '../ui/gfx/gfx.gyp:gfx_geometry', 527 '../ui/gfx/gfx.gyp:gfx_geometry',
522 '../ui/gl/gl.gyp:gl', 528 '../ui/gl/gl.gyp:gl',
529 '../ui/gl/init/gl_init.gyp:gl_init',
523 'command_buffer/command_buffer.gyp:gles2_utils', 530 'command_buffer/command_buffer.gyp:gles2_utils',
524 'gles2_c_lib', 531 'gles2_c_lib',
525 'gles2_implementation', 532 'gles2_implementation',
526 ], 533 ],
527 'sources': [ 534 'sources': [
528 # Note: sources list duplicated in GN build. 535 # Note: sources list duplicated in GN build.
529 # TODO(hendrikw): Move egl out of gles2_conform_support. 536 # TODO(hendrikw): Move egl out of gles2_conform_support.
530 'gles2_conform_support/egl/config.cc', 537 'gles2_conform_support/egl/config.cc',
531 'gles2_conform_support/egl/config.h', 538 'gles2_conform_support/egl/config.h',
532 'gles2_conform_support/egl/context.cc', 539 'gles2_conform_support/egl/context.cc',
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
1198 ], 1205 ],
1199 'sources': [ 1206 'sources': [
1200 'gpu_unittests_apk.isolate', 1207 'gpu_unittests_apk.isolate',
1201 ], 1208 ],
1202 }, 1209 },
1203 ], 1210 ],
1204 }, 1211 },
1205 ], 1212 ],
1206 ], 1213 ],
1207 } 1214 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698