summaryrefslogtreecommitdiffstats
path: root/native_client_sdk
diff options
context:
space:
mode:
authornoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-12 21:41:56 +0000
committernoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-12 21:41:56 +0000
commit0aafab69ed4bce4c7ca9d08028249cc69fa78126 (patch)
tree95dca22d746dd36d0b18ce122f8ad1fbefbedcf9 /native_client_sdk
parent2e3426488fec3cb9fadad0e2ef96c104dad712e9 (diff)
downloadchromium_src-0aafab69ed4bce4c7ca9d08028249cc69fa78126.zip
chromium_src-0aafab69ed4bce4c7ca9d08028249cc69fa78126.tar.gz
chromium_src-0aafab69ed4bce4c7ca9d08028249cc69fa78126.tar.bz2
Fix break in SDK builders due to missing files.
TBR=binji@chromium.org Review URL: https://chromiumcodereview.appspot.com/10548013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141744 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk')
-rw-r--r--native_client_sdk/src/examples/debugging/example.dsc22
-rw-r--r--native_client_sdk/src/examples/file_io/example.dsc13
-rw-r--r--native_client_sdk/src/examples/fullscreen_tumbler/example.dsc38
-rw-r--r--native_client_sdk/src/examples/hello_world_interactive/example.dsc17
-rw-r--r--native_client_sdk/src/examples/hello_world_newlib/example.dsc21
-rw-r--r--native_client_sdk/src/examples/mouselock/example.dsc14
-rw-r--r--native_client_sdk/src/examples/multithreaded_input_events/example.dsc19
-rw-r--r--native_client_sdk/src/examples/pi_generator/example.dsc17
-rw-r--r--native_client_sdk/src/examples/pong/example.dsc19
-rw-r--r--native_client_sdk/src/examples/sine_synth/example.dsc13
-rw-r--r--native_client_sdk/src/examples/tumbler/example.dsc37
-rw-r--r--native_client_sdk/src/examples/websocket/example.dsc13
12 files changed, 243 insertions, 0 deletions
diff --git a/native_client_sdk/src/examples/debugging/example.dsc b/native_client_sdk/src/examples/debugging/example.dsc
new file mode 100644
index 0000000..71da84d
--- /dev/null
+++ b/native_client_sdk/src/examples/debugging/example.dsc
@@ -0,0 +1,22 @@
+{
+ 'TOOLS': ['newlib', 'glibc'],
+ 'TARGETS': [
+ {
+ 'NAME' : 'debugging',
+ 'TYPE' : 'main',
+ 'SOURCES' : [
+ 'hello_world.c',
+ 'string_stream.c',
+ 'string_stream.h',
+ 'untrusted_crash_dump.c',
+ 'untrusted_crash_dump.h'
+ ],
+ 'CCFLAGS': ['$(NACL_CCFLAGS)', '-fno-omit-frame-pointer']
+ }
+ ],
+ 'POST': 'include Makefile.inc\n',
+ 'DATA': ['Makefile.inc'],
+ 'DEST': 'examples',
+ 'NAME': 'debugging'
+}
+
diff --git a/native_client_sdk/src/examples/file_io/example.dsc b/native_client_sdk/src/examples/file_io/example.dsc
new file mode 100644
index 0000000..cb1b465
--- /dev/null
+++ b/native_client_sdk/src/examples/file_io/example.dsc
@@ -0,0 +1,13 @@
+{
+ 'TOOLS': ['newlib', 'glibc'],
+ 'TARGETS': [
+ {
+ 'NAME' : 'file_io',
+ 'TYPE' : 'main',
+ 'SOURCES' : ['file_io.cc'],
+ }
+ ],
+ 'DEST': 'examples',
+ 'NAME': 'file_io'
+}
+
diff --git a/native_client_sdk/src/examples/fullscreen_tumbler/example.dsc b/native_client_sdk/src/examples/fullscreen_tumbler/example.dsc
new file mode 100644
index 0000000..9b35b45
--- /dev/null
+++ b/native_client_sdk/src/examples/fullscreen_tumbler/example.dsc
@@ -0,0 +1,38 @@
+{
+ 'TOOLS': ['newlib', 'glibc'],
+ 'TARGETS': [
+ {
+ 'NAME' : 'tumbler',
+ 'TYPE' : 'main',
+ 'SOURCES' : [
+ 'callback.h',
+ 'cube.cc',
+ 'cube.h',
+ 'opengl_context.cc',
+ 'opengl_context.h',
+ 'opengl_context_ptrs.h',
+ 'scripting_bridge.cc',
+ 'scripting_bridge.h',
+ 'shader_util.cc',
+ 'shader_util.h',
+ 'transforms.cc',
+ 'transforms.h',
+ 'tumbler.cc',
+ 'tumbler.h',
+ 'tumbler_module.cc'
+ ],
+ 'LDFLAGS': ['$(NACL_LDFLAGS)', '-lppapi_gles2']
+ }
+ ],
+ 'DATA': [
+ 'bind.js',
+ 'check_browser.js',
+ 'dragger.js',
+ 'trackball.js',
+ 'tumbler.js',
+ 'vector3.js'
+ ],
+ 'DEST': 'examples',
+ 'NAME': 'fullscreen_tumbler',
+}
+
diff --git a/native_client_sdk/src/examples/hello_world_interactive/example.dsc b/native_client_sdk/src/examples/hello_world_interactive/example.dsc
new file mode 100644
index 0000000..dd52ac9
--- /dev/null
+++ b/native_client_sdk/src/examples/hello_world_interactive/example.dsc
@@ -0,0 +1,17 @@
+{
+ 'TOOLS': ['newlib', 'glibc'],
+ 'TARGETS': [
+ {
+ 'NAME' : 'hello_world',
+ 'TYPE' : 'main',
+ 'SOURCES' : [
+ 'hello_world.cc',
+ 'helper_functions.cc',
+ 'helper_functions.h'
+ ]
+ }
+ ],
+ 'DEST': 'examples',
+ 'NAME': 'hello_world_interactive',
+}
+
diff --git a/native_client_sdk/src/examples/hello_world_newlib/example.dsc b/native_client_sdk/src/examples/hello_world_newlib/example.dsc
new file mode 100644
index 0000000..fbc1a01
--- /dev/null
+++ b/native_client_sdk/src/examples/hello_world_newlib/example.dsc
@@ -0,0 +1,21 @@
+{
+ 'TOOLS': ['newlib', 'glibc'],
+ 'TARGETS': [
+ {
+ 'NAME' : 'hello_world',
+ 'TYPE' : 'main',
+ 'SOURCES' : ['hello_world.c'],
+ }
+ ],
+ 'DEST': 'examples',
+ 'NAME': 'hello_world',
+ 'TITLE': 'Hello World.',
+ 'DESC': """
+The Hello World In C example demonstrates the basic structure of all
+Native Client applications. This example loads a Native Client module. The
+page tracks the status of the module as it load. On a successful load, the
+module will post a message containing the string "Hello World" back to
+JavaScript which will display it as an alert.""",
+ 'INFO': 'Basic HTML, JavaScript, and module architecture.'
+}
+
diff --git a/native_client_sdk/src/examples/mouselock/example.dsc b/native_client_sdk/src/examples/mouselock/example.dsc
new file mode 100644
index 0000000..1ee44cc
--- /dev/null
+++ b/native_client_sdk/src/examples/mouselock/example.dsc
@@ -0,0 +1,14 @@
+{
+ 'TOOLS': ['newlib', 'glibc'],
+ 'TARGETS': [
+ {
+ 'NAME' : 'mouselock',
+ 'TYPE' : 'main',
+ 'SOURCES' : ['mouselock.cc', 'mouselock.h'],
+ }
+ ],
+ 'DATA': ['check_browser.js'],
+ 'DEST': 'examples',
+ 'NAME': 'mouselock'
+}
+
diff --git a/native_client_sdk/src/examples/multithreaded_input_events/example.dsc b/native_client_sdk/src/examples/multithreaded_input_events/example.dsc
new file mode 100644
index 0000000..88fb13e
--- /dev/null
+++ b/native_client_sdk/src/examples/multithreaded_input_events/example.dsc
@@ -0,0 +1,19 @@
+{
+ 'TOOLS': ['newlib', 'glibc'],
+ 'TARGETS': [
+ {
+ 'NAME' : 'mt_input_events',
+ 'TYPE' : 'main',
+ 'SOURCES' : [
+ 'custom_events.cc',
+ 'custom_events.h',
+ 'mt_input_events.cc',
+ 'shared_queue.h',
+ 'thread_safe_ref_count.h'
+ ]
+ }
+ ],
+ 'DEST': 'examples',
+ 'NAME': 'mt_input_events',
+}
+
diff --git a/native_client_sdk/src/examples/pi_generator/example.dsc b/native_client_sdk/src/examples/pi_generator/example.dsc
new file mode 100644
index 0000000..00016f4
--- /dev/null
+++ b/native_client_sdk/src/examples/pi_generator/example.dsc
@@ -0,0 +1,17 @@
+{
+ 'TOOLS': ['newlib', 'glibc'],
+ 'TARGETS': [
+ {
+ 'NAME' : 'pi_generator',
+ 'TYPE' : 'main',
+ 'SOURCES' : [
+ 'pi_generator.cc',
+ 'pi_generator.h',
+ 'pi_generator_module.cc'
+ ]
+ }
+ ],
+ 'DEST': 'examples',
+ 'NAME': 'pi_generator',
+}
+
diff --git a/native_client_sdk/src/examples/pong/example.dsc b/native_client_sdk/src/examples/pong/example.dsc
new file mode 100644
index 0000000..3df89f0
--- /dev/null
+++ b/native_client_sdk/src/examples/pong/example.dsc
@@ -0,0 +1,19 @@
+{
+ 'TOOLS': ['newlib', 'glibc'],
+ 'TARGETS': [
+ {
+ 'NAME' : 'pong',
+ 'TYPE' : 'main',
+ 'SOURCES' : [
+ 'pong.cc',
+ 'pong.h',
+ 'pong_module.cc',
+ 'view.cc',
+ 'view.h',
+ ],
+ }
+ ],
+ 'DEST': 'examples',
+ 'NAME': 'pong',
+}
+
diff --git a/native_client_sdk/src/examples/sine_synth/example.dsc b/native_client_sdk/src/examples/sine_synth/example.dsc
new file mode 100644
index 0000000..43e7f29
--- /dev/null
+++ b/native_client_sdk/src/examples/sine_synth/example.dsc
@@ -0,0 +1,13 @@
+{
+ 'TOOLS': ['newlib', 'glibc'],
+ 'TARGETS': [
+ {
+ 'NAME' : 'sine_synth',
+ 'TYPE' : 'main',
+ 'SOURCES' : ['sine_synth.cc']
+ }
+ ],
+ 'DEST': 'examples',
+ 'NAME': 'sine_synth',
+}
+
diff --git a/native_client_sdk/src/examples/tumbler/example.dsc b/native_client_sdk/src/examples/tumbler/example.dsc
new file mode 100644
index 0000000..3c12588
--- /dev/null
+++ b/native_client_sdk/src/examples/tumbler/example.dsc
@@ -0,0 +1,37 @@
+{
+ 'TOOLS': ['newlib', 'glibc'],
+ 'TARGETS': [
+ {
+ 'NAME' : 'tumbler',
+ 'TYPE' : 'main',
+ 'SOURCES' : [
+ 'callback.h',
+ 'cube.cc',
+ 'cube.h',
+ 'opengl_context.cc',
+ 'opengl_context.h',
+ 'opengl_context_ptrs.h',
+ 'scripting_bridge.cc',
+ 'scripting_bridge.h',
+ 'shader_util.cc',
+ 'shader_util.h',
+ 'transforms.cc',
+ 'transforms.h',
+ 'tumbler.cc',
+ 'tumbler.h',
+ 'tumbler_module.cc'
+ ],
+ 'LDFLAGS': ['$(NACL_LDFLAGS)', '-lppapi_gles2']
+ }
+ ],
+ 'DATA': [
+ 'bind.js',
+ 'dragger.js',
+ 'trackball.js',
+ 'tumbler.js',
+ 'vector3.js'
+ ],
+ 'DEST': 'examples',
+ 'NAME': 'tumbler',
+}
+
diff --git a/native_client_sdk/src/examples/websocket/example.dsc b/native_client_sdk/src/examples/websocket/example.dsc
new file mode 100644
index 0000000..79d0ea0
--- /dev/null
+++ b/native_client_sdk/src/examples/websocket/example.dsc
@@ -0,0 +1,13 @@
+{
+ 'TOOLS': ['newlib', 'glibc'],
+ 'TARGETS': [
+ {
+ 'NAME' : 'websocket',
+ 'TYPE' : 'main',
+ 'SOURCES' : ['websocket.cc']
+ }
+ ],
+ 'DEST': 'examples',
+ 'NAME': 'websocket',
+}
+