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

Side by Side Diff: ui/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/resmerge.exe ('k') | ui/complete_wnd.h » ('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 # Copyright 2008-2010 Google Inc.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 # ========================================================================
15
16 Import('env')
17
18 local_env = env.Clone()
19
20 inputs = [
21 'complete_wnd.cc',
22 'yes_no_dialog.cc',
23 'progress_wnd.cc',
24 'splash_screen.cc',
25 'ui.cc',
26 'ui_displayed_event.cc',
27 'ui_metrics.cc',
28
29 'uilib/node_state.cc',
30 'uilib/static_ex.cc',
31 'uilib/static_line.cc',
32 ]
33
34 # Need to look in output dir to find .h files generated by midl compiler.
35 # This also allows Hammer to understand dependencies between this subdir
36 # and the .idl files in the goopdate folder.
37 local_env['CPPPATH'] += ['$OBJ_ROOT']
38
39
40 # Build these into a static library.
41 local_env.ComponentStaticLibrary('ui', inputs)
42
43 ui_test_env = env.Clone()
44 ui_test_env.Append(
45 CPPPATH = [
46 # Need to look in output dir to find .h files generated by midl compiler .
47 # This also allows Hammer to understand dependencies between this subdir
48 # and the .idl files in the goopdate folder.
49 '$OBJ_ROOT',
50 ],
51 )
52
53 ui_test_env.OmahaUnittest(
54 name='omaha_ui_unittest',
55 source=[
56 'splash_screen_test.cc',
57 'progress_wnd_unittest.cc',
58 'yes_no_dialog_unittest.cc',
59 ],
60 LIBS=[
61 '$LIB_DIR/client.lib',
62 '$LIB_DIR/common.lib', # Required by client.
63 '$LIB_DIR/goopdate_lib.lib', # Required by splashscreen UT.
64 '$LIB_DIR/logging.lib', # Required by statsreport.
65 '$LIB_DIR/omaha3_idl.lib',
66 '$LIB_DIR/statsreport.lib', # Required by client.
67 '$LIB_DIR/ui.lib',
68 ],
69 all_in_one=False,
70 COMPONENT_TEST_SIZE='small',
71 is_small_tests_using_resources=True,
72 )
OLDNEW
« no previous file with comments | « tools/resmerge.exe ('k') | ui/complete_wnd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698