OLD | NEW |
| (Empty) |
1 # Copyright (c) 2009 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 { | |
6 'target_defaults': { | |
7 'variables': { | |
8 'installer_util_target': 0, | |
9 }, | |
10 'target_conditions': [ | |
11 # This part is shared between the two versions of the target. | |
12 ['installer_util_target==1', { | |
13 'sources': [ | |
14 'util/browser_distribution.cc', | |
15 'util/browser_distribution.h', | |
16 'util/chrome_frame_distribution.cc', | |
17 'util/chrome_frame_distribution.h', | |
18 'util/copy_tree_work_item.cc', | |
19 'util/copy_tree_work_item.h', | |
20 'util/create_dir_work_item.cc', | |
21 'util/create_dir_work_item.h', | |
22 'util/create_reg_key_work_item.cc', | |
23 'util/create_reg_key_work_item.h', | |
24 'util/delete_reg_value_work_item.cc', | |
25 'util/delete_reg_value_work_item.h', | |
26 'util/delete_tree_work_item.cc', | |
27 'util/delete_tree_work_item.h', | |
28 'util/google_chrome_distribution.cc', | |
29 'util/google_chrome_distribution.h', | |
30 'util/google_chrome_sxs_distribution.cc', | |
31 'util/google_chrome_sxs_distribution.h', | |
32 'util/google_update_constants.cc', | |
33 'util/google_update_constants.h', | |
34 'util/google_update_settings.cc', | |
35 'util/google_update_settings.h', | |
36 'util/install_util.cc', | |
37 'util/install_util.h', | |
38 'util/l10n_string_util.cc', | |
39 'util/l10n_string_util.h', | |
40 'util/master_preferences_constants.cc', | |
41 'util/master_preferences_constants.h', | |
42 'util/move_tree_work_item.cc', | |
43 'util/move_tree_work_item.h', | |
44 'util/self_reg_work_item.cc', | |
45 'util/self_reg_work_item.h', | |
46 'util/set_reg_value_work_item.cc', | |
47 'util/set_reg_value_work_item.h', | |
48 'util/util_constants.cc', | |
49 'util/util_constants.h', | |
50 'util/version.cc', | |
51 'util/version.h', | |
52 'util/work_item.cc', | |
53 'util/work_item.h', | |
54 'util/work_item_list.cc', | |
55 'util/work_item_list.h', | |
56 ], | |
57 'include_dirs': [ | |
58 '<(DEPTH)', | |
59 ], | |
60 }], | |
61 ], | |
62 }, | |
63 'conditions': [ | |
64 ['OS=="win"', { | |
65 'targets': [ | |
66 { | |
67 'target_name': 'installer_util', | |
68 'type': '<(library)', | |
69 'msvs_guid': 'EFBB1436-A63F-4CD8-9E99-B89226E782EC', | |
70 'variables': { | |
71 'installer_util_target': 1, | |
72 }, | |
73 'dependencies': [ | |
74 'installer_util_strings', | |
75 '../../build/temp_gyp/googleurl.gyp:googleurl', | |
76 '../chrome.gyp:common_constants', | |
77 '../chrome.gyp:chrome_resources', | |
78 '../chrome.gyp:chrome_strings', | |
79 '../../courgette/courgette.gyp:courgette_lib', | |
80 '../../third_party/bspatch/bspatch.gyp:bspatch', | |
81 '../../third_party/icu/icu.gyp:icui18n', | |
82 '../../third_party/icu/icu.gyp:icuuc', | |
83 '../../third_party/libxml/libxml.gyp:libxml', | |
84 '../../third_party/lzma_sdk/lzma_sdk.gyp:lzma_sdk', | |
85 ], | |
86 'sources': [ | |
87 'util/compat_checks.cc', | |
88 'util/compat_checks.h', | |
89 'util/delete_after_reboot_helper.cc', | |
90 'util/delete_after_reboot_helper.h', | |
91 'util/helper.cc', | |
92 'util/helper.h', | |
93 'util/html_dialog.h', | |
94 'util/html_dialog_impl.cc', | |
95 'util/logging_installer.cc', | |
96 'util/logging_installer.h', | |
97 'util/lzma_util.cc', | |
98 'util/lzma_util.h', | |
99 'util/master_preferences.cc', | |
100 'util/master_preferences.h', | |
101 'util/shell_util.cc', | |
102 'util/shell_util.h', | |
103 ], | |
104 }, | |
105 { | |
106 'target_name': 'installer_util_nacl_win64', | |
107 'type': '<(library)', | |
108 'msvs_guid': '91016F29-C324-4236-8AA0-032765E71582', | |
109 'variables': { | |
110 'installer_util_target': 1, | |
111 }, | |
112 'dependencies': [ | |
113 'installer_util_strings', | |
114 ], | |
115 'include_dirs': [ | |
116 '<(SHARED_INTERMEDIATE_DIR)', | |
117 ], | |
118 'sources': [ | |
119 'util/google_chrome_distribution_dummy.cc', | |
120 'util/master_preferences.h', | |
121 'util/master_preferences_dummy.cc', | |
122 ], | |
123 'configurations': { | |
124 'Common_Base': { | |
125 'msvs_target_platform': 'x64', | |
126 }, | |
127 }, | |
128 }, | |
129 ], | |
130 }], | |
131 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | |
132 'targets': [ | |
133 { | |
134 'target_name': 'installer_util', | |
135 'type': '<(library)', | |
136 'dependencies': [ | |
137 '../chrome.gyp:common_constants', | |
138 '../chrome.gyp:chrome_resources', | |
139 '../chrome.gyp:chrome_strings', | |
140 ], | |
141 'sources': [ | |
142 'util/master_preferences.cc', | |
143 'util/master_preferences.h', | |
144 'util/master_preferences_constants.cc', | |
145 'util/master_preferences_constants.h', | |
146 ], | |
147 'include_dirs': [ | |
148 '<(DEPTH)', | |
149 ], | |
150 } | |
151 ], | |
152 }], | |
153 ], | |
154 } | |
155 | |
156 # Local Variables: | |
157 # tab-width:2 | |
158 # indent-tabs-mode:nil | |
159 # End: | |
160 # vim: set expandtab tabstop=2 shiftwidth=2: | |
OLD | NEW |