Chromium Code Reviews| Index: Makefile.standalone |
| diff --git a/Makefile.standalone b/Makefile.standalone |
| index 95f3093a2e4038221285a42f2035bac32ec67763..c9706459e07cabf69d8ae75888a20a0dc63a819d 100644 |
| --- a/Makefile.standalone |
| +++ b/Makefile.standalone |
| @@ -152,6 +152,11 @@ else |
| FORCEASM_LIT_TEST_EXCLUDES = |
| endif |
| +ifdef LINUX_MALLOC_PROFILE |
|
Jim Stichnoth
2016/03/12 00:12:57
Update OBJDIR, something like:
OBJDIR := $(OBJD
sehr
2016/03/15 00:36:45
Done.
|
| + CXX_DEFINES += -DALLOW_LINUX_MALLOC_PROFILE=1 |
|
Jim Stichnoth
2016/03/12 00:12:58
Can you update BASE_CXX_DEFINES instead of CXX_DEF
sehr
2016/03/15 00:36:45
Done.
|
| + LD_EXTRA += -Wl,--export-dynamic |
| +endif |
| + |
| SB_OBJDIR := $(OBJDIR)+Sandboxed |
| SBB_OBJDIR := $(OBJDIR)+SandboxedBrowser |
| @@ -290,6 +295,10 @@ ifndef MINIMAL |
| IceTypeConverter.cpp |
| endif |
| +ifdef LINUX_MALLOC_PROFILE |
| + SRCS += LinuxMallocProfiling.cpp |
|
Jim Stichnoth
2016/03/12 00:12:57
I actually think this source file should be added
sehr
2016/03/15 00:36:45
I added the source unconditionally, and the bodies
|
| +endif |
| + |
| OBJS=$(patsubst %.cpp, $(OBJDIR)/%.o, $(SRCS)) |
| SB_OBJS=$(patsubst %.cpp, $(SB_OBJDIR)/%.o, $(SRCS)) |
| SBB_OBJS=$(patsubst %.cpp, $(SBB_OBJDIR)/%.o, $(SRCS)) |