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

Side by Side Diff: native_client_sdk/src/examples/dlopen/example.dsc

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 { 1 {
2 'TOOLS': ['glibc'], 2 'TOOLS': ['glibc'],
3 'TARGETS': [ 3 'TARGETS': [
4 { 4 {
5 'NAME': 'dlopen', 5 'NAME': 'dlopen',
6 'TYPE': 'main', 6 'TYPE': 'main',
7 'SOURCES': ['dlopen.cc'], 7 'SOURCES': ['dlopen.cc'],
8 'LIBS': ['nacl_io', 'dl', 'ppapi_cpp', 'ppapi', 'pthread'] 8 'LIBS': ['nacl_io', 'dl', 'ppapi_cpp', 'ppapi', 'pthread']
9 }, 9 },
10 { 10 {
11 'NAME' : 'libeightball', 11 'NAME' : 'libeightball',
12 'TYPE' : 'so', 12 'TYPE' : 'so',
13 'SOURCES' : ['eightball.cc', 'eightball.h'], 13 'SOURCES' : ['eightball.cc', 'eightball.h'],
14 'CXXFLAGS': ['-fPIC'], 14 'CXXFLAGS': ['-fPIC'],
15 'LIBS' : ['ppapi_cpp', 'ppapi', 'pthread'] 15 'LIBS' : ['ppapi_cpp', 'ppapi', 'pthread']
16 }, 16 },
17 { 17 {
18 'NAME' : 'libreverse', 18 'NAME' : 'libreverse',
19 'TYPE' : 'so', 19 # This .so file is manually loaded by dlopen; we don't want to include it
20 # in the .nmf, or it will be automatically loaded on startup.
21 'TYPE' : 'so-standalone',
20 'SOURCES' : ['reverse.cc', 'reverse.h'], 22 'SOURCES' : ['reverse.cc', 'reverse.h'],
21 'CXXFLAGS': ['-fPIC'], 23 'CXXFLAGS': ['-fPIC'],
22 'LIBS' : ['ppapi_cpp', 'ppapi', 'pthread'] 24 'LIBS' : ['ppapi_cpp', 'ppapi', 'pthread']
23 } 25 }
24 ], 26 ],
25 'DATA': [ 27 'DATA': [
26 'example.js', 28 'example.js',
27 ], 29 ],
28 'DEST': 'examples', 30 'DEST': 'examples',
29 'NAME': 'dlopen', 31 'NAME': 'dlopen',
30 'TITLE': 'Dynamic Library Open', 32 'TITLE': 'Dynamic Library Open',
31 'DESC': """
32 The dlopen example demonstrates how build dynamic libraries and then
33 open and use them at runtime. When the page loads, type in a question and
34 hit enter or click the ASK! button. The question and answer will be
35 displayed in the page under the text entry box. Shared libraries are only
36 available with the GLIBC toolchain.""",
37 'FOCUS': 'Using shared objects.',
38 'GROUP': 'Concepts' 33 'GROUP': 'Concepts'
39 } 34 }
40 35
OLDNEW
« no previous file with comments | « native_client_sdk/src/examples/dlopen/dlopen.cc ('k') | native_client_sdk/src/examples/dlopen/example.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698