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

Side by Side Diff: Source/heap/blink_heap_tests.gyp

Issue 148453004: Add a blink_heap_unittests_apk so we can run the tests on Android. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix spaces in condition per review comment Created 6 years, 11 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
« no previous file with comments | « Source/heap/BlinkHeapUnitTests.isolate ('k') | public/all.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Copyright (C) 2013 Google Inc. All rights reserved. 2 # Copyright (C) 2013 Google Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 'sources': [ 46 'sources': [
47 '<@(heap_test_files)', 47 '<@(heap_test_files)',
48 ], 48 ],
49 'conditions': [ 49 'conditions': [
50 ['os_posix==1 and OS!="mac" and OS!="android" and OS!="ios" and linux_us e_tcmalloc==1', { 50 ['os_posix==1 and OS!="mac" and OS!="android" and OS!="ios" and linux_us e_tcmalloc==1', {
51 'dependencies': [ 51 'dependencies': [
52 '<(DEPTH)/base/base.gyp:base', 52 '<(DEPTH)/base/base.gyp:base',
53 '<(DEPTH)/base/allocator/allocator.gyp:allocator', 53 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
54 ] 54 ]
55 }], 55 }],
56 ] 56 ['OS=="android" and gtest_target_type == "shared_library"', {
57 'type': 'shared_library',
58 'dependencies': [
59 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
60 '<(DEPTH)/tools/android/forwarder2/forwarder.gyp:forwarder2',
61 ],
62 }],
63 ],
57 }, 64 },
58 { 65 {
59 'target_name': 'blink_heap_run_all_tests', 66 'target_name': 'blink_heap_run_all_tests',
60 'type': 'static_library', 67 'type': 'static_library',
61 'dependencies': [ 68 'dependencies': [
62 '../config.gyp:unittest_config', 69 '../config.gyp:unittest_config',
63 '<(DEPTH)/base/base.gyp:test_support_base', 70 '<(DEPTH)/base/base.gyp:test_support_base',
64 ], 71 ],
65 'export_dependent_settings': [ 72 'export_dependent_settings': [
66 '<(DEPTH)/base/base.gyp:test_support_base', 73 '<(DEPTH)/base/base.gyp:test_support_base',
67 ], 74 ],
68 # Disable c4267 warnings until we fix size_t to int truncations. See wtf.g yp for details. 75 # Disable c4267 warnings until we fix size_t to int truncations. See wtf.g yp for details.
69 'msvs_disabled_warnings': [4267], 76 'msvs_disabled_warnings': [4267],
70 'sources': [ 77 'sources': [
71 'RunAllTests.cpp', 78 'RunAllTests.cpp',
72 ] 79 ]
73 }, 80 },
81 ], # targets
82 'conditions': [
83 ['OS=="android" and android_webview_build==0 and gtest_target_type=="shared_ library"', {
84 'targets': [{
85 'target_name': 'blink_heap_unittests_apk',
86 'type': 'none',
87 'dependencies': [
88 '<(DEPTH)/base/base.gyp:base_java',
89 '<(DEPTH)/net/net.gyp:net_java',
90 'blink_heap_unittests',
91 ],
92 'variables': {
93 'test_suite_name': 'blink_heap_unittests',
94 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)webkit_unit _tests<(SHARED_LIB_SUFFIX)',
Yaron 2014/01/27 22:25:34 This is the wrong value but it's actually unused n
Dirk Pranke 2014/01/27 22:46:19 Fixed, thanks!
95 },
96 'includes': [ '../../../../build/apk_test.gypi' ],
97 }],
98 }],
74 ], 99 ],
75 } 100 }
OLDNEW
« no previous file with comments | « Source/heap/BlinkHeapUnitTests.isolate ('k') | public/all.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698