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

Side by Side Diff: mojo/common/BUILD.gn

Issue 2156303003: Mojo C++ bindings: make the generator use STL/WTF string/vector/map by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into 72_switch_default Created 4 years, 5 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 | « media/mojo/interfaces/mojo_bindings.gyp ('k') | mojo/edk/js/tests/BUILD.gn » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 group("common") { 8 group("common") {
9 public_deps = [ 9 public_deps = [
10 ":common_base", 10 ":common_base",
11 ":common_custom_types", 11 ":common_custom_types",
12 ] 12 ]
13 } 13 }
14 14
15 # GYP version: mojo/mojo_base.gyp:mojo_common_custom_types 15 # GYP version: mojo/mojo_base.gyp:mojo_common_custom_types
16 mojom("common_custom_types") { 16 mojom("common_custom_types") {
17 sources = [ 17 sources = [
18 "common_custom_types.mojom", 18 "common_custom_types.mojom",
19 ] 19 ]
20
21 use_new_wrapper_types = false
20 } 22 }
21 23
22 # GYP version: mojo/mojo_base.gyp:mojo_common_lib 24 # GYP version: mojo/mojo_base.gyp:mojo_common_lib
23 component("common_base") { 25 component("common_base") {
24 output_name = "mojo_common_lib" 26 output_name = "mojo_common_lib"
25 27
26 sources = [ 28 sources = [
27 "common_type_converters.cc", 29 "common_type_converters.cc",
28 "common_type_converters.h", 30 "common_type_converters.h",
29 "data_pipe_drainer.cc", 31 "data_pipe_drainer.cc",
(...skipping 15 matching lines...) Expand all
45 } 47 }
46 48
47 # GYP version: mojo/mojo_base.gyp:mojo_test_common_custom_types 49 # GYP version: mojo/mojo_base.gyp:mojo_test_common_custom_types
48 mojom("test_common_custom_types") { 50 mojom("test_common_custom_types") {
49 sources = [ 51 sources = [
50 "test_common_custom_types.mojom", 52 "test_common_custom_types.mojom",
51 ] 53 ]
52 public_deps = [ 54 public_deps = [
53 ":common_custom_types", 55 ":common_custom_types",
54 ] 56 ]
57
58 use_new_wrapper_types = false
55 } 59 }
56 60
57 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests 61 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests
58 test("mojo_common_unittests") { 62 test("mojo_common_unittests") {
59 deps = [ 63 deps = [
60 ":common", 64 ":common",
61 ":common_custom_types", 65 ":common_custom_types",
62 ":test_common_custom_types", 66 ":test_common_custom_types",
63 "//base", 67 "//base",
64 "//base:message_loop_tests", 68 "//base:message_loop_tests",
(...skipping 14 matching lines...) Expand all
79 83
80 test("mojo_common_perftests") { 84 test("mojo_common_perftests") {
81 deps = [ 85 deps = [
82 ":common", 86 ":common",
83 "//base", 87 "//base",
84 "//mojo/edk/test:run_all_perftests", 88 "//mojo/edk/test:run_all_perftests",
85 "//mojo/public/cpp/test_support:test_utils", 89 "//mojo/public/cpp/test_support:test_utils",
86 "//testing/gtest", 90 "//testing/gtest",
87 ] 91 ]
88 } 92 }
OLDNEW
« no previous file with comments | « media/mojo/interfaces/mojo_bindings.gyp ('k') | mojo/edk/js/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698