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

Side by Side Diff: gears/SConscript.libmozjs

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.libjpeg ('k') | gears/SConscript.libpng » ('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) 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
10 if env['OS'] == 'osx':
11 env.Append(
12 CPPDEFINES = [
13 'JS_THREADSAFE',
14 'XP_UNIX',
15 'DARWIN',
16 'HAVE_BSD_FLOCK',
17 'XP_MACOSX',
18 'HAVE_LCHOWN',
19 'HAVE_STRERROR',
20 'FORCE_PR_LOG',
21 '_PR_PTHREADS',
22 'UHAVE_CVAR_BUILT_ON_SEM',
23 '_NSPR_BUILD_',
24 'OSARCH=Darwin',
25 'STATIC_JS_API',
26 'JS_USE_SAFE_ARENA',
27 'TRIMMED',
28 'JS_HAS_EXPORT_IMPORT'
29 ],
30 CPPPATH = '$MOZJS_INCLUDE_PATHS',
31 )
32 elif env['OS'] == 'android':
33 env.Append(
34 CPPDEFINES = [
35 'JS_THREADSAFE',
36 'XP_UNIX',
37 'HAVE_STRERROR',
38 'FORCE_PR_LOG',
39 '_PR_PTHREADS',
40 'UHAVE_CVAR_BUILT_ON_SEM',
41 '_NSPR_BUILD_',
42 'OSARCH=Android',
43 'STATIC_JS_API',
44 'JS_USE_SAFE_ARENA',
45 'TRIMMED',
46 'JS_HAS_EXPORT_IMPORT',
47 ],
48 CPPPATH = '$MOZJS_INCLUDE_PATHS',
49 )
50
51 input_files = [
52 # Common Files
53 '$MOZJS_DIR/js/src/jsapi.c',
54 '$MOZJS_DIR/js/src/jsarena.c',
55 '$MOZJS_DIR/js/src/jsarray.c',
56 '$MOZJS_DIR/js/src/jsatom.c',
57 '$MOZJS_DIR/js/src/jsbool.c',
58 '$MOZJS_DIR/js/src/jscntxt.c',
59 '$MOZJS_DIR/js/src/jsdate.c',
60 '$MOZJS_DIR/js/src/jsdbgapi.c',
61 '$MOZJS_DIR/js/src/jsdhash.c',
62 '$MOZJS_DIR/js/src/jsdtoa.c',
63 '$MOZJS_DIR/js/src/jsemit.c',
64 '$MOZJS_DIR/js/src/jsexn.c',
65 '$MOZJS_DIR/js/src/jsfun.c',
66 '$MOZJS_DIR/js/src/jsgc.c',
67 '$MOZJS_DIR/js/src/jshash.c',
68 '$MOZJS_DIR/js/src/jsinterp.c',
69 '$MOZJS_DIR/js/src/jsinvoke.c',
70 '$MOZJS_DIR/js/src/jsiter.c',
71 '$MOZJS_DIR/js/src/jskwgen.c',
72 '$MOZJS_DIR/js/src/jslock.c',
73 '$MOZJS_DIR/js/src/jslog2.c',
74 '$MOZJS_DIR/js/src/jslong.c',
75 '$MOZJS_DIR/js/src/jsmath.c',
76 '$MOZJS_DIR/js/src/jsnum.c',
77 '$MOZJS_DIR/js/src/jsobj.c',
78 '$MOZJS_DIR/js/src/jsopcode.c',
79 '$MOZJS_DIR/js/src/jsparse.c',
80 '$MOZJS_DIR/js/src/jsprf.c',
81 '$MOZJS_DIR/js/src/jsregexp.c',
82 '$MOZJS_DIR/js/src/jsscan.c',
83 '$MOZJS_DIR/js/src/jsscope.c',
84 '$MOZJS_DIR/js/src/jsscript.c',
85 '$MOZJS_DIR/js/src/jsstr.c',
86 '$MOZJS_DIR/js/src/jsutil.c',
87 '$MOZJS_DIR/js/src/jsxdrapi.c',
88 '$MOZJS_DIR/js/src/jsxml.c',
89 '$MOZJS_DIR/xpcom/glue/pldhash.c',
90 '$MOZJS_DIR/nspr/pr/src/misc/pratom.c',
91 '$MOZJS_DIR/nspr/pr/src/threads/prcmon.c',
92 '$MOZJS_DIR/nspr/pr/src/misc/prdtoa.c',
93 '$MOZJS_DIR/nspr/pr/src/misc/prenv.c',
94 '$MOZJS_DIR/nspr/pr/src/misc/prerr.c',
95 '$MOZJS_DIR/nspr/pr/src/misc/prerror.c',
96 '$MOZJS_DIR/nspr/pr/src/misc/prerrortable.c',
97 '$MOZJS_DIR/nspr/pr/src/io/prfdcach.c',
98 '$MOZJS_DIR/nspr/pr/src/misc/prinit.c',
99 '$MOZJS_DIR/nspr/pr/src/misc/prinrval.c',
100 '$MOZJS_DIR/nspr/pr/src/io/priometh.c',
101 '$MOZJS_DIR/nspr/pr/src/io/pripv6.c',
102 '$MOZJS_DIR/nspr/pr/src/io/prlayer.c',
103 '$MOZJS_DIR/nspr/pr/src/linking/prlink.c',
104 '$MOZJS_DIR/nspr/pr/src/io/prlog.c',
105 '$MOZJS_DIR/nspr/pr/src/malloc/prmalloc.c',
106 '$MOZJS_DIR/nspr/pr/src/io/prmapopt.c',
107 '$MOZJS_DIR/nspr/pr/src/malloc/prmem.c',
108 '$MOZJS_DIR/js/src/prmjtime.c',
109 '$MOZJS_DIR/nspr/pr/src/io/prmmap.c',
110 '$MOZJS_DIR/nspr/pr/src/io/prmwait.c',
111 '$MOZJS_DIR/nspr/pr/src/misc/prnetdb.c',
112 '$MOZJS_DIR/nspr/pr/src/md/prosdep.c',
113 '$MOZJS_DIR/nspr/pr/src/io/prprf.c',
114 '$MOZJS_DIR/nspr/pr/src/threads/prrwlock.c',
115 '$MOZJS_DIR/nspr/pr/src/io/prscanf.c',
116 '$MOZJS_DIR/nspr/pr/src/memory/prseg.c',
117 '$MOZJS_DIR/nspr/pr/src/io/prstdio.c',
118 '$MOZJS_DIR/nspr/pr/src/misc/prtime.c',
119 '$MOZJS_DIR/nspr/pr/src/threads/prtpd.c',
120 '$MOZJS_DIR/nspr/pr/src/pthreads/ptio.c',
121 '$MOZJS_DIR/nspr/pr/src/pthreads/ptmisc.c',
122 '$MOZJS_DIR/nspr/pr/src/pthreads/ptsynch.c',
123 '$MOZJS_DIR/nspr/pr/src/pthreads/ptthread.c',
124 '$MOZJS_DIR/nspr/pr/src/md/unix/unix.c',
125 '$MOZJS_DIR/nspr/pr/src/md/unix/unix_errors.c',
126 '$MOZJS_DIR/nspr/pr/src/md/unix/uxproces.c',
127 ]
128
129 if env['OS'] == 'osx':
130 # Safari-specific SpiderMonkey files.
131 input_files += [
132 '$MOZJS_DIR/nspr/pr/src/md/unix/darwin.c',
133 '$MOZJS_DIR/nspr/pr/src/md/unix/os_Darwin_ppc.s',
134 '$MOZJS_DIR/nspr/pr/src/md/unix/os_Darwin_x86.s',
135 ]
136 elif env['OS'] == 'android':
137 # Files needed for Android builds.
138 input_files += [
139 '$MOZJS_DIR/nspr/pr/src/md/unix/linux.c',
140 '$MOZJS_DIR/nspr/pr/src/misc/prlog2.c',
141 ]
142
143 env.GearsStaticLibrary('mozjs-gears', input_files)
OLDNEW
« no previous file with comments | « gears/SConscript.libjpeg ('k') | gears/SConscript.libpng » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698