OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef CHROME_GPU_GPU_CONFIG_H_ | 5 #ifndef CHROME_GPU_GPU_CONFIG_H_ |
6 #define CHROME_GPU_GPU_CONFIG_H_ | 6 #define CHROME_GPU_GPU_CONFIG_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 // This file declares common preprocessor configuration for the GPU process. | 9 // This file declares common preprocessor configuration for the GPU process. |
10 | 10 |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 | 12 |
13 #if defined(OS_LINUX) && !defined(ARCH_CPU_ARMEL) | |
14 | |
15 // Only define GLX support for Intel CPUs for now until we can get the | |
16 // proper dependencies and build setup for ARM. | |
17 #define GPU_USE_GLX | |
18 | |
19 #endif | |
20 | |
21 #endif // CHROME_GPU_GPU_CONFIG_H_ | 13 #endif // CHROME_GPU_GPU_CONFIG_H_ |
OLD | NEW |