diff options
author | noelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-13 23:35:07 +0000 |
---|---|---|
committer | noelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-13 23:35:07 +0000 |
commit | 36c64f652612c11978c3bec4e92a50c855a0cf08 (patch) | |
tree | 47eed579289a4c18f50900d4f81590ca82832f76 /native_client_sdk/src | |
parent | 480f17f54cc69b41ebff81e6fdc4b297f7beb3d6 (diff) | |
download | chromium_src-36c64f652612c11978c3bec4e92a50c855a0cf08.zip chromium_src-36c64f652612c11978c3bec4e92a50c855a0cf08.tar.gz chromium_src-36c64f652612c11978c3bec4e92a50c855a0cf08.tar.bz2 |
Add missing Makefile.inc for SDK Bots
Adding missing Makefile from CL to fix red SDK bot.
TBR=binji@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10539147
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142022 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk/src')
-rw-r--r-- | native_client_sdk/src/examples/debugging/Makefile.inc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/native_client_sdk/src/examples/debugging/Makefile.inc b/native_client_sdk/src/examples/debugging/Makefile.inc new file mode 100644 index 0000000..f039de7 --- /dev/null +++ b/native_client_sdk/src/examples/debugging/Makefile.inc @@ -0,0 +1,26 @@ +# +# Setup environment to use SDK's version of the NaCl plugin, instead of the +# one built into Chrome. This requries launching Chrome which means we must +# be able to find it. It also means that we must determine which versions +# of the plugin, loader, irt, and any other helpers we must use. +# +HELPER_PATH:=$(shell python $(NACL_SDK_ROOT)/tools/getos.py --helper) +IRTBIN_PATH:=$(shell python $(NACL_SDK_ROOT)/tools/getos.py --irtbin) +LOADER_PATH:=$(shell python $(NACL_SDK_ROOT)/tools/getos.py --loader) +PLUGIN_PATH:=$(shell python $(NACL_SDK_ROOT)/tools/getos.py --plugin) +CHROME_ARGS:=--incognito --no-sandbox +CHROME_ARGS+="--register-pepper-plugins=$(PLUGIN_PATH);application/x-nacl" + + +ifneq (,$(wildcard $(CHROME_PATH))) +export NACL_DANGEROUS_ENABLE_FILE_ACCESS=1 +export NACL_SECURITY_DISABLE=1 +export NACL_UNTRUSTED_EXCEPTION_HANDLING=1 +export NACL_SEL_LDR=$(LOADER_PATH) +export NACL_IRT_LIBRARY=$(IRTBIN_PATH) +export NACL_SEL_LDR_BOOTSTRAP=$(HELPER_PATH) +endif + + +TRACE: CHECK_FOR_CHROME all + $(CHROME_PATH) $(CHROME_ARGS) "localhost:5103/$(PROJECT).html" |