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

Unified Diff: v8/build.scons

Issue 160317: linux: unexport as many symbols as possible (Closed)
Patch Set: Created 11 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « plugin/linux/main_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: v8/build.scons
diff --git a/v8/build.scons b/v8/build.scons
index 6fd51cc51f4a6f3d5cc5a367d21b1ae807316796..43e332f9a5123f4a76d91ab6230510a6c81a4262 100644
--- a/v8/build.scons
+++ b/v8/build.scons
@@ -50,7 +50,7 @@ env = env.Clone(
V8_MODE = 'release',
V8_MODE_DIR = '$V8_SRC_DIR/obj/$V8_MODE',
V8_SCONS_COM = '$PYTHON $SCONS -C $V8_SRC_DIR -f SConstruct '
- '$DEBUG_OPTS mode=$V8_MODE importenv=INCLUDE,LIB',
+ '$DEBUG_OPTS mode=$V8_MODE importenv=INCLUDE,LIB,CCFLAGS',
SCONS = '$SCONS_DIR/scons.py',
DEBUG_OPTS = ['--debug=%s' % item for item in GetOption('debug')]
)
@@ -109,6 +109,8 @@ if v8_env.Bit('windows'):
v8_env['ENV']['LIB'] = lib_path + ";" + v8_env['ENV']['LIB']
except KeyError:
v8_env['ENV']['LIB'] = lib_path
+elif v8_env.Bit('linux'):
+ v8_env['ENV']['CCFLAGS'] = '-fvisibility=hidden'
v8_no_snapshot = v8_env.Command(
v8_scons_targets_no_snapshot,
« no previous file with comments | « plugin/linux/main_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698