| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'base.gypi', | 10 'base.gypi', |
| 11 ], | 11 ], |
| 12 'targets': [ | 12 'targets': [ |
| 13 { | 13 { |
| 14 'target_name': 'base_i18n', | 14 'target_name': 'base_i18n', |
| 15 'type': '<(library)', | 15 'type': '<(library)', |
| 16 'msvs_guid': '968F3222-9798-4D21-BE08-15ECB5EF2994', | 16 'msvs_guid': '968F3222-9798-4D21-BE08-15ECB5EF2994', |
| 17 'dependencies': [ | 17 'dependencies': [ |
| 18 'base', | 18 'base', |
| 19 '../third_party/icu/icu.gyp:icui18n', | 19 '../third_party/icu/icu.gyp:icui18n', |
| 20 '../third_party/icu/icu.gyp:icuuc', | 20 '../third_party/icu/icu.gyp:icuuc', |
| 21 ], | 21 ], |
| 22 'conditions': [ | 22 'conditions': [ |
| 23 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 23 ['toolkit_uses_gtk==1', { |
| 24 'dependencies': [ | 24 'dependencies': [ |
| 25 # i18n/rtl.cc uses gtk | 25 # i18n/rtl.cc uses gtk |
| 26 '../build/linux/system.gyp:gtk', | 26 '../build/linux/system.gyp:gtk', |
| 27 ], | 27 ], |
| 28 }], | 28 }], |
| 29 ], | 29 ], |
| 30 'export_dependent_settings': [ | 30 'export_dependent_settings': [ |
| 31 'base', | 31 'base', |
| 32 ], | 32 ], |
| 33 'sources': [ | 33 'sources': [ |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 'dependencies': [ | 226 'dependencies': [ |
| 227 'base', | 227 'base', |
| 228 'base_i18n', | 228 'base_i18n', |
| 229 'base_static', | 229 'base_static', |
| 230 'test_support_base', | 230 'test_support_base', |
| 231 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', | 231 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', |
| 232 '../testing/gmock.gyp:gmock', | 232 '../testing/gmock.gyp:gmock', |
| 233 '../testing/gtest.gyp:gtest', | 233 '../testing/gtest.gyp:gtest', |
| 234 ], | 234 ], |
| 235 'conditions': [ | 235 'conditions': [ |
| 236 ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"
', { | 236 ['toolkit_uses_gtk==1', { |
| 237 'sources!': [ | 237 'sources!': [ |
| 238 'file_version_info_unittest.cc', | 238 'file_version_info_unittest.cc', |
| 239 ], | 239 ], |
| 240 'sources': [ | 240 'sources': [ |
| 241 'nix/xdg_util_unittest.cc', | 241 'nix/xdg_util_unittest.cc', |
| 242 ], | 242 ], |
| 243 'conditions': [ | 243 'conditions': [ |
| 244 [ 'linux_use_tcmalloc==1', { | 244 [ 'linux_use_tcmalloc==1', { |
| 245 'dependencies': [ | 245 'dependencies': [ |
| 246 'allocator/allocator.gyp:allocator', | 246 'allocator/allocator.gyp:allocator', |
| 247 ], | 247 ], |
| 248 }, | 248 }, |
| 249 ], | 249 ], |
| 250 ['gcc_version==44', { | 250 ['gcc_version==44', { |
| 251 # Avoid gcc 4.4 strict aliasing issues in stl_tree.h when | 251 # Avoid gcc 4.4 strict aliasing issues in stl_tree.h when |
| 252 # building mru_cache_unittest.cc. | 252 # building mru_cache_unittest.cc. |
| 253 'cflags': [ | 253 'cflags': [ |
| 254 '-fno-strict-aliasing', | 254 '-fno-strict-aliasing', |
| 255 ], | 255 ], |
| 256 }], | 256 }], |
| 257 ], | 257 ], |
| 258 'dependencies': [ | 258 'dependencies': [ |
| 259 '../build/linux/system.gyp:gtk', | 259 '../build/linux/system.gyp:gtk', |
| 260 '../build/linux/system.gyp:nss', | 260 '../build/linux/system.gyp:nss', |
| 261 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 261 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 262 ], | 262 ], |
| 263 }, { # OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS !=
"solaris" | 263 }, { # toolkit_uses_gtk!=1 |
| 264 'sources!': [ | 264 'sources!': [ |
| 265 'message_pump_glib_unittest.cc', | 265 'message_pump_glib_unittest.cc', |
| 266 ] | 266 ] |
| 267 }], | 267 }], |
| 268 # This is needed to trigger the dll copy step on windows. | 268 # This is needed to trigger the dll copy step on windows. |
| 269 # TODO(mark): This should not be necessary. | 269 # TODO(mark): This should not be necessary. |
| 270 ['OS == "win"', { | 270 ['OS == "win"', { |
| 271 'dependencies': [ | 271 'dependencies': [ |
| 272 '../third_party/icu/icu.gyp:icudata', | 272 '../third_party/icu/icu.gyp:icudata', |
| 273 ], | 273 ], |
| (...skipping 22 matching lines...) Expand all Loading... |
| 296 'base', | 296 'base', |
| 297 'base_static', | 297 'base_static', |
| 298 'base_i18n', | 298 'base_i18n', |
| 299 '../testing/gmock.gyp:gmock', | 299 '../testing/gmock.gyp:gmock', |
| 300 '../testing/gtest.gyp:gtest', | 300 '../testing/gtest.gyp:gtest', |
| 301 ], | 301 ], |
| 302 'export_dependent_settings': [ | 302 'export_dependent_settings': [ |
| 303 'base', | 303 'base', |
| 304 ], | 304 ], |
| 305 'conditions': [ | 305 'conditions': [ |
| 306 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 306 ['toolkit_uses_gtk==1', { |
| 307 'dependencies': [ | 307 'dependencies': [ |
| 308 # test_suite initializes GTK. | 308 # test_suite initializes GTK. |
| 309 '../build/linux/system.gyp:gtk', | 309 '../build/linux/system.gyp:gtk', |
| 310 ], | 310 ], |
| 311 }], | 311 }], |
| 312 ], | 312 ], |
| 313 'sources': [ | 313 'sources': [ |
| 314 'perftimer.cc', | 314 'perftimer.cc', |
| 315 'test/mock_chrome_application_mac.h', | 315 'test/mock_chrome_application_mac.h', |
| 316 'test/mock_chrome_application_mac.mm', | 316 'test/mock_chrome_application_mac.mm', |
| (...skipping 24 matching lines...) Expand all Loading... |
| 341 'sources': [ | 341 'sources': [ |
| 342 'perftimer.cc', | 342 'perftimer.cc', |
| 343 'test/run_all_perftests.cc', | 343 'test/run_all_perftests.cc', |
| 344 ], | 344 ], |
| 345 'direct_dependent_settings': { | 345 'direct_dependent_settings': { |
| 346 'defines': [ | 346 'defines': [ |
| 347 'PERF_TEST', | 347 'PERF_TEST', |
| 348 ], | 348 ], |
| 349 }, | 349 }, |
| 350 'conditions': [ | 350 'conditions': [ |
| 351 ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"
', { | 351 ['toolkit_uses_gtk==1', { |
| 352 'dependencies': [ | 352 'dependencies': [ |
| 353 # Needed to handle the #include chain: | 353 # Needed to handle the #include chain: |
| 354 # base/test/perf_test_suite.h | 354 # base/test/perf_test_suite.h |
| 355 # base/test/test_suite.h | 355 # base/test/test_suite.h |
| 356 # gtk/gtk.h | 356 # gtk/gtk.h |
| 357 '../build/linux/system.gyp:gtk', | 357 '../build/linux/system.gyp:gtk', |
| 358 ], | 358 ], |
| 359 }], | 359 }], |
| 360 ], | 360 ], |
| 361 }, | 361 }, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 378 ], | 378 ], |
| 379 }], | 379 }], |
| 380 ], | 380 ], |
| 381 } | 381 } |
| 382 | 382 |
| 383 # Local Variables: | 383 # Local Variables: |
| 384 # tab-width:2 | 384 # tab-width:2 |
| 385 # indent-tabs-mode:nil | 385 # indent-tabs-mode:nil |
| 386 # End: | 386 # End: |
| 387 # vim: set expandtab tabstop=2 shiftwidth=2: | 387 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |