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 3321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3332 'browser/user_data_dir_extractor.cc', | 3332 'browser/user_data_dir_extractor.cc', |
3333 ], | 3333 ], |
3334 'conditions': [ | 3334 'conditions': [ |
3335 ['win_use_allocator_shim==1', { | 3335 ['win_use_allocator_shim==1', { |
3336 'dependencies': [ | 3336 'dependencies': [ |
3337 '<(allocator_target)', | 3337 '<(allocator_target)', |
3338 ], | 3338 ], |
3339 }], | 3339 }], |
3340 ], | 3340 ], |
3341 }, { # 'OS!="win" | 3341 }, { # 'OS!="win" |
3342 'sources/': [ | 3342 'sources/': [ |
3343 # Exclude files that should be excluded for all non-Windows platform
s. | 3343 # Exclude files that should be excluded for all non-Windows platform
s. |
3344 ['exclude', '^browser/first_run/try_chrome_dialog_view.cc'], | 3344 ['exclude', '^browser/first_run/try_chrome_dialog_view.cc'], |
3345 ['exclude', '^browser/first_run/try_chrome_dialog_view.h'], | 3345 ['exclude', '^browser/first_run/try_chrome_dialog_view.h'], |
3346 | 3346 |
3347 # Exclude all of hang_monitor. | 3347 # Exclude all of hang_monitor. |
3348 ['exclude', '^browser/hang_monitor/'], | 3348 ['exclude', '^browser/hang_monitor/'], |
3349 ], | 3349 ], |
3350 'conditions': [ | 3350 'conditions': [ |
3351 ['use_aura==1', { | 3351 ['use_aura==1', { |
3352 'dependencies': [ | 3352 'dependencies': [ |
3353 '../build/linux/system.gyp:dbus', | |
3354 '../build/linux/system.gyp:fontconfig', | |
3355 '../build/linux/system.gyp:x11', | |
3356 '../dbus/dbus.gyp:dbus', | |
3357 '../ui/views/controls/webview/webview.gyp:webview', | 3353 '../ui/views/controls/webview/webview.gyp:webview', |
3358 '../ui/views/views.gyp:views', | 3354 '../ui/views/views.gyp:views', |
3359 ], | 3355 ], |
3360 'include_dirs': [ | 3356 'include_dirs': [ |
3361 '<(INTERMEDIATE_DIR)', | 3357 '<(INTERMEDIATE_DIR)', |
3362 '<(INTERMEDIATE_DIR)/chrome', | 3358 '<(INTERMEDIATE_DIR)/chrome', |
3363 ], | 3359 ], |
3364 'sources/': [ | 3360 'sources/': [ |
3365 ['exclude', '^browser/platform_util_common_linux.cc'], | |
3366 ['include', '^browser/printing/print_dialog_cloud.cc'], | 3361 ['include', '^browser/printing/print_dialog_cloud.cc'], |
3367 ['include', '^browser/printing/print_dialog_cloud.h'], | 3362 ['include', '^browser/printing/print_dialog_cloud.h'], |
3368 ], | 3363 ], |
3369 }], | 3364 }], |
3370 # GTK build only | |
3371 ['toolkit_uses_gtk==1', { | |
3372 'sources/': [ | |
3373 ['exclude', '^browser/lifetime/application_lifetime_stub.cc'], | |
3374 ], | |
3375 }], | |
3376 ['gcc_version == 45', { | 3365 ['gcc_version == 45', { |
3377 # Avoid gcc 4.5 miscompilation of template_url.cc | 3366 # Avoid gcc 4.5 miscompilation of template_url.cc |
3378 # as per http://crbug.com/41887 | 3367 # as per http://crbug.com/41887 |
3379 'cflags': [ | 3368 'cflags': [ |
3380 '-fno-ipa-cp', | 3369 '-fno-ipa-cp', |
3381 ], | 3370 ], |
3382 }], | 3371 }], |
3383 ], | 3372 ], |
3384 }], | 3373 }], |
| 3374 ['OS=="linux"', { |
| 3375 'conditions': [ |
| 3376 ['use_aura==1', { |
| 3377 'dependencies': [ |
| 3378 '../build/linux/system.gyp:dbus', |
| 3379 '../build/linux/system.gyp:fontconfig', |
| 3380 '../build/linux/system.gyp:x11', |
| 3381 '../dbus/dbus.gyp:dbus', |
| 3382 ], |
| 3383 'sources/': [ |
| 3384 ['exclude', '^browser/platform_util_common_linux.cc'], |
| 3385 ], |
| 3386 }], |
| 3387 # GTK build only |
| 3388 ['toolkit_uses_gtk==1', { |
| 3389 'sources/': [ |
| 3390 ['exclude', '^browser/lifetime/application_lifetime_stub.cc'], |
| 3391 ], |
| 3392 }], |
| 3393 ], |
| 3394 }], |
3385 ['enable_plugin_installation==0', { | 3395 ['enable_plugin_installation==0', { |
3386 'sources!': [ | 3396 'sources!': [ |
3387 'browser/plugins/plugin_installer.cc', | 3397 'browser/plugins/plugin_installer.cc', |
3388 'browser/plugins/plugin_installer.h', | 3398 'browser/plugins/plugin_installer.h', |
3389 'browser/plugins/plugin_installer_observer.cc', | 3399 'browser/plugins/plugin_installer_observer.cc', |
3390 'browser/plugins/plugin_installer_observer.h', | 3400 'browser/plugins/plugin_installer_observer.h', |
3391 'browser/plugins/plugins_resource_service.cc', | 3401 'browser/plugins/plugins_resource_service.cc', |
3392 'browser/plugins/plugins_resource_service.h', | 3402 'browser/plugins/plugins_resource_service.h', |
3393 ], | 3403 ], |
3394 }], | 3404 }], |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3622 'package_name': 'org/chromium/chrome/browser/ui/toolbar', | 3632 'package_name': 'org/chromium/chrome/browser/ui/toolbar', |
3623 'template_deps': ['browser/ui/toolbar/toolbar_model_security_level_l
ist.h'], | 3633 'template_deps': ['browser/ui/toolbar/toolbar_model_security_level_l
ist.h'], |
3624 }, | 3634 }, |
3625 'includes': [ '../build/android/java_cpp_template.gypi' ], | 3635 'includes': [ '../build/android/java_cpp_template.gypi' ], |
3626 }, | 3636 }, |
3627 ], | 3637 ], |
3628 }, | 3638 }, |
3629 ], | 3639 ], |
3630 ], | 3640 ], |
3631 } | 3641 } |
OLD | NEW |