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

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

Issue 1676913002: [mojo] Delete third_party/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: let's try that again Created 4 years, 10 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 | « mojo/android/javatests/init_library.cc ('k') | mojo/converters/surfaces/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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 group("common") { 7 group("common") {
8 public_deps = [ 8 public_deps = [
9 ":common_base", 9 ":common_base",
10 ":url_type_converters", 10 ":url_type_converters",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 ] 46 ]
47 } 47 }
48 48
49 # GYP version: mojo/mojo_base.gyp:mojo_url_type_converters 49 # GYP version: mojo/mojo_base.gyp:mojo_url_type_converters
50 source_set("url_type_converters") { 50 source_set("url_type_converters") {
51 sources = [ 51 sources = [
52 "url_type_converters.cc", 52 "url_type_converters.cc",
53 "url_type_converters.h", 53 "url_type_converters.h",
54 ] 54 ]
55 55
56 include_dirs = [ "//third_party/mojo/src/" ]
57
58 deps = [ 56 deps = [
59 ":common_base", 57 ":common_base",
60 "//base", 58 "//base",
61 "//base/third_party/dynamic_annotations", 59 "//base/third_party/dynamic_annotations",
62 "//mojo/public/cpp/bindings", 60 "//mojo/public/cpp/bindings",
63 "//url", 61 "//url",
64 ] 62 ]
65 } 63 }
66 64
67 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests 65 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests
68 test("mojo_common_unittests") { 66 test("mojo_common_unittests") {
69 deps = [ 67 deps = [
70 ":common", 68 ":common",
71 "//base", 69 "//base",
72 "//base:message_loop_tests", 70 "//base:message_loop_tests",
73 "//base/test:test_support", 71 "//base/test:test_support",
72 "//mojo/edk/test:run_all_unittests",
73 "//mojo/edk/test:test_support",
74 "//mojo/environment:chromium", 74 "//mojo/environment:chromium",
75 "//mojo/message_pump", 75 "//mojo/message_pump",
76 "//mojo/public/cpp/bindings", 76 "//mojo/public/cpp/bindings",
77 "//mojo/public/cpp/test_support:test_utils", 77 "//mojo/public/cpp/test_support:test_utils",
78 "//testing/gtest", 78 "//testing/gtest",
79 "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
80 "//third_party/mojo/src/mojo/edk/test:test_support",
81 "//url", 79 "//url",
82 ] 80 ]
83 81
84 sources = [ 82 sources = [
85 # The message_pump tests are so small and some what related to this code 83 # The message_pump tests are so small and some what related to this code
86 # that we put them here. 84 # that we put them here.
87 "../message_pump/handle_watcher_unittest.cc", 85 "../message_pump/handle_watcher_unittest.cc",
88 "../message_pump/message_pump_mojo_unittest.cc", 86 "../message_pump/message_pump_mojo_unittest.cc",
89 "common_type_converters_unittest.cc", 87 "common_type_converters_unittest.cc",
90 ] 88 ]
91 89
92 if (is_linux && !is_component_build) { 90 if (is_linux && !is_component_build) {
93 # This tests dynamically loads libmojo_test_support even in non-component 91 # This tests dynamically loads libmojo_test_support even in non-component
94 # builds. 92 # builds.
95 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] 93 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
96 } 94 }
97 } 95 }
98 96
99 test("mojo_common_perftests") { 97 test("mojo_common_perftests") {
100 deps = [ 98 deps = [
101 ":common", 99 ":common",
102 "//base", 100 "//base",
101 "//mojo/edk/test:run_all_perftests",
103 "//mojo/environment:chromium", 102 "//mojo/environment:chromium",
104 "//mojo/message_pump", 103 "//mojo/message_pump",
105 "//mojo/public/cpp/test_support:test_utils", 104 "//mojo/public/cpp/test_support:test_utils",
106 "//testing/gtest", 105 "//testing/gtest",
107 "//third_party/mojo/src/mojo/edk/test:run_all_perftests",
108 ] 106 ]
109 107
110 sources = [ 108 sources = [
111 "../message_pump/handle_watcher_perftest.cc", 109 "../message_pump/handle_watcher_perftest.cc",
112 ] 110 ]
113 111
114 if (is_linux && !is_component_build) { 112 if (is_linux && !is_component_build) {
115 # This test dynamically loads libmojo_test_support even in non-component 113 # This test dynamically loads libmojo_test_support even in non-component
116 # builds. 114 # builds.
117 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] 115 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
118 } 116 }
119 } 117 }
OLDNEW
« no previous file with comments | « mojo/android/javatests/init_library.cc ('k') | mojo/converters/surfaces/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698