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

Side by Side Diff: mojo/edk/system/BUILD.gn

Issue 707093002: Teach PRESUBMIT.py how to run gn check for most of the mojo repo (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: update after hans landed Created 6 years, 1 month 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/edk/js/BUILD.gn ('k') | mojo/services/window_manager/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 config("system_config") { 5 config("system_config") {
6 defines = [ 6 defines = [
7 # Ensures that dependent projects import the core functions on Windows. 7 # Ensures that dependent projects import the core functions on Windows.
8 "MOJO_USE_SYSTEM_IMPL", 8 "MOJO_USE_SYSTEM_IMPL",
9 ] 9 ]
10 } 10 }
11 11
12 component("system") { 12 component("system") {
13 output_name = "mojo_system_impl" 13 output_name = "mojo_system_impl"
14 14
15 deps = [ 15 deps = [
16 "//base", 16 "//base",
17 "//base/third_party/dynamic_annotations", 17 "//base/third_party/dynamic_annotations",
18 "//mojo/edk/embedder", 18 "//mojo/public/c/system",
19 ] 19 ]
20 20
21 public_deps = [ "//mojo/edk/embedder" ]
22
21 defines = [ 23 defines = [
22 "MOJO_SYSTEM_IMPL_IMPLEMENTATION", 24 "MOJO_SYSTEM_IMPL_IMPLEMENTATION",
23 "MOJO_SYSTEM_IMPLEMENTATION", 25 "MOJO_SYSTEM_IMPLEMENTATION",
24 ] 26 ]
25 27
26 all_dependent_configs = [ ":system_config" ] 28 all_dependent_configs = [ ":system_config" ]
27 29
28 sources = [ 30 sources = [
29 "channel.cc", 31 "channel.cc",
30 "channel.h", 32 "channel.h",
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 "waiter_list.cc", 89 "waiter_list.cc",
88 "waiter_list.h", 90 "waiter_list.h",
89 ] 91 ]
90 } 92 }
91 93
92 # GYP version: mojo/edk/mojo_edk.gyp:mojo_system_unittests 94 # GYP version: mojo/edk/mojo_edk.gyp:mojo_system_unittests
93 test("mojo_system_unittests") { 95 test("mojo_system_unittests") {
94 deps = [ 96 deps = [
95 ":system", 97 ":system",
96 "//base", 98 "//base",
99 "//base/test:test_support",
97 "//mojo/edk/embedder:embedder_unittests", 100 "//mojo/edk/embedder:embedder_unittests",
98 "//mojo/edk/test:test_support", 101 "//mojo/edk/test:test_support",
102 "//mojo/public/c/system",
99 "//testing/gtest", 103 "//testing/gtest",
100 ] 104 ]
101 105
102 sources = [ 106 sources = [
103 "../test/multiprocess_test_helper_unittest.cc", 107 "../test/multiprocess_test_helper_unittest.cc",
104 "channel_endpoint_id_unittest.cc", 108 "channel_endpoint_id_unittest.cc",
105 "channel_unittest.cc", 109 "channel_unittest.cc",
106 "core_test_base.cc", 110 "core_test_base.cc",
107 "core_test_base.h", 111 "core_test_base.h",
108 "core_unittest.cc", 112 "core_unittest.cc",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 ] 147 ]
144 148
145 sources = [ 149 sources = [
146 "message_pipe_perftest.cc", 150 "message_pipe_perftest.cc",
147 "message_pipe_test_utils.h", 151 "message_pipe_test_utils.h",
148 "message_pipe_test_utils.cc", 152 "message_pipe_test_utils.cc",
149 "test_utils.cc", 153 "test_utils.cc",
150 "test_utils.h", 154 "test_utils.h",
151 ] 155 ]
152 } 156 }
OLDNEW
« no previous file with comments | « mojo/edk/js/BUILD.gn ('k') | mojo/services/window_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698