| 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 '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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 'browser/chrome_to_mobile_service.h', | 395 'browser/chrome_to_mobile_service.h', |
| 396 'browser/chrome_to_mobile_service_factory.cc', | 396 'browser/chrome_to_mobile_service_factory.cc', |
| 397 'browser/chrome_to_mobile_service_factory.h', | 397 'browser/chrome_to_mobile_service_factory.h', |
| 398 'browser/chromeos/accessibility/accessibility_util.cc', | 398 'browser/chromeos/accessibility/accessibility_util.cc', |
| 399 'browser/chromeos/accessibility/accessibility_util.h', | 399 'browser/chromeos/accessibility/accessibility_util.h', |
| 400 'browser/chromeos/audio/audio_handler.cc', | 400 'browser/chromeos/audio/audio_handler.cc', |
| 401 'browser/chromeos/audio/audio_handler.h', | 401 'browser/chromeos/audio/audio_handler.h', |
| 402 'browser/chromeos/audio/audio_mixer.h', | 402 'browser/chromeos/audio/audio_mixer.h', |
| 403 'browser/chromeos/audio/audio_mixer_alsa.cc', | 403 'browser/chromeos/audio/audio_mixer_alsa.cc', |
| 404 'browser/chromeos/audio/audio_mixer_alsa.h', | 404 'browser/chromeos/audio/audio_mixer_alsa.h', |
| 405 'browser/chromeos/audio/audio_mixer_cras.cc', |
| 406 'browser/chromeos/audio/audio_mixer_cras.h', |
| 405 'browser/chromeos/background/desktop_background_observer.cc', | 407 'browser/chromeos/background/desktop_background_observer.cc', |
| 406 'browser/chromeos/background/desktop_background_observer.h', | 408 'browser/chromeos/background/desktop_background_observer.h', |
| 407 'browser/chromeos/bluetooth/bluetooth_adapter.cc', | 409 'browser/chromeos/bluetooth/bluetooth_adapter.cc', |
| 408 'browser/chromeos/bluetooth/bluetooth_adapter.h', | 410 'browser/chromeos/bluetooth/bluetooth_adapter.h', |
| 409 'browser/chromeos/bluetooth/bluetooth_device.cc', | 411 'browser/chromeos/bluetooth/bluetooth_device.cc', |
| 410 'browser/chromeos/bluetooth/bluetooth_device.h', | 412 'browser/chromeos/bluetooth/bluetooth_device.h', |
| 411 'browser/chromeos/boot_times_loader.cc', | 413 'browser/chromeos/boot_times_loader.cc', |
| 412 'browser/chromeos/boot_times_loader.h', | 414 'browser/chromeos/boot_times_loader.h', |
| 413 'browser/chromeos/choose_mobile_network_dialog.cc', | 415 'browser/chromeos/choose_mobile_network_dialog.cc', |
| 414 'browser/chromeos/choose_mobile_network_dialog.h', | 416 'browser/chromeos/choose_mobile_network_dialog.h', |
| (...skipping 3725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4140 ['exclude', 'browser/policy/enterprise_install_attributes.h'], | 4142 ['exclude', 'browser/policy/enterprise_install_attributes.h'], |
| 4141 ['exclude', 'browser/policy/network_configuration_updater.cc'], | 4143 ['exclude', 'browser/policy/network_configuration_updater.cc'], |
| 4142 ['exclude', 'browser/policy/network_configuration_updater.h'], | 4144 ['exclude', 'browser/policy/network_configuration_updater.h'], |
| 4143 ['exclude', 'browser/policy/proto/chrome_device_policy.pb.cc'], | 4145 ['exclude', 'browser/policy/proto/chrome_device_policy.pb.cc'], |
| 4144 ['exclude', 'browser/policy/proto/chrome_device_policy.pb.h'], | 4146 ['exclude', 'browser/policy/proto/chrome_device_policy.pb.h'], |
| 4145 ['exclude', 'browser/renderer_host/offline_resource_throttle.cc'], | 4147 ['exclude', 'browser/renderer_host/offline_resource_throttle.cc'], |
| 4146 ['exclude', 'browser/renderer_host/offline_resource_throttle.h'], | 4148 ['exclude', 'browser/renderer_host/offline_resource_throttle.h'], |
| 4147 ['exclude', 'browser/ui/toolbar/wrench_menu_model_chromeos.cc'], | 4149 ['exclude', 'browser/ui/toolbar/wrench_menu_model_chromeos.cc'], |
| 4148 ], | 4150 ], |
| 4149 }, { # chromeos==1 | 4151 }, { # chromeos==1 |
| 4152 'variables': { |
| 4153 'conditions': [ |
| 4154 ['sysroot!=""', { |
| 4155 'pkg-config': '../build/linux/pkg-config-wrapper "<(sysroot)" "<
(target_arch)"', |
| 4156 }, { |
| 4157 'pkg-config': 'pkg-config' |
| 4158 }], |
| 4159 ], |
| 4160 # Override to dynamically link the cras (ChromeOS audio) library. |
| 4161 'use_cras%': 0, |
| 4162 }, |
| 4163 'conditions': [ |
| 4164 ['use_cras==1', { |
| 4165 'cflags': [ |
| 4166 '<!@(<(pkg-config) --cflags libcras)', |
| 4167 ], |
| 4168 'link_settings': { |
| 4169 'libraries': [ |
| 4170 '<!@(<(pkg-config) --libs libcras)', |
| 4171 ], |
| 4172 }, |
| 4173 'defines': [ |
| 4174 'USE_CRAS', |
| 4175 ], |
| 4176 'sources/': [ |
| 4177 ['exclude', '^browser/chromeos/audio/audio_mixer_alsa.cc'], |
| 4178 ['exclude', '^browser/chromeos/audio/audio_mixer_alsa.h'], |
| 4179 ], |
| 4180 }, { # use_cras==0 |
| 4181 'sources/': [ |
| 4182 ['exclude', '^browser/chromeos/audio/audio_mixer_cras.cc'], |
| 4183 ['exclude', '^browser/chromeos/audio/audio_mixer_cras.h'], |
| 4184 ], |
| 4185 }], |
| 4186 ], |
| 4150 'dependencies': [ | 4187 'dependencies': [ |
| 4151 '../build/linux/system.gyp:dbus-glib', | 4188 '../build/linux/system.gyp:dbus-glib', |
| 4152 '../third_party/libevent/libevent.gyp:libevent', | 4189 '../third_party/libevent/libevent.gyp:libevent', |
| 4153 '../third_party/mozc/chrome/chromeos/renderer/chromeos_renderer.gyp:
mozc_candidates_proto', | 4190 '../third_party/mozc/chrome/chromeos/renderer/chromeos_renderer.gyp:
mozc_candidates_proto', |
| 4154 'browser/chromeos/input_method/input_method.gyp:gencode', | 4191 'browser/chromeos/input_method/input_method.gyp:gencode', |
| 4155 'power_supply_properties_proto', | 4192 'power_supply_properties_proto', |
| 4156 ], | 4193 ], |
| 4157 'sources!': [ | 4194 'sources!': [ |
| 4158 'browser/first_run/upgrade_util.cc', | 4195 'browser/first_run/upgrade_util.cc', |
| 4159 'browser/first_run/upgrade_util.h', | 4196 'browser/first_run/upgrade_util.h', |
| (...skipping 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5284 'variables': { | 5321 'variables': { |
| 5285 'proto_in_dir': '../third_party/cros_system_api/dbus/', | 5322 'proto_in_dir': '../third_party/cros_system_api/dbus/', |
| 5286 'proto_out_dir': 'chrome/browser/chromeos/dbus', | 5323 'proto_out_dir': 'chrome/browser/chromeos/dbus', |
| 5287 }, | 5324 }, |
| 5288 'includes': ['../build/protoc.gypi'], | 5325 'includes': ['../build/protoc.gypi'], |
| 5289 }], | 5326 }], |
| 5290 ], | 5327 ], |
| 5291 }, | 5328 }, |
| 5292 ], | 5329 ], |
| 5293 } | 5330 } |
| OLD | NEW |