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

Side by Side Diff: native_client_sdk/src/tools/common.mk

Issue 13488007: [NaCl SDK] Make the SDK examples buildable as a packaged app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix license headers Created 7 years, 8 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
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/ppapi_main/ppapi_main.h ('k') | native_client_sdk/src/tools/host_vc.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698