| Index: ui/ozone/gpu/ozone_gpu.gyp
|
| diff --git a/ui/ozone/gpu/ozone_gpu.gyp b/ui/ozone/gpu/ozone_gpu.gyp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f0f173e1e4b82c48eb999d0947500c659a58c39d
|
| --- /dev/null
|
| +++ b/ui/ozone/gpu/ozone_gpu.gyp
|
| @@ -0,0 +1,63 @@
|
| +# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +{
|
| + 'variables': {
|
| + 'chromium_code': 1,
|
| + },
|
| + 'targets': [
|
| + {
|
| + 'target_name': 'ozone_gpu',
|
| + 'type': '<(component)',
|
| + 'dependencies': [
|
| + '../../../base/base.gyp:base',
|
| + '../ozone.gyp:ozone',
|
| + ],
|
| + 'defines': [
|
| + 'OZONE_GPU_IMPLEMENTATION',
|
| + ],
|
| + 'variables': {
|
| + 'platform_list_txt_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/platform_list.txt',
|
| + 'constructor_list_cc_file': '<(INTERMEDIATE_DIR)/ui/ozone/gpu/constructor_list.cc',
|
| + },
|
| + 'include_dirs': [
|
| + '<(SHARED_INTERMEDIATE_DIR)',
|
| + ],
|
| + 'sources': [
|
| + '<(constructor_list_cc_file)',
|
| + 'gpu_platform_support.cc',
|
| + 'gpu_platform_support.h',
|
| + 'gpu_platform_support_host.cc',
|
| + 'gpu_platform_support_host.h',
|
| + ],
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'generate_constructor_list',
|
| + 'variables': {
|
| + 'generator_path': '../generate_constructor_list.py',
|
| + },
|
| + 'inputs': [
|
| + '<(generator_path)',
|
| + '<(platform_list_txt_file)',
|
| + ],
|
| + 'outputs': [
|
| + '<(constructor_list_cc_file)',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + '<(generator_path)',
|
| + '--platform_list=<(platform_list_txt_file)',
|
| + '--output_cc=<(constructor_list_cc_file)',
|
| + '--namespace=ui',
|
| + '--export=OZONE_GPU_EXPORT',
|
| + '--typename=GpuPlatformSupport',
|
| + '--typename=GpuPlatformSupportHost',
|
| + '--include="ui/ozone/gpu/gpu_platform_support.h"',
|
| + '--include="ui/ozone/gpu/gpu_platform_support_host.h"',
|
| + ],
|
| + },
|
| + ],
|
| + },
|
| + ],
|
| +}
|
|
|