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

Side by Side Diff: tools/OmahaCompatibility/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-2010 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
19 Import('env')
20
21
22 local_env = env.Clone()
23 local_env.Append(
24 LIBS = [
25 ('atls.lib', 'atlsd.lib')[local_env.Bit('debug')],
26 ('libcmt.lib', 'libcmtd.lib')[local_env.Bit('debug')],
27 ('libcpmt.lib', 'libcpmtd.lib')[local_env.Bit('debug')],
28 'comctl32.lib',
29 'crypt32.lib',
30 'delayimp.lib',
31 'httpapi.lib',
32 'iphlpapi.lib',
33 'netapi32.lib',
34 'msi.lib',
35 'mstask.lib',
36 'psapi.lib',
37 'rasapi32.lib',
38 'rpcns4.lib',
39 'rpcrt4.lib',
40 'shlwapi.lib',
41 'version.lib',
42 'userenv.lib',
43 'wininet.lib',
44 'winhttp.lib',
45 'wintrust.lib',
46 'ws2_32.lib',
47 'wtsapi32.lib',
48
49 '$LIB_DIR/breakpad.lib',
50 '$LIB_DIR/common.lib',
51 '$LIB_DIR/core.lib',
52 '$LIB_DIR/goopdate_dll.lib',
53 '$LIB_DIR/google_update_ps.lib',
54 '$LIB_DIR/google_update_recovery.lib',
55 '$LIB_DIR/logging.lib',
56 '$LIB_DIR/net.lib',
57 '$LIB_DIR/repair_goopdate.lib',
58 '$LIB_DIR/security.lib',
59 '$LIB_DIR/service.lib',
60 '$LIB_DIR/setup.lib',
61 '$LIB_DIR/statsreport.lib',
62 '$LIB_DIR/worker.lib',
63 ],
64 CPPDEFINES = [
65 'UNICODE',
66 '_UNICODE'
67 ],
68 )
69
70 local_env.FilterOut(LINKFLAGS = ['/SUBSYSTEM:WINDOWS'])
71 local_env['LINKFLAGS'] += ['/SUBSYSTEM:CONSOLE']
72
73 # Avoid conflict over common/apply_tag.obj
74 local_env.Dir('.').addRepository(local_env.Dir('$MAIN_DIR/common'))
75
76 target_name = 'gucompat'
77
78 inputs = [
79 'main.cc',
80 'console_writer.cc',
81 'compatibility_test.cc',
82 'common/config.cc',
83 'HttpServer/http_server.cc',
84 'HttpServer/download_handler.cc',
85 'HttpServer/update_check_handler.cc',
86 'HttpServer/xml_parser.cc',
87 'apply_tag.cc', # Comes from $MAIN_DIR/common
88 ]
89 if env.Bit('use_precompiled_headers'):
90 inputs += local_env.EnablePrecompile(target_name)
91
92 local_env.ComponentTestProgram(
93 prog_name=target_name,
94 source=inputs,
95 COMPONENT_TEST_RUNNABLE=False
96 )
OLDNEW
« no previous file with comments | « tools/OmahaCompatibility/HttpServer/xml_parser.cc ('k') | tools/OmahaCompatibility/common/config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698