| 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 # per-toolset for the "component" variable is hard, and we really only | 95 # per-toolset for the "component" variable is hard, and we really only |
| 96 # need base on host. | 96 # need base on host. |
| 97 'type': 'static_library', | 97 'type': 'static_library', |
| 98 # Base for host support is the minimum required to run the | 98 # Base for host support is the minimum required to run the |
| 99 # ssl false start blacklist tool. It requires further changes | 99 # ssl false start blacklist tool. It requires further changes |
| 100 # to generically support host builds (and tests). | 100 # to generically support host builds (and tests). |
| 101 # Note: when building for host, gyp has OS == "android", | 101 # Note: when building for host, gyp has OS == "android", |
| 102 # hence the *_android.cc files are included but the actual code | 102 # hence the *_android.cc files are included but the actual code |
| 103 # doesn't have OS_ANDROID / ANDROID defined. | 103 # doesn't have OS_ANDROID / ANDROID defined. |
| 104 'conditions': [ | 104 'conditions': [ |
| 105 # Host build on linux depends on system.gyp::gtk as | |
| 106 # default linux build has TOOLKIT_GTK defined. | |
| 107 ['host_os == "linux"', { | |
| 108 'sources/': [ | |
| 109 ['include', '^atomicops_internals_x86_gcc\\.cc$'], | |
| 110 ], | |
| 111 'dependencies': [ | |
| 112 '../build/linux/system.gyp:gtk', | |
| 113 ], | |
| 114 'export_dependent_settings': [ | |
| 115 '../build/linux/system.gyp:gtk', | |
| 116 ], | |
| 117 }], | |
| 118 ['host_os == "mac"', { | 105 ['host_os == "mac"', { |
| 119 'sources/': [ | 106 'sources/': [ |
| 120 ['exclude', '^native_library_linux\\.cc$'], | 107 ['exclude', '^native_library_linux\\.cc$'], |
| 121 ['exclude', '^process_util_linux\\.cc$'], | 108 ['exclude', '^process_util_linux\\.cc$'], |
| 122 ['exclude', '^sys_info_linux\\.cc$'], | 109 ['exclude', '^sys_info_linux\\.cc$'], |
| 123 ['exclude', '^sys_string_conversions_linux\\.cc$'], | 110 ['exclude', '^sys_string_conversions_linux\\.cc$'], |
| 124 ['exclude', '^worker_pool_linux\\.cc$'], | 111 ['exclude', '^worker_pool_linux\\.cc$'], |
| 125 ], | 112 ], |
| 126 }], | 113 }], |
| 127 ], | 114 ], |
| (...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1444 'base_unittests.isolate', | 1431 'base_unittests.isolate', |
| 1445 ], | 1432 ], |
| 1446 'sources': [ | 1433 'sources': [ |
| 1447 'base_unittests.isolate', | 1434 'base_unittests.isolate', |
| 1448 ], | 1435 ], |
| 1449 }, | 1436 }, |
| 1450 ], | 1437 ], |
| 1451 }], | 1438 }], |
| 1452 ], | 1439 ], |
| 1453 } | 1440 } |
| OLD | NEW |