-
Notifications
You must be signed in to change notification settings - Fork 0
/
0001-Import-openSUSE-fix-gn-bootstrap.diff.patch
82 lines (79 loc) · 3.38 KB
/
0001-Import-openSUSE-fix-gn-bootstrap.diff.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
From f28866b499d8270fcbdf0189269aff6dc03380ba Mon Sep 17 00:00:00 2001
From: Pietro Di Gennaro <[email protected]>
Date: Sat, 16 Dec 2017 17:19:11 +0100
Subject: [PATCH] Import openSUSE fix-gn-bootstrap.diff
---
tools/gn/bootstrap/bootstrap.py | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
mode change 100755 => 100644 tools/gn/bootstrap/bootstrap.py
diff --git a/tools/gn/bootstrap/bootstrap.py b/tools/gn/bootstrap/bootstrap.py
old mode 100755
new mode 100644
index 3d29e50228e8..7d70f9e68160
--- a/tools/gn/bootstrap/bootstrap.py
+++ b/tools/gn/bootstrap/bootstrap.py
@@ -507,6 +507,8 @@ def write_gn_ninja(path, root_gen_dir, options):
'base/process/process_handle.cc',
'base/process/process_iterator.cc',
'base/process/process_metrics.cc',
+ 'base/profiler/scoped_profile.cc',
+ 'base/profiler/scoped_tracker.cc',
'base/rand_util.cc',
'base/run_loop.cc',
'base/sequence_token.cc',
@@ -562,6 +564,7 @@ def write_gn_ninja(path, root_gen_dir, options):
'base/threading/thread_local_storage.cc',
'base/threading/thread_restrictions.cc',
'base/threading/thread_task_runner_handle.cc',
+ 'base/threading/worker_pool.cc',
'base/time/clock.cc',
'base/time/default_clock.cc',
'base/time/default_tick_clock.cc',
@@ -601,6 +604,8 @@ def write_gn_ninja(path, root_gen_dir, options):
'base/trace_event/trace_log.cc',
'base/trace_event/trace_log_constants.cc',
'base/trace_event/tracing_agent.cc',
+ 'base/tracked_objects.cc',
+ 'base/tracking_info.cc',
'base/unguessable_token.cc',
'base/value_iterators.cc',
'base/values.cc',
@@ -630,12 +635,17 @@ def write_gn_ninja(path, root_gen_dir, options):
'base/strings/string16.cc',
'base/synchronization/condition_variable_posix.cc',
'base/synchronization/lock_impl_posix.cc',
+ 'base/synchronization/read_write_lock_posix.cc',
+ 'base/synchronization/waitable_event_posix.cc',
'base/sys_info_posix.cc',
'base/task_scheduler/task_tracker_posix.cc',
'base/threading/platform_thread_internal_posix.cc',
'base/threading/platform_thread_posix.cc',
'base/threading/thread_local_storage_posix.cc',
+ 'base/threading/worker_pool_posix.cc',
'base/time/time_conversion_posix.cc',
+ 'base/time/time_exploded_posix.cc',
+ 'base/time/time_now_posix.cc',
'base/trace_event/heap_profiler_allocation_register_posix.cc',
])
static_libraries['libevent'] = {
@@ -680,10 +690,7 @@ def write_gn_ninja(path, root_gen_dir, options):
'base/process/process_linux.cc',
'base/process/process_metrics_linux.cc',
'base/strings/sys_string_conversions_posix.cc',
- 'base/synchronization/waitable_event_posix.cc',
'base/sys_info_linux.cc',
- 'base/time/time_exploded_posix.cc',
- 'base/time/time_now_posix.cc',
'base/threading/platform_thread_linux.cc',
])
if is_linux:
@@ -730,7 +737,6 @@ def write_gn_ninja(path, root_gen_dir, options):
'base/process/process_iterator_mac.cc',
'base/process/process_metrics_mac.cc',
'base/strings/sys_string_conversions_mac.mm',
- 'base/synchronization/waitable_event_mac.cc',
'base/sys_info_mac.mm',
'base/time/time_exploded_posix.cc',
'base/time/time_mac.cc',
--
2.14.3