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.
14 '<(DEPTH)/third_party/angle/include',
17 # TODO(ncarter): Does hlsl compilation belong in a shared location?
20 '<(INTERMEDIATE_DIR)/hlsl',
25 'fxc': '<(windows_sdk_path)/bin/x86/fxc.exe',
26 'h_file': '<(INTERMEDIATE_DIR)/hlsl/<(RULE_INPUT_ROOT)_hlsl_compiled.h',
27 'cc_file': '<(INTERMEDIATE_DIR)/hlsl/<(RULE_INPUT_ROOT)_hlsl_compiled.cc',
29 'rule_name': 'compile_hlsl',
42 '--shader_compiler_tool', '<(fxc)',
43 '--output_h_file', '<(h_file)',
44 '--output_cc_file', '<(cc_file)',
45 '--input_hlsl_file', '<(RULE_INPUT_PATH)',
47 'msvs_cygwin_shell': 0,
48 'message': 'Generating shaders from <(RULE_INPUT_PATH)',
49 'process_outputs_as_sources': 1,
57 'target_name': 'surface',
58 'type': '<(component)',
60 '<(DEPTH)/base/base.gyp:base',
61 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
62 '<(DEPTH)/media/media.gyp:media',
63 '<(DEPTH)/skia/skia.gyp:skia',
64 '<(DEPTH)/ui/gl/gl.gyp:gl',
65 '<(DEPTH)/ui/ui.gyp:ui',
68 'accelerated_surface_mac.cc',
69 'accelerated_surface_mac.h',
70 'accelerated_surface_transformer_win.cc',
71 'accelerated_surface_transformer_win.h',
72 'accelerated_surface_transformer_win.hlsl',
73 'accelerated_surface_win.cc',
74 'accelerated_surface_win.h',
77 'io_surface_support_mac.cc',
78 'io_surface_support_mac.h',
81 'surface_switches.cc',
84 'transport_dib_posix.cc',
85 'transport_dib_sysvipc.cc',
86 'transport_dib_win.cc',
89 'SURFACE_IMPLEMENTATION',
97 'target_name': 'surface_gpu_tests',
98 'type': '<(gtest_target_type)',
100 '<(DEPTH)/base/base.gyp:base',
101 '<(DEPTH)/base/base.gyp:run_all_unittests',
102 '<(DEPTH)/media/media.gyp:yuv_convert',
103 '<(DEPTH)/skia/skia.gyp:skia',
104 '<(DEPTH)/testing/gtest.gyp:gtest',
105 '<(DEPTH)/ui/ui.gyp:ui',
109 'accelerated_surface_transformer_win_unittest.cc',