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

Side by Side Diff: base/memory/BUILD.gn

Issue 1285133004: ios: Fixing base_unittests to build with gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ui_base.2
Patch Set: Created 5 years, 4 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
OLDNEW
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 source_set("memory") { 5 source_set("memory") {
6 sources = [ 6 sources = [
7 "aligned_memory.cc", 7 "aligned_memory.cc",
8 "aligned_memory.h", 8 "aligned_memory.h",
9 "discardable_memory.cc", 9 "discardable_memory.cc",
10 "discardable_memory.h", 10 "discardable_memory.h",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 "shared_memory_posix.cc", 42 "shared_memory_posix.cc",
43 "shared_memory_win.cc", 43 "shared_memory_win.cc",
44 "singleton.cc", 44 "singleton.cc",
45 "singleton.h", 45 "singleton.h",
46 "weak_ptr.cc", 46 "weak_ptr.cc",
47 "weak_ptr.h", 47 "weak_ptr.h",
48 ] 48 ]
49 if (is_ios) { 49 if (is_ios) {
50 sources -= [ 50 sources -= [
51 "discardable_shared_memory.cc", 51 "discardable_shared_memory.cc",
52 "discardable_shared_memory.h",
53 "shared_memory.h",
52 "shared_memory_posix.cc", 54 "shared_memory_posix.cc",
53 ] 55 ]
54 } 56 }
55 57
56 if (is_nacl) { 58 if (is_nacl) {
57 sources -= [ 59 sources -= [
58 "discardable_memory.cc", 60 "discardable_memory.cc",
59 "discardable_memory.h", 61 "discardable_memory.h",
60 "discardable_memory_allocator.cc", 62 "discardable_memory_allocator.cc",
61 "discardable_memory_allocator.h", 63 "discardable_memory_allocator.h",
(...skipping 12 matching lines...) Expand all
74 if (is_android) { 76 if (is_android) {
75 deps = [ 77 deps = [
76 "//third_party/ashmem", 78 "//third_party/ashmem",
77 ] 79 ]
78 } 80 }
79 81
80 configs += [ "//base:base_implementation" ] 82 configs += [ "//base:base_implementation" ]
81 83
82 visibility = [ "//base/*" ] 84 visibility = [ "//base/*" ]
83 } 85 }
OLDNEW
« no previous file with comments | « base/base.gypi ('k') | base/test/BUILD.gn » ('j') | base/test/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698