Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(530)

Side by Side Diff: enterprise/installer/custom_actions/build.scons

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/usr/bin/python2.4
2 #
3 # Copyright 2009-2011 Google Inc.
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # ========================================================================
17
18 Import('env')
19
20 #
21 # Build show_error_action.dll
22 #
23 dll_env = env.Clone(
24 # Build a dll, not a lib.
25 COMPONENT_STATIC = False,
26 )
27
28 dll_env.Append(
29 LIBS = [
30 ('libcmt.lib', 'libcmtd.lib')[dll_env.Bit('debug')],
31 ('libcpmt.lib', 'libcpmtd.lib')[dll_env.Bit('debug')],
32 'msi.lib',
33 ],
34 )
35
36 signed_target_name = 'show_error_action'
37 target_name = signed_target_name + '_unsigned'
38
39 dll_inputs = [
40 'show_error_action.cc',
41 'show_error_action.def',
42 ]
43
44 unsigned_dll = dll_env.ComponentLibrary(
45 lib_name=target_name,
46 source=dll_inputs,
47 )
48
49 signed_dll = dll_env.SignedBinary(
50 target=signed_target_name + '.dll',
51 source=unsigned_dll,
52 )
53
54 dll_env.Replicate('$STAGING_DIR', signed_dll)
55 dll_env.Replicate('$STAGING_DIR',
56 [f for f in unsigned_dll if f.suffix == '.pdb'])
OLDNEW
« no previous file with comments | « enterprise/installer/build_enterprise_installer.py ('k') | enterprise/installer/custom_actions/show_error_action.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698