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

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

Issue 1426343002: EDK: Move mutex.*, cond_var.*, and thread_annotations.h to //mojo/edk/util. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: oops Created 5 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/test/multiprocess_test_helper.cc ('k') | mojo/edk/util/cond_var.h » ('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 import("../mojo_edk.gni") 5 import("../mojo_edk.gni")
6 6
7 mojo_edk_source_set("util") { 7 mojo_edk_source_set("util") {
8 sources = [ 8 sources = [
9 "cond_var.cc",
10 "cond_var.h",
11 "logging_internal.cc",
12 "logging_internal.h",
9 "make_unique.h", 13 "make_unique.h",
14 "mutex.cc",
15 "mutex.h",
10 "ref_counted.h", 16 "ref_counted.h",
11 "ref_counted_internal.h", 17 "ref_counted_internal.h",
12 "ref_ptr.h", 18 "ref_ptr.h",
13 "ref_ptr_internal.h", 19 "ref_ptr_internal.h",
14 "scoped_file.h", 20 "scoped_file.h",
21 "thread_annotations.h",
15 ] 22 ]
16 23
17 mojo_edk_configs = [ "mojo/edk/system:system_config" ] 24 mojo_edk_configs = [ "mojo/edk/system:system_config" ]
18 25
19 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] 26 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ]
20 } 27 }
21 28
22 mojo_edk_source_set("unittests") { 29 mojo_edk_source_set("unittests") {
23 testonly = true 30 testonly = true
24 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ] 31 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ]
25 32
26 sources = [ 33 sources = [
34 "cond_var_unittest.cc",
35 "mutex_unittest.cc",
27 "ref_counted_unittest.cc", 36 "ref_counted_unittest.cc",
37 "thread_annotations_unittest.cc",
28 ] 38 ]
29 39
30 mojo_sdk_deps = [ "mojo/public/cpp/system" ]
31
32 deps = [ 40 deps = [
33 ":util", 41 ":util",
34 "//testing/gtest", 42 "//testing/gtest",
35 ] 43 ]
44
45 mojo_sdk_deps = [ "mojo/public/cpp/system" ]
46
47 mojo_edk_deps = [ "mojo/edk/system/test" ]
36 } 48 }
37 49
38 mojo_edk_source_set("perftests") { 50 mojo_edk_source_set("perftests") {
39 testonly = true 51 testonly = true
40 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_perftests" ] 52 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_perftests" ]
41 53
42 sources = [ 54 sources = [
43 "ref_counted_perftest.cc", 55 "ref_counted_perftest.cc",
44 ] 56 ]
45 57
46 deps = [ 58 deps = [
47 ":util", 59 ":util",
48 "//testing/gtest", 60 "//testing/gtest",
49 ] 61 ]
50 62
51 mojo_edk_deps = [ 63 mojo_edk_deps = [
52 "mojo/edk/system/test", 64 "mojo/edk/system/test",
53 "mojo/edk/system/test:perf", 65 "mojo/edk/system/test:perf",
54 ] 66 ]
55 } 67 }
OLDNEW
« no previous file with comments | « mojo/edk/test/multiprocess_test_helper.cc ('k') | mojo/edk/util/cond_var.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698