Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / app_installer / app_installer.gypi
blob8bc96fe29cdd32ee619b3f83655e7e8331b078a0
1 # Copyright 2014 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.
6   'conditions': [
7     ['OS=="win"', {
8       'targets': [
9         {
10           'target_name': 'app_installer_util',
11           'type': 'static_library',
12           'dependencies': [
13             'common',
14             'installer_util',
15             'installer_util_strings',
16             'launcher_support',
17             'common_constants.gyp:common_constants',
18             '../base/base.gyp:base',
19             '../content/content.gyp:content_common',
20             '../net/net.gyp:net',
21             '../third_party/omaha/omaha.gyp:omaha_extractor',
22           ],
23           'include_dirs': [
24             '..',
25             '<(INTERMEDIATE_DIR)',
26           ],
27           'sources': [
28             'win/app_installer_util.cc',
29             'win/app_installer_util.h',
30           ],
31         },
32         # TODO(jackhou): Add a version resource (using
33         # version_resource_rules.gypi).
34         {
35           'target_name': 'app_installer',
36           'type': 'executable',
37           'dependencies': [
38             'app_installer_util',
39             '../base/base.gyp:base',
40           ],
41           'include_dirs': [
42             '..',
43             '<(INTERMEDIATE_DIR)',
44           ],
45           'sources': [
46             'win/app_installer_main.cc',
47           ],
48           'msvs_settings': {
49             'VCLinkerTool': {
50               'SubSystem': '2',     # Set /SUBSYSTEM:WINDOWS
51             },
52             'VCManifestTool': {
53               'AdditionalManifestFiles': [
54                 'app_installer/win/app_installer.exe.manifest',
55               ],
56             },
57           },
58         },
59         {
60           'target_name': 'app_installer_unittests',
61           'type': 'executable',
62           'dependencies': [
63             'app_installer_util',
64             '../base/base.gyp:base',
65             '../base/base.gyp:run_all_unittests',
66             '../net/net.gyp:net_test_support',
67             '../testing/gtest.gyp:gtest',
68           ],
69           'include_dirs': [
70             '..',
71             '<(INTERMEDIATE_DIR)',
72           ],
73           'sources': [
74             'win/app_installer_util_unittest.cc',
75           ],
76           'msvs_settings': {
77             'VCManifestTool': {
78               'AdditionalManifestFiles': [
79                 'app_installer/win/app_installer.exe.manifest',
80               ],
81             },
82           },
83         },
84       ],
85     }],
86   ],