| OLD | NEW |
| 1 # Copyright (c) 2011 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 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'gles2_utils', | 11 'target_name': 'gles2_utils', |
| 12 'type': 'static_library', | 12 'type': '<(component)', |
| 13 'include_dirs': [ | 13 'include_dirs': [ |
| 14 '<(DEPTH)/third_party/khronos', | 14 '<(DEPTH)/third_party/khronos', |
| 15 ], | 15 ], |
| 16 'all_dependent_settings': { | 16 'all_dependent_settings': { |
| 17 'include_dirs': [ | 17 'include_dirs': [ |
| 18 '<(DEPTH)/third_party/khronos', | 18 '<(DEPTH)/third_party/khronos', |
| 19 ], | 19 ], |
| 20 }, | 20 }, |
| 21 'dependencies': [ | 21 'dependencies': [ |
| 22 '../../base/base.gyp:base', | 22 '../../base/base.gyp:base', |
| 23 ], | 23 ], |
| 24 'export_dependent_settings': [ | 24 'export_dependent_settings': [ |
| 25 '../../base/base.gyp:base', | 25 '../../base/base.gyp:base', |
| 26 ], | 26 ], |
| 27 'defines': [ |
| 28 'GLES2_UTILS_IMPLEMENTATION', |
| 29 ], |
| 27 'sources': [ | 30 'sources': [ |
| 28 'common/gles2_cmd_format.h', | 31 'common/gles2_cmd_format.h', |
| 29 'common/gles2_cmd_utils.cc', | 32 'common/gles2_cmd_utils.cc', |
| 30 'common/gles2_cmd_utils.h', | 33 'common/gles2_cmd_utils.h', |
| 34 'common/gles2_utils_export.h', |
| 31 'common/logging.cc', | 35 'common/logging.cc', |
| 32 'common/logging.h', | 36 'common/logging.h', |
| 33 ], | 37 ], |
| 34 }, | 38 }, |
| 35 ], | 39 ], |
| 36 } | 40 } |
| 37 | 41 |
| OLD | NEW |