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

Side by Side Diff: Source/wtf/wtf_tests.gyp

Issue 186863002: Build blink_platform_unittests and wtf_unittests on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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
« no previous file with comments | « Source/wtf/PartitionAllocTest.cpp ('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 # Copyright (C) 2013 Google Inc. All rights reserved. 1 # Copyright (C) 2013 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 '<@(wtf_unittest_files)', 44 '<@(wtf_unittest_files)',
45 ], 45 ],
46 # Disable c4267 warnings until we fix size_t to int truncations. 46 # Disable c4267 warnings until we fix size_t to int truncations.
47 'msvs_disabled_warnings': [4127, 4510, 4512, 4610, 4706, 4068, 4267], 47 'msvs_disabled_warnings': [4127, 4510, 4512, 4610, 4706, 4068, 4267],
48 'conditions': [ 48 'conditions': [
49 ['os_posix==1 and OS!="mac" and OS!="android" and OS!="ios" and linux_us e_tcmalloc==1', { 49 ['os_posix==1 and OS!="mac" and OS!="android" and OS!="ios" and linux_us e_tcmalloc==1', {
50 'dependencies': [ 50 'dependencies': [
51 '<(DEPTH)/base/base.gyp:base', 51 '<(DEPTH)/base/base.gyp:base',
52 '<(DEPTH)/base/allocator/allocator.gyp:allocator', 52 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
53 ], 53 ],
54 }] 54 }],
55 ['OS=="android" and gtest_target_type == "shared_library"', {
56 'type': 'shared_library',
57 'dependencies': [
58 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
59 '<(DEPTH)/tools/android/forwarder2/forwarder.gyp:forwarder2',
60 ],
61 }],
55 ] 62 ]
56 }, 63 },
57 { 64 {
58 'target_name': 'run_all_tests', 65 'target_name': 'run_all_tests',
59 'type': 'static_library', 66 'type': 'static_library',
60 'dependencies': [ 67 'dependencies': [
61 '../config.gyp:unittest_config', 68 '../config.gyp:unittest_config',
62 '<(DEPTH)/base/base.gyp:test_support_base', 69 '<(DEPTH)/base/base.gyp:test_support_base',
63 ], 70 ],
64 'export_dependent_settings': [ 71 'export_dependent_settings': [
(...skipping 13 matching lines...) Expand all
78 'wtf.gyp:wtf', 85 'wtf.gyp:wtf',
79 ], 86 ],
80 'defines': [ 87 'defines': [
81 'WTF_UNITTEST_HELPERS_IMPLEMENTATION=1', 88 'WTF_UNITTEST_HELPERS_IMPLEMENTATION=1',
82 ], 89 ],
83 'sources': [ 90 'sources': [
84 '<@(wtf_unittest_helper_files)', 91 '<@(wtf_unittest_helper_files)',
85 ], 92 ],
86 }, 93 },
87 ], 94 ],
95 'conditions': [
96 ['OS=="android" and android_webview_build==0 and gtest_target_type=="shared_ library"', {
97 'targets': [{
98 'target_name': 'wtf_unittests_apk',
99 'type': 'none',
100 'dependencies': [
101 '<(DEPTH)/base/base.gyp:base_java',
102 '<(DEPTH)/net/net.gyp:net_java',
103 'wtf_unittests',
104 ],
105 'variables': {
106 'test_suite_name': 'wtf_unittests',
107 },
108 'includes': [ '../../../../build/apk_test.gypi' ],
109 }],
110 }],
111 ],
88 } 112 }
OLDNEW
« no previous file with comments | « Source/wtf/PartitionAllocTest.cpp ('k') | public/all.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698