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

Side by Side Diff: enterprise/installer/test/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 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 """ Build enterprise installer test.
19 """
20
21 Import('env')
22
23 from standalone import standalone_installer
24
25 # Build test_setup.exe
26 test_setup_env = env.Clone()
27
28 test_setup_env.Append(
29 LIBS = [
30 ('msvcrt', 'libcmtd')[test_setup_env.Bit('debug')],
31 ('msvcprt', 'libcpmtd')[test_setup_env.Bit('debug')],
32 ],
33 )
34
35 test_setup_env.FilterOut(
36 CPPDEFINES=['_WINDOWS'],
37 LINKFLAGS=['/SUBSYSTEM:WINDOWS'],
38 )
39 test_setup_env.Append(
40 CPPDEFINES=['_CONSOLE'],
41 LINKFLAGS=['/SUBSYSTEM:CONSOLE'],
42 )
43
44 target_name = 'test_setup'
45
46 exe_inputs = [
47 'test_setup.cc',
48 ]
49
50 test_setup_env.ComponentProgram(
51 prog_name = target_name,
52 source = exe_inputs,
53 )
54
55 # Build standalone and enterprise installers for test_setup using each version.
56 for omaha_version_info in env['omaha_versions_info']:
57 prefix = omaha_version_info.filename_prefix
58
59 source_binary = '$OBJ_ROOT/mi_exe_stub/%smi_exe_stub.exe' % (prefix)
60
61 standalone_installer.BuildOfflineInstallersVersion(
62 env,
63 omaha_version_info,
64 '$STAGING_DIR',
65 source_binary,
66 '$MAIN_DIR/enterprise/installer/test/standalone_installers.txt',
67 '$MAIN_DIR/enterprise/installer/test',
68 prefix)
OLDNEW
« no previous file with comments | « enterprise/installer/google_update_installer_fragment.wxs.xml ('k') | enterprise/installer/test/standalone_installers.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698