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

Side by Side Diff: ppapi/native_client/tests/ppapi_browser/ppb_pdf/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: 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 6
7 Import('env') 7 Import('env')
8 8
9 env.Prepend(CPPDEFINES=['XP_UNIX']) 9 env.Prepend(CPPDEFINES=['XP_UNIX'])
10 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' + 10 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' +
11 'ppb_pdf') 11 'ppb_pdf')
12 12
13 nexe = env.ProgramNameForNmf('ppapi_ppb_pdf') 13 nexe = env.ProgramNameForNmf('ppapi_ppb_pdf')
14 env.Alias('ppapi_ppb_pdf${PROGSUFFIX}', 14 env.Alias('ppapi_ppb_pdf${PROGSUFFIX}',
15 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) 15 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe])
16 16
17 ppapi_ppb_pdf_nexe = env.ComponentProgram( 17 ppapi_ppb_pdf_nexe = env.ComponentProgram(
18 nexe, 18 nexe,
19 ['ppapi_ppb_pdf.cc'], 19 ['ppapi_ppb_pdf.cc'],
20 EXTRA_LIBS=['${PPAPI_LIBS}', 20 EXTRA_LIBS=['ppapi',
21 'ppapi_test_lib', 21 'ppapi_test_lib',
22 'platform', # for CHECK 22 'platform', # for CHECK
23 'pthread', 23 'pthread',
24 'gio', 24 'gio',
25 ]) 25 ])
26 26
27 env.Publish(nexe, 'run', 27 env.Publish(nexe, 'run',
28 ['ppapi_ppb_pdf.html', 28 ['ppapi_ppb_pdf.html',
29 'ppapi_ppb_pdf.js']) 29 'ppapi_ppb_pdf.js'])
30 30
31 node = env.PPAPIBrowserTester('ppapi_ppb_pdf_browser_test.out', 31 node = env.PPAPIBrowserTester('ppapi_ppb_pdf_browser_test.out',
32 url='ppapi_ppb_pdf.html', 32 url='ppapi_ppb_pdf.html',
33 nmf_names=['ppapi_ppb_pdf'], 33 nmf_names=['ppapi_ppb_pdf'],
34 files=env.ExtractPublishedFiles(nexe)) 34 files=env.ExtractPublishedFiles(nexe))
35 35
36 env.AddNodeToTestSuite(node, 36 env.AddNodeToTestSuite(node,
37 ['chrome_browser_tests'], 37 ['chrome_browser_tests'],
38 'run_ppapi_ppb_pdf_browser_test', 38 'run_ppapi_ppb_pdf_browser_test',
39 # Pnacl x86-64 requires a shim. However the shim 39 # Pnacl x86-64 requires a shim. However the shim
40 # is generated via IDL, and pdf header is not 40 # is generated via IDL, and pdf header is not
41 # generated via IDL right now 41 # generated via IDL right now
42 # http://code.google.com/p/chromium/issues/detail?id=89968 42 # http://code.google.com/p/chromium/issues/detail?id=89968
43 is_broken=( 43 is_broken=(
44 env.PPAPIBrowserTesterIsBroken() or 44 env.PPAPIBrowserTesterIsBroken() or
45 (env.Bit('bitcode') and env.Bit('target_x86_64')))) 45 (env.Bit('bitcode') and env.Bit('target_x86_64'))))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698