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

Unified Diff: chrome/test/data/nacl/nacl_browser_test.gypi

Issue 10958026: Port ppapi_ppb_core nacl_integration test to browser_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/nacl/nacl_browser_test.gypi
diff --git a/chrome/test/data/nacl/nacl_browser_test.gypi b/chrome/test/data/nacl/nacl_browser_test.gypi
index 9b6ab4b9f06848dd094e1d82b76e933d9dec6f4b..4e5cce958c942c7e017ea9f87738774966e4b478 100644
--- a/chrome/test/data/nacl/nacl_browser_test.gypi
+++ b/chrome/test/data/nacl/nacl_browser_test.gypi
@@ -16,15 +16,21 @@
'variables': {
'test_files': [],
'nacl_newlib_out_dir': '<(PRODUCT_DIR)/nacl_test_data/newlib',
- 'out_newlib32': '>(nacl_newlib_out_dir)/>(nexe_target)_newlib_x86_32.nexe',
- 'out_newlib64': '>(nacl_newlib_out_dir)/>(nexe_target)_newlib_x86_64.nexe',
- 'out_newlib_arm': '>(nacl_newlib_out_dir)/>(nexe_target)_newlib_arm.nexe',
- 'nmf_newlib': '>(nacl_newlib_out_dir)/>(nexe_target).nmf',
'nacl_glibc_out_dir': '<(PRODUCT_DIR)/nacl_test_data/glibc',
- 'out_glibc32': '>(nacl_glibc_out_dir)/>(nexe_target)_glibc_x86_32.nexe',
- 'out_glibc64': '>(nacl_glibc_out_dir)/>(nexe_target)_glibc_x86_64.nexe',
- 'out_glibc_arm': '>(nacl_glibc_out_dir)/>(nexe_target)_glibc_arm.nexe',
- 'nmf_glibc': '>(nacl_glibc_out_dir)/>(nexe_target).nmf',
+ 'target_conditions': [
+ ['nexe_target!=""', {
+ # These variables are used for nexe building and for library building,
+ # so they should be unconditionally re-defined.
+ 'out_newlib32': '>(nacl_newlib_out_dir)/>(nexe_target)_newlib_x86_32.nexe',
+ 'out_newlib64': '>(nacl_newlib_out_dir)/>(nexe_target)_newlib_x86_64.nexe',
+ 'out_newlib_arm': '>(nacl_newlib_out_dir)/>(nexe_target)_newlib_arm.nexe',
+ 'nmf_newlib': '>(nacl_newlib_out_dir)/>(nexe_target).nmf',
+ 'out_glibc32': '>(nacl_glibc_out_dir)/>(nexe_target)_glibc_x86_32.nexe',
+ 'out_glibc64': '>(nacl_glibc_out_dir)/>(nexe_target)_glibc_x86_64.nexe',
+ 'out_glibc_arm': '>(nacl_glibc_out_dir)/>(nexe_target)_glibc_arm.nexe',
+ 'nmf_glibc': '>(nacl_glibc_out_dir)/>(nexe_target).nmf',
+ }],
+ ],
},
'dependencies': [
'<(DEPTH)/ppapi/ppapi_untrusted.gyp:ppapi_cpp_lib',
@@ -129,11 +135,17 @@
'target_conditions': [
['enable_x86_64==1', {
'inputs': ['>(out_glibc64)'],
- 'action': ['--library-path=>(libdir_glibc64)'],
+ 'action': [
+ '--library-path=>(libdir_glibc64)',
+ '--library-path=<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64',
+ ],
}],
['enable_x86_32==1', {
'inputs': ['>(out_glibc32)'],
- 'action': ['--library-path=>(libdir_glibc32)'],
+ 'action': [
+ '--library-path=>(libdir_glibc32)',
+ '--library-path=<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32',
+ ],
}],
# TODO(ncbray) handle arm case. We don't have ARM glibc yet.
],

Powered by Google App Engine
This is Rietveld 408576698