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

Side by Side Diff: tools/ApplyTag/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
« no previous file with comments | « tools/ApplyTag/apply_tag_tool.cc ('k') | tools/CrashProcess/build.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'netapi32.lib',
29 'psapi.lib',
30 'rasapi32.lib',
31 'shlwapi.lib',
32 'userenv.lib',
33 'version.lib',
34 'wtsapi32.lib',
35 '$LIB_DIR/base.lib',
36 ],
37 CPPDEFINES = [
38 'UNICODE',
39 '_UNICODE'
40 ],
41 )
42
43 # ApplyTag.exe is a console application
44 local_env.FilterOut(LINKFLAGS = ['/SUBSYSTEM:WINDOWS'])
45 local_env['LINKFLAGS'] += ['/SUBSYSTEM:CONSOLE']
46
47 local_env.Dir('.').addRepository(local_env.Dir('$MAIN_DIR/base'))
48
49 target_name = 'ApplyTag'
50
51 inputs = [
52 'apply_tag.cc', # Comes from $MAIN_DIR/base
53 'apply_tag_tool.cc',
54 ]
55 if env.Bit('use_precompiled_headers'):
56 inputs += local_env.EnablePrecompile(target_name)
57
58 local_env.ComponentTestProgram(
59 prog_name=target_name,
60 source=inputs,
61 COMPONENT_TEST_RUNNABLE=False
62 )
OLDNEW
« no previous file with comments | « tools/ApplyTag/apply_tag_tool.cc ('k') | tools/CrashProcess/build.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698