Home | History | Annotate | Download | only in cloud_print
      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
      3 # found in the LICENSE file.
      4 {
      5   'variables': {
      6     'chromium_code': 1,
      7   },
      8   'targets': [
      9     {
     10       'target_name': 'cloud_print',
     11       'type': 'none',
     12       'dependencies': [
     13         'service/service.gyp:*',
     14         'gcp20/prototype/gcp20_device.gyp:*',
     15       ],
     16       'conditions': [
     17         ['OS=="win"', {
     18           'dependencies': [
     19             'virtual_driver/win/install/virtual_driver_install.gyp:*',
     20             'virtual_driver/win/virtual_driver.gyp:*',
     21           ],
     22         }],
     23         ['OS=="win" and target_arch=="ia32"', {
     24           'dependencies': [
     25             'virtual_driver/win/virtual_driver64.gyp:*',
     26           ],
     27         }],
     28       ],
     29     },
     30     {
     31       'target_name': 'cloud_print_unittests',
     32       'type': 'executable',
     33       'sources': [
     34         'service/service_state_unittest.cc',
     35       ],
     36       'dependencies': [
     37         '<(DEPTH)/base/base.gyp:base',
     38         '<(DEPTH)/base/base.gyp:run_all_unittests',
     39         '<(DEPTH)/base/base.gyp:test_support_base',
     40         '<(DEPTH)/testing/gmock.gyp:gmock',
     41         '<(DEPTH)/testing/gtest.gyp:gtest',
     42         'service/service.gyp:cloud_print_service_lib',
     43       ],
     44       'conditions': [
     45         ['OS=="win"', {
     46           'sources': [
     47             'service/win/service_ipc_unittest.cc',
     48             'virtual_driver/win/port_monitor/port_monitor_unittest.cc',
     49           ],
     50           'dependencies': [
     51             'virtual_driver/win/virtual_driver.gyp:gcp_portmon_lib',
     52           ],
     53         }],
     54         # See http://crbug.com/162998#c4 for why this is needed.
     55         ['OS=="linux" and use_allocator!="none"', {
     56           'dependencies': [
     57             '../base/allocator/allocator.gyp:allocator',
     58           ],
     59         }],
     60       ],
     61       'msvs_settings': {
     62         'VCLinkerTool': {
     63           'AdditionalDependencies': [
     64               'secur32.lib',
     65           ],
     66         },
     67       },
     68     },
     69   ],
     70 }
     71