OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 9 'includes': [ |
| 10 '../native_client/build/untrusted.gypi', |
| 11 'gpu_common.gypi', |
| 12 ], |
| 13 'conditions': [ |
| 14 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
| 15 'targets': [ |
| 16 { |
| 17 'target_name': 'gles2_implementation_untrusted', |
| 18 'type': 'none', |
| 19 'variables': { |
| 20 'nacl_untrusted_build': 1, |
| 21 'nlib_target': 'libgles2_implementation_untrusted.a', |
| 22 'build_glibc': 0, |
| 23 'build_newlib': 1, |
| 24 }, |
| 25 'all_dependent_settings': { |
| 26 'include_dirs': [ |
| 27 '<(DEPTH)/third_party/khronos', |
| 28 ], |
| 29 }, |
| 30 'defines': [ |
| 31 'GLES2_IMPL_IMPLEMENTATION', |
| 32 ], |
| 33 'sources': [ |
| 34 '<@(gles2_implementation_source_files)', |
| 35 ], |
| 36 'dependencies': [ |
| 37 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 38 '../base/base_untrusted.gyp:base_untrusted', |
| 39 'command_buffer/command_buffer_untrusted.gyp:gles2_utils_untrusted', |
| 40 'gles2_cmd_helper_untrusted', |
| 41 ], |
| 42 }, |
| 43 { |
| 44 'target_name': 'command_buffer_common_untrusted', |
| 45 'type': 'none', |
| 46 'variables': { |
| 47 'nacl_untrusted_build': 1, |
| 48 'nlib_target': 'libcommand_buffer_common_untrusted.a', |
| 49 'build_glibc': 0, |
| 50 'build_newlib': 1, |
| 51 }, |
| 52 'includes': [ |
| 53 'command_buffer_common.gypi', |
| 54 ], |
| 55 'dependencies': [ |
| 56 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 57 '../base/base_untrusted.gyp:base_untrusted', |
| 58 'command_buffer/command_buffer_untrusted.gyp:gles2_utils_untrusted', |
| 59 ], |
| 60 }, |
| 61 { |
| 62 'target_name': 'gles2_cmd_helper_untrusted', |
| 63 'type': 'none', |
| 64 'variables': { |
| 65 'nacl_untrusted_build': 1, |
| 66 'nlib_target': 'libgles2_cmd_helper_untrusted.a', |
| 67 'build_glibc': 0, |
| 68 'build_newlib': 1, |
| 69 }, |
| 70 'includes': [ |
| 71 'gles2_cmd_helper.gypi', |
| 72 ], |
| 73 'dependencies': [ |
| 74 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 75 '../base/base_untrusted.gyp:base_untrusted', |
| 76 'command_buffer_client_untrusted', |
| 77 ], |
| 78 }, |
| 79 { |
| 80 'target_name': 'command_buffer_client_untrusted', |
| 81 'type': 'none', |
| 82 'variables': { |
| 83 'nacl_untrusted_build': 1, |
| 84 'nlib_target': 'libcommand_buffer_client_untrusted.a', |
| 85 'build_glibc': 0, |
| 86 'build_newlib': 1, |
| 87 }, |
| 88 'includes': [ |
| 89 'command_buffer_client.gypi', |
| 90 ], |
| 91 'dependencies': [ |
| 92 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 93 '../base/base_untrusted.gyp:base_untrusted', |
| 94 'command_buffer_common_untrusted', |
| 95 ], |
| 96 }, |
| 97 { |
| 98 'target_name': 'gpu_ipc_untrusted', |
| 99 'type': 'none', |
| 100 'variables': { |
| 101 'nacl_untrusted_build': 1, |
| 102 'nlib_target': 'libgpu_ipc_untrusted.a', |
| 103 'build_glibc': 0, |
| 104 'build_newlib': 1, |
| 105 }, |
| 106 'includes': [ |
| 107 'gpu_ipc.gypi', |
| 108 ], |
| 109 'dependencies': [ |
| 110 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 111 '../base/base_untrusted.gyp:base_untrusted', |
| 112 'command_buffer_common_untrusted', |
| 113 ], |
| 114 }, |
| 115 ], |
| 116 }], |
| 117 ], |
| 118 } |
OLD | NEW |