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

Side by Side Diff: ppapi/native_client/tests/ppapi_example_post_message/nacl.scons

Issue 10868029: Inlining PPAPI_LIBS as its now the same everywhere. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 4 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 # -*- python -*- 1 # -*- python -*-
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # This is a Pepper PostMessage example from ppapi/examples/scripting. 6 # This is a Pepper PostMessage example from ppapi/examples/scripting.
7 7
8 Import('env') 8 Import('env')
9 9
10 env.Prepend(CPPDEFINES=['XP_UNIX']) 10 env.Prepend(CPPDEFINES=['XP_UNIX'])
11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/' + 11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/' +
12 'ppapi_example_post_message/') 12 'ppapi_example_post_message/')
13 13
14 nexe_name = env.ProgramNameForNmf('ppapi_example_post_message') 14 nexe_name = env.ProgramNameForNmf('ppapi_example_post_message')
15 obj = env.ComponentObject( 15 obj = env.ComponentObject(
16 'post_message', 16 'post_message',
17 '$SOURCE_ROOT/ppapi/examples/scripting/post_message.cc' 17 '$SOURCE_ROOT/ppapi/examples/scripting/post_message.cc'
18 ) 18 )
19 nexe = env.ComponentProgram(nexe_name, [obj], 19 nexe = env.ComponentProgram(nexe_name, [obj],
20 EXTRA_LIBS=['${PPAPI_LIBS}', 'ppapi_cpp']) 20 EXTRA_LIBS=['ppapi', 'ppapi_cpp'])
21 21
22 # Note that the html is required to run this program. 22 # Note that the html is required to run this program.
23 env.Publish(nexe_name, 'run', 23 env.Publish(nexe_name, 'run',
24 ['ppapi_example_post_message.html']) 24 ['ppapi_example_post_message.html'])
25 25
26 26
27 test = env.PPAPIBrowserTester( 27 test = env.PPAPIBrowserTester(
28 'ppapi_example_post_message_test.out', 28 'ppapi_example_post_message_test.out',
29 url='ppapi_example_post_message.html', 29 url='ppapi_example_post_message.html',
30 nmf_names=['ppapi_example_post_message'], 30 nmf_names=['ppapi_example_post_message'],
31 files=env.ExtractPublishedFiles(nexe_name)) 31 files=env.ExtractPublishedFiles(nexe_name))
32 32
33 env.AddNodeToTestSuite(test, 33 env.AddNodeToTestSuite(test,
34 ['chrome_browser_tests'], 34 ['chrome_browser_tests'],
35 'run_ppapi_example_post_message_test', 35 'run_ppapi_example_post_message_test',
36 is_broken=env.PPAPIBrowserTesterIsBroken()) 36 is_broken=env.PPAPIBrowserTesterIsBroken())
OLDNEW
« no previous file with comments | « ppapi/native_client/tests/ppapi_example_gles2/nacl.scons ('k') | ppapi/native_client/tests/ppapi_geturl/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698