| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # | 5 # |
| 6 # GNU Make based build file. For details on GNU Make see: | 6 # GNU Make based build file. For details on GNU Make see: |
| 7 # http://www.gnu.org/software/make/manual/make.html | 7 # http://www.gnu.org/software/make/manual/make.html |
| 8 # | 8 # |
| 9 # | 9 # |
| 10 | 10 |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 HOST_EXT=.so | 232 HOST_EXT=.so |
| 233 endif | 233 endif |
| 234 | 234 |
| 235 | 235 |
| 236 # | 236 # |
| 237 # Common Compile Options | 237 # Common Compile Options |
| 238 # | 238 # |
| 239 ifeq ($(CONFIG),Release) | 239 ifeq ($(CONFIG),Release) |
| 240 POSIX_FLAGS?=-g -O2 -pthread -MMD | 240 POSIX_FLAGS?=-g -O2 -pthread -MMD |
| 241 else | 241 else |
| 242 POSIX_FLAGS?=-g -O0 -pthread -MMD | 242 POSIX_FLAGS?=-g -O0 -pthread -MMD -DNACL_SDK_DEBUG |
| 243 endif | 243 endif |
| 244 | 244 |
| 245 NACL_CFLAGS?=-Wno-long-long -Werror | 245 NACL_CFLAGS?=-Wno-long-long -Werror |
| 246 NACL_CXXFLAGS?=-Wno-long-long -Werror | 246 NACL_CXXFLAGS?=-Wno-long-long -Werror |
| 247 NACL_LDFLAGS?=-Wl,-as-needed | 247 NACL_LDFLAGS?=-Wl,-as-needed |
| 248 | 248 |
| 249 # | 249 # |
| 250 # Default Paths | 250 # Default Paths |
| 251 # | 251 # |
| 252 ifeq (,$(findstring $(TOOLCHAIN),linux mac win)) | 252 ifeq (,$(findstring $(TOOLCHAIN),linux mac win)) |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 GDB_ARGS+=-D $(abspath $(OUTDIR))/$(TARGET)_$(SYSARCH).nexe | 392 GDB_ARGS+=-D $(abspath $(OUTDIR))/$(TARGET)_$(SYSARCH).nexe |
| 393 | 393 |
| 394 DEBUG: CHECK_FOR_CHROME all | 394 DEBUG: CHECK_FOR_CHROME all |
| 395 $(RUN_PY) $(GDB_ARGS) \ | 395 $(RUN_PY) $(GDB_ARGS) \ |
| 396 -C $(CURDIR) -P $(PAGE_TC_CONFIG) \ | 396 -C $(CURDIR) -P $(PAGE_TC_CONFIG) \ |
| 397 $(addprefix -E ,$(CHROME_ENV)) -- $(CHROME_PATH) $(CHROME_ARGS) \ | 397 $(addprefix -E ,$(CHROME_ENV)) -- $(CHROME_PATH) $(CHROME_ARGS) \ |
| 398 --enable-nacl-debug \ | 398 --enable-nacl-debug \ |
| 399 --register-pepper-plugins="$(PPAPI_DEBUG),$(PPAPI_RELEASE)" | 399 --register-pepper-plugins="$(PPAPI_DEBUG),$(PPAPI_RELEASE)" |
| 400 | 400 |
| 401 .PHONY: CHECK_FOR_CHROME RUN LAUNCH | 401 .PHONY: CHECK_FOR_CHROME RUN LAUNCH |
| OLD | NEW |