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

Side by Side Diff: mojo/mojo_edk_tests.gyp

Issue 2038413003: Mojo C++ bindings GYP build: only unset "-Wglobal-constructors' for unittests depending on WTF type… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | mojo/mojo_public.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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'includes': [ 6 'includes': [
7 'mojo_variables.gypi', 7 'mojo_variables.gypi',
8 ], 8 ],
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 23 matching lines...) Expand all
34 '../testing/gtest.gyp:gtest', 34 '../testing/gtest.gyp:gtest',
35 'mojo_edk.gyp:mojo_run_all_unittests', 35 'mojo_edk.gyp:mojo_run_all_unittests',
36 'mojo_public.gyp:mojo_cpp_bindings', 36 'mojo_public.gyp:mojo_cpp_bindings',
37 'mojo_public.gyp:mojo_public_bindings_test_utils', 37 'mojo_public.gyp:mojo_public_bindings_test_utils',
38 'mojo_public.gyp:mojo_public_test_associated_interfaces', 38 'mojo_public.gyp:mojo_public_test_associated_interfaces',
39 'mojo_public.gyp:mojo_public_test_interfaces', 39 'mojo_public.gyp:mojo_public_test_interfaces',
40 'mojo_public.gyp:mojo_public_test_interfaces_blink', 40 'mojo_public.gyp:mojo_public_test_interfaces_blink',
41 'mojo_public.gyp:mojo_public_test_interfaces_struct_traits', 41 'mojo_public.gyp:mojo_public_test_interfaces_struct_traits',
42 'mojo_public.gyp:mojo_public_test_utils', 42 'mojo_public.gyp:mojo_public_test_utils',
43 ], 43 ],
44 'variables': {
45 'clang_warning_flags_unset': [ '-Wglobal-constructors' ],
46 },
44 'sources': [ 47 'sources': [
45 'public/cpp/bindings/tests/array_common_test.h', 48 'public/cpp/bindings/tests/array_common_test.h',
46 'public/cpp/bindings/tests/array_unittest.cc', 49 'public/cpp/bindings/tests/array_unittest.cc',
47 'public/cpp/bindings/tests/associated_interface_unittest.cc', 50 'public/cpp/bindings/tests/associated_interface_unittest.cc',
48 'public/cpp/bindings/tests/bind_task_runner_unittest.cc', 51 'public/cpp/bindings/tests/bind_task_runner_unittest.cc',
49 'public/cpp/bindings/tests/binding_callback_unittest.cc', 52 'public/cpp/bindings/tests/binding_callback_unittest.cc',
50 'public/cpp/bindings/tests/binding_unittest.cc', 53 'public/cpp/bindings/tests/binding_unittest.cc',
51 'public/cpp/bindings/tests/bounds_checker_unittest.cc', 54 'public/cpp/bindings/tests/bounds_checker_unittest.cc',
52 'public/cpp/bindings/tests/buffer_unittest.cc', 55 'public/cpp/bindings/tests/buffer_unittest.cc',
53 'public/cpp/bindings/tests/callback_unittest.cc', 56 'public/cpp/bindings/tests/callback_unittest.cc',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 'public/cpp/bindings/tests/struct_with_traits_impl.h', 88 'public/cpp/bindings/tests/struct_with_traits_impl.h',
86 'public/cpp/bindings/tests/struct_with_traits_impl_traits.cc', 89 'public/cpp/bindings/tests/struct_with_traits_impl_traits.cc',
87 'public/cpp/bindings/tests/struct_with_traits_impl_traits.h', 90 'public/cpp/bindings/tests/struct_with_traits_impl_traits.h',
88 'public/cpp/bindings/tests/sync_method_unittest.cc', 91 'public/cpp/bindings/tests/sync_method_unittest.cc',
89 'public/cpp/bindings/tests/type_conversion_unittest.cc', 92 'public/cpp/bindings/tests/type_conversion_unittest.cc',
90 'public/cpp/bindings/tests/union_unittest.cc', 93 'public/cpp/bindings/tests/union_unittest.cc',
91 'public/cpp/bindings/tests/validation_unittest.cc', 94 'public/cpp/bindings/tests/validation_unittest.cc',
92 'public/cpp/bindings/tests/variant_test_util.h', 95 'public/cpp/bindings/tests/variant_test_util.h',
93 ], 96 ],
94 'conditions': [ 97 'conditions': [
98 # TODO(yzshen): Blink-flavor bindings tests should be moved into
99 # mojo_public_bindings_for_blink_tests (which should eventually be moved
100 # into blink).
95 ['OS=="ios"', { 101 ['OS=="ios"', {
96 'dependencies!': [ 102 'dependencies!': [
97 'mojo_public.gyp:mojo_public_test_interfaces_blink', 103 'mojo_public.gyp:mojo_public_test_interfaces_blink',
98 ], 104 ],
99 'sources!': [ 105 'sources!': [
100 'public/cpp/bindings/tests/pickle_unittest.cc', 106 'public/cpp/bindings/tests/pickle_unittest.cc',
101 'public/cpp/bindings/tests/pickled_struct_blink.cc', 107 'public/cpp/bindings/tests/pickled_struct_blink.cc',
102 'public/cpp/bindings/tests/pickled_struct_blink.h', 108 'public/cpp/bindings/tests/pickled_struct_blink.h',
103 'public/cpp/bindings/tests/pickled_struct_chromium.cc', 109 'public/cpp/bindings/tests/pickled_struct_chromium.cc',
104 'public/cpp/bindings/tests/pickled_struct_chromium.h', 110 'public/cpp/bindings/tests/pickled_struct_chromium.h',
105 'public/cpp/bindings/tests/rect_blink.h', 111 'public/cpp/bindings/tests/rect_blink.h',
106 'public/cpp/bindings/tests/rect_blink_traits.h', 112 'public/cpp/bindings/tests/rect_blink_traits.h',
107 'public/cpp/bindings/tests/struct_traits_unittest.cc', 113 'public/cpp/bindings/tests/struct_traits_unittest.cc',
108 ], 114 ],
109 }], 115 }],
110 ], 116 ],
111 }, 117 },
112 { 118 {
113 # GN version: //mojo/public/cpp/bindings/tests:for_blink_tests 119 # GN version: //mojo/public/cpp/bindings/tests:for_blink_tests
114 'target_name': 'mojo_public_bindings_for_blink_tests', 120 'target_name': 'mojo_public_bindings_for_blink_tests',
115 'type': 'static_library', 121 'type': 'static_library',
116 'dependencies': [ 122 'dependencies': [
117 '../testing/gtest.gyp:gtest', 123 '../testing/gtest.gyp:gtest',
118 'mojo_public.gyp:mojo_cpp_bindings', 124 'mojo_public.gyp:mojo_cpp_bindings',
119 'mojo_public.gyp:mojo_public_test_interfaces', 125 'mojo_public.gyp:mojo_public_test_interfaces',
120 'mojo_public.gyp:mojo_public_test_wtf_types', 126 'mojo_public.gyp:mojo_public_test_wtf_types',
121 'mojo_public.gyp:mojo_public_test_wtf_types_blink', 127 'mojo_public.gyp:mojo_public_test_wtf_types_blink',
122 ], 128 ],
129 'variables': {
130 'clang_warning_flags_unset': [ '-Wglobal-constructors' ],
131 },
123 'sources': [ 132 'sources': [
124 'public/cpp/bindings/tests/array_common_test.h', 133 'public/cpp/bindings/tests/array_common_test.h',
125 'public/cpp/bindings/tests/container_test_util.cc', 134 'public/cpp/bindings/tests/container_test_util.cc',
126 'public/cpp/bindings/tests/container_test_util.h', 135 'public/cpp/bindings/tests/container_test_util.h',
127 'public/cpp/bindings/tests/variant_test_util.h', 136 'public/cpp/bindings/tests/variant_test_util.h',
128 'public/cpp/bindings/tests/wtf_array_unittest.cc', 137 'public/cpp/bindings/tests/wtf_array_unittest.cc',
129 'public/cpp/bindings/tests/wtf_types_unittest.cc', 138 'public/cpp/bindings/tests/wtf_types_unittest.cc',
130 ], 139 ],
131 }, 140 },
132 { 141 {
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 ], 379 ],
371 'variables': { 380 'variables': {
372 'test_suite_name': 'mojo_system_unittests', 381 'test_suite_name': 'mojo_system_unittests',
373 }, 382 },
374 'includes': [ '../build/apk_test.gypi' ], 383 'includes': [ '../build/apk_test.gypi' ],
375 }, 384 },
376 ], 385 ],
377 }], 386 }],
378 ], 387 ],
379 } 388 }
OLDNEW
« no previous file with comments | « no previous file | mojo/mojo_public.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698