OLD | NEW |
(Empty) | |
| 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 'target_defaults': { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 9 'include_dirs': [ |
| 10 '../../..', |
| 11 ], |
| 12 }, |
| 13 'targets': [ |
| 14 { |
| 15 'target_name': 'cloud_print_service_lib', |
| 16 'type': 'static_library', |
| 17 'dependencies': [ |
| 18 '../../../base/base.gyp:base', |
| 19 '../../../build/temp_gyp/googleurl.gyp:googleurl', |
| 20 '../../../net/net.gyp:net', |
| 21 ], |
| 22 'sources': [ |
| 23 'chrome_launcher.cc', |
| 24 'chrome_launcher.h', |
| 25 'service_state.cc', |
| 26 'service_state.h', |
| 27 'service_switches.cc', |
| 28 'service_switches.h', |
| 29 ] |
| 30 }, |
| 31 { |
| 32 'target_name': 'cloud_print_service', |
| 33 'type': 'executable', |
| 34 'sources': [ |
| 35 'cloud_print_service.cc', |
| 36 'cloud_print_service.h', |
| 37 'cloud_print_service.rc', |
| 38 'resource.h', |
| 39 ], |
| 40 'dependencies': [ |
| 41 'cloud_print_service_lib', |
| 42 ], |
| 43 'msvs_settings': { |
| 44 'VCLinkerTool': { |
| 45 'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE |
| 46 'UACExecutionLevel': '2', # /level='requireAdministrator' |
| 47 }, |
| 48 }, |
| 49 }, |
| 50 { |
| 51 'target_name': 'cloud_print_service_unittests', |
| 52 'type': 'executable', |
| 53 'sources': [ |
| 54 'service_state_unittest.cc', |
| 55 ], |
| 56 'dependencies': [ |
| 57 '../../../base/base.gyp:run_all_unittests', |
| 58 '../../../base/base.gyp:base', |
| 59 '../../../base/base.gyp:test_support_base', |
| 60 '../../../testing/gmock.gyp:gmock', |
| 61 '../../../testing/gtest.gyp:gtest', |
| 62 'cloud_print_service_lib', |
| 63 ], |
| 64 }, |
| 65 ], |
| 66 } |
OLD | NEW |