OLD | NEW |
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 'target_defaults': { | 6 'target_defaults': { |
7 'variables': { | 7 'variables': { |
8 'gles2_utils_target': 0, | 8 'gles2_utils_target': 0, |
9 }, | 9 }, |
10 'target_conditions': [ | 10 'target_conditions': [ |
11 # This part is shared between the targets defined below. | 11 # This part is shared between the targets defined below. |
12 ['gles2_utils_target==1', { | 12 ['gles2_utils_target==1', { |
13 'defines': [ | 13 'defines': [ |
14 'GLES2_UTILS_IMPLEMENTATION', | 14 'GLES2_UTILS_IMPLEMENTATION', |
15 ], | 15 ], |
16 'sources': [ | 16 'sources': [ |
17 'common/gles2_cmd_format.h', | 17 'common/gles2_cmd_format.h', |
18 'common/gles2_cmd_utils.cc', | 18 'common/gles2_cmd_utils.cc', |
19 'common/gles2_cmd_utils.h', | 19 'common/gles2_cmd_utils.h', |
20 'common/gles2_utils_export.h', | 20 'common/gles2_utils_export.h', |
21 'common/logging.cc', | 21 'common/logging.cc', |
22 'common/logging.h', | 22 'common/logging.h', |
23 ], | 23 ], |
| 24 'conditions': [ |
| 25 ['OS=="android"', { |
| 26 'sources!': [ |
| 27 'common/logging.cc', |
| 28 ], |
| 29 'sources': [ |
| 30 'common/logging_android.cc', |
| 31 ], |
| 32 }], |
| 33 ], |
24 }], | 34 }], |
25 ], | 35 ], |
26 }, | 36 }, |
27 } | 37 } |
OLD | NEW |