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

Side by Side Diff: base/BUILD.gn

Issue 2894993002: fuchsia: Implement SysInfo::AmountOfPhysicalMemory and NumberOfProcessors (Closed)
Patch Set: rebase Created 3 years, 7 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 | « no previous file | base/sys_info_fuchsia.cc » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 1224 matching lines...) Expand 10 before | Expand all | Expand 10 after
1235 sources -= [ 1235 sources -= [
1236 "debug/stack_trace_posix.cc", 1236 "debug/stack_trace_posix.cc",
1237 "message_loop/message_pump_libevent.cc", 1237 "message_loop/message_pump_libevent.cc",
1238 "message_loop/message_pump_libevent.h", 1238 "message_loop/message_pump_libevent.h",
1239 "process/kill_posix.cc", 1239 "process/kill_posix.cc",
1240 "process/launch_posix.cc", 1240 "process/launch_posix.cc",
1241 "process/process_handle_posix.cc", 1241 "process/process_handle_posix.cc",
1242 "process/process_posix.cc", 1242 "process/process_posix.cc",
1243 ] 1243 ]
1244 1244
1245 sources += [ "process/process_fuchsia.cc" ] 1245 sources += [
1246 "process/process_fuchsia.cc",
1247 "sys_info_fuchsia.cc",
1248 ]
1246 } 1249 }
1247 1250
1248 # NaCl. 1251 # NaCl.
1249 if (is_nacl) { 1252 if (is_nacl) {
1250 # We reset sources_assignment_filter in order to explicitly include 1253 # We reset sources_assignment_filter in order to explicitly include
1251 # the linux file (which would otherwise be filtered out). 1254 # the linux file (which would otherwise be filtered out).
1252 set_sources_assignment_filter([]) 1255 set_sources_assignment_filter([])
1253 sources += [ 1256 sources += [
1254 "files/file_path_watcher_stub.cc", 1257 "files/file_path_watcher_stub.cc",
1255 "process/process_metrics_nacl.cc", 1258 "process/process_metrics_nacl.cc",
(...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after
2763 } 2766 }
2764 2767
2765 fuzzer_test("base_json_correctness_fuzzer") { 2768 fuzzer_test("base_json_correctness_fuzzer") {
2766 sources = [ 2769 sources = [
2767 "json/correctness_fuzzer.cc", 2770 "json/correctness_fuzzer.cc",
2768 ] 2771 ]
2769 deps = [ 2772 deps = [
2770 ":base", 2773 ":base",
2771 ] 2774 ]
2772 } 2775 }
OLDNEW
« no previous file with comments | « no previous file | base/sys_info_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698