summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/examples/dlopen/example.dsc
blob: cd66e0c3830775d021dd2a1a33cf274365df6e99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  'TOOLS': ['glibc'],
  'TARGETS': [
    {
      'NAME': 'dlopen',
      'TYPE': 'main',
      'SOURCES': ['dlopen.cc'],
      'LIBS': ['dl', 'ppapi_cpp', 'ppapi', 'pthread']
    },
    {
      'NAME' : 'libeightball',
      'TYPE' : 'so',
      'SOURCES' : ['eightball.cc', 'eightball.h'],
      'CXXFLAGS': ['-fPIC'],
      'LIBS' : ['ppapi_cpp', 'ppapi', 'pthread']
    }
  ],
  'DATA': [
    'Makefile',
    'example.js',
  ],
  'DEST': 'examples',
  'NAME': 'dlopen',
  'TITLE': 'Dynamic Library Open',
  'DESC': """
The dlopen example demonstrates how build dynamic libraries and then
open and use them at runtime.  When the page loads, type in a question and
hit enter or click the ASK! button.  The question and answer will be
displayed in the page under the text entry box.  Shared libraries are only
available with the GLIBC toolchain.""",
  'FOCUS': 'Using shared objects.',
  'GROUP': 'Concepts'
}