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

Side by Side Diff: gears/SConscript.googleurl

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « gears/SConscript.common ('k') | gears/SConscript.inputs » ('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 (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 Import('env')
6
7 env = env.Clone()
8
9 env.Replace(
10 GURL_DIR = '$THIRD_PARTY_DIR/googleurl',
11 ICU38_DIR = '$THIRD_PARTY_DIR/icu38',
12 CPPPATH = [
13 '$GURL_DIR',
14 '$GURL_DIR/..',
15 '$ICU38_DIR/public/common',
16 '$ICU38_DIR/public/i18n',
17 '$VC80_CPPPATH',
18 ],
19 )
20
21 env.Append(
22 CPPDEFINES = [
23 # 'U_STATIC_IMPLEMENTATION',
24 ],
25 )
26
27 if env['OS'] == 'win32':
28 env.Append(
29 CCFLAGS = [
30 # '/TP',
31 # '/J',
32 ],
33 )
34 elif env['OS'] == 'linux':
35 env.Append(CCFLAGS = '-Wno-char-subscripts')
36
37 input_files = [
38 '$GURL_DIR/src/gurl.cc',
39 '$GURL_DIR/src/url_canon_etc.cc',
40 '$GURL_DIR/src/url_canon_fileurl.cc',
41 '$GURL_DIR/src/url_canon_host.cc',
42 # '$GURL_DIR/src/url_canon_icu.cc',
43 '$GURL_DIR/src/url_canon_internal.cc',
44 '$GURL_DIR/src/url_canon_ip.cc',
45 '$GURL_DIR/src/url_canon_mailtourl.cc',
46 '$GURL_DIR/src/url_canon_path.cc',
47 '$GURL_DIR/src/url_canon_pathurl.cc',
48 '$GURL_DIR/src/url_canon_query.cc',
49 '$GURL_DIR/src/url_canon_relative.cc',
50 '$GURL_DIR/src/url_canon_stdurl.cc',
51 '$GURL_DIR/src/url_parse.cc',
52 '$GURL_DIR/src/url_parse_file.cc',
53 '$GURL_DIR/src/url_util.cc',
54 ]
55
56 # ICU files needed for Gears.
57 input_files += [
58 '$ICU38_DIR/source/common/utf_impl.cc',
59 ]
60
61 env.GearsStaticLibrary('googleurl-gears', input_files)
62
63 #env_tests = env.Clone()
64 #
65 #env_tests.Append(
66 # CPPPATH = [
67 # '$GTEST_DIR/include',
68 # ],
69 # CPPDEFINES = [
70 # 'UNIT_TEST',
71 # ],
72 # LIBS = [
73 # 'googleurl',
74 # 'base',
75 # env_tests['ICU_LIBS'], # TODO(sgk): '$ICU_LIBS' when scons is fixed
76 # 'gtest',
77 # ]
78 #)
79 #
80 #test_files = [
81 # 'src/gurl_unittest.cc',
82 # 'src/url_canon_unittest.cc',
83 # 'src/url_parse_unittest.cc',
84 # 'src/url_util_unittest.cc',
85 #
86 # # The version of gtest that googleurl uses provides a main() function; ours
87 # # doesn't so include our own main function.
88 # '$CHROME_SRC_DIR/base/run_all_unittests.cc'
89 #]
90 #
91 #gurl_unittests = env_tests.ChromeTestProgram('googleurl_unittests', test_files)
92 #
93 #installed_gurl_unittests = env.Install('$TARGET_ROOT', gurl_unittests)
OLDNEW
« no previous file with comments | « gears/SConscript.common ('k') | gears/SConscript.inputs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698