OLD | NEW |
1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'browser', | 8 'target_name': 'browser', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'variables': { 'enable_wexit_time_destructors': 1, }, | 10 'variables': { 'enable_wexit_time_destructors': 1, }, |
(...skipping 3335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3346 'browser/user_data_dir_extractor.cc', | 3346 'browser/user_data_dir_extractor.cc', |
3347 ], | 3347 ], |
3348 'conditions': [ | 3348 'conditions': [ |
3349 ['win_use_allocator_shim==1', { | 3349 ['win_use_allocator_shim==1', { |
3350 'dependencies': [ | 3350 'dependencies': [ |
3351 '<(allocator_target)', | 3351 '<(allocator_target)', |
3352 ], | 3352 ], |
3353 }], | 3353 }], |
3354 ], | 3354 ], |
3355 }, { # 'OS!="win" | 3355 }, { # 'OS!="win" |
3356 'sources/': [ | 3356 'sources/': [ |
3357 # Exclude files that should be excluded for all non-Windows platform
s. | 3357 # Exclude files that should be excluded for all non-Windows platform
s. |
3358 ['exclude', '^browser/first_run/try_chrome_dialog_view.cc'], | 3358 ['exclude', '^browser/first_run/try_chrome_dialog_view.cc'], |
3359 ['exclude', '^browser/first_run/try_chrome_dialog_view.h'], | 3359 ['exclude', '^browser/first_run/try_chrome_dialog_view.h'], |
3360 | 3360 |
3361 # Exclude all of hang_monitor. | 3361 # Exclude all of hang_monitor. |
3362 ['exclude', '^browser/hang_monitor/'], | 3362 ['exclude', '^browser/hang_monitor/'], |
3363 ], | 3363 ], |
3364 'conditions': [ | 3364 'conditions': [ |
3365 ['use_aura==1', { | 3365 ['use_aura==1', { |
3366 'dependencies': [ | 3366 'dependencies': [ |
3367 '../build/linux/system.gyp:dbus', | |
3368 '../build/linux/system.gyp:fontconfig', | |
3369 '../build/linux/system.gyp:x11', | |
3370 '../dbus/dbus.gyp:dbus', | |
3371 '../ui/views/controls/webview/webview.gyp:webview', | 3367 '../ui/views/controls/webview/webview.gyp:webview', |
3372 '../ui/views/views.gyp:views', | 3368 '../ui/views/views.gyp:views', |
3373 ], | 3369 ], |
3374 'include_dirs': [ | 3370 'include_dirs': [ |
3375 '<(INTERMEDIATE_DIR)', | 3371 '<(INTERMEDIATE_DIR)', |
3376 '<(INTERMEDIATE_DIR)/chrome', | 3372 '<(INTERMEDIATE_DIR)/chrome', |
3377 ], | 3373 ], |
3378 'sources/': [ | 3374 'sources/': [ |
3379 ['exclude', '^browser/platform_util_common_linux.cc'], | |
3380 ['include', '^browser/printing/print_dialog_cloud.cc'], | 3375 ['include', '^browser/printing/print_dialog_cloud.cc'], |
3381 ['include', '^browser/printing/print_dialog_cloud.h'], | 3376 ['include', '^browser/printing/print_dialog_cloud.h'], |
3382 ], | 3377 ], |
3383 }], | 3378 }], |
3384 # GTK build only | |
3385 ['toolkit_uses_gtk==1', { | |
3386 'sources/': [ | |
3387 ['exclude', '^browser/lifetime/application_lifetime_stub.cc'], | |
3388 ], | |
3389 }], | |
3390 ['gcc_version == 45', { | 3379 ['gcc_version == 45', { |
3391 # Avoid gcc 4.5 miscompilation of template_url.cc | 3380 # Avoid gcc 4.5 miscompilation of template_url.cc |
3392 # as per http://crbug.com/41887 | 3381 # as per http://crbug.com/41887 |
3393 'cflags': [ | 3382 'cflags': [ |
3394 '-fno-ipa-cp', | 3383 '-fno-ipa-cp', |
3395 ], | 3384 ], |
3396 }], | 3385 }], |
3397 ], | 3386 ], |
3398 }], | 3387 }], |
| 3388 ['OS=="linux"', { |
| 3389 'conditions': [ |
| 3390 ['use_aura==1', { |
| 3391 'dependencies': [ |
| 3392 '../build/linux/system.gyp:dbus', |
| 3393 '../build/linux/system.gyp:fontconfig', |
| 3394 '../build/linux/system.gyp:x11', |
| 3395 '../dbus/dbus.gyp:dbus', |
| 3396 ], |
| 3397 'sources/': [ |
| 3398 ['exclude', '^browser/platform_util_common_linux.cc'], |
| 3399 ], |
| 3400 }], |
| 3401 # GTK build only |
| 3402 ['toolkit_uses_gtk==1', { |
| 3403 'sources/': [ |
| 3404 ['exclude', '^browser/lifetime/application_lifetime_stub.cc'], |
| 3405 ], |
| 3406 }], |
| 3407 ], |
| 3408 }], |
3399 ['enable_plugin_installation==0', { | 3409 ['enable_plugin_installation==0', { |
3400 'sources!': [ | 3410 'sources!': [ |
3401 'browser/plugins/plugin_installer.cc', | 3411 'browser/plugins/plugin_installer.cc', |
3402 'browser/plugins/plugin_installer.h', | 3412 'browser/plugins/plugin_installer.h', |
3403 'browser/plugins/plugin_installer_observer.cc', | 3413 'browser/plugins/plugin_installer_observer.cc', |
3404 'browser/plugins/plugin_installer_observer.h', | 3414 'browser/plugins/plugin_installer_observer.h', |
3405 'browser/plugins/plugins_resource_service.cc', | 3415 'browser/plugins/plugins_resource_service.cc', |
3406 'browser/plugins/plugins_resource_service.h', | 3416 'browser/plugins/plugins_resource_service.h', |
3407 ], | 3417 ], |
3408 }], | 3418 }], |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3636 'package_name': 'org/chromium/chrome/browser/ui/toolbar', | 3646 'package_name': 'org/chromium/chrome/browser/ui/toolbar', |
3637 'template_deps': ['browser/ui/toolbar/toolbar_model_security_level_l
ist.h'], | 3647 'template_deps': ['browser/ui/toolbar/toolbar_model_security_level_l
ist.h'], |
3638 }, | 3648 }, |
3639 'includes': [ '../build/android/java_cpp_template.gypi' ], | 3649 'includes': [ '../build/android/java_cpp_template.gypi' ], |
3640 }, | 3650 }, |
3641 ], | 3651 ], |
3642 }, | 3652 }, |
3643 ], | 3653 ], |
3644 ], | 3654 ], |
3645 } | 3655 } |
OLD | NEW |