| Index: base/BUILD.gn
|
| diff --git a/base/BUILD.gn b/base/BUILD.gn
|
| index 11236dcd171b1a85d861094613942425e6432490..a3e9f4e0a9f92beb962d969d3007a479087ccca8 100644
|
| --- a/base/BUILD.gn
|
| +++ b/base/BUILD.gn
|
| @@ -935,6 +935,7 @@ component("base") {
|
| "time/tick_clock.h",
|
| "time/time.cc",
|
| "time/time.h",
|
| + "time/time_fuchsia.cc",
|
| "time/time_mac.cc",
|
| "time/time_posix.cc",
|
| "time/time_win.cc",
|
| @@ -1421,7 +1422,7 @@ component("base") {
|
| "winmm.lib",
|
| ]
|
| all_dependent_configs += [ ":base_win_linker_flags" ]
|
| - } else if (!is_nacl || is_nacl_nonsfi) {
|
| + } else if ((!is_nacl || is_nacl_nonsfi) && current_os != "fuchsia") {
|
| # Non-Windows.
|
| deps += [ "//base/third_party/libevent" ]
|
| }
|
| @@ -1451,7 +1452,7 @@ component("base") {
|
| "strings/sys_string_conversions_posix.cc",
|
| "threading/platform_thread_internal_posix.cc",
|
| ]
|
| - } else {
|
| + } else if (current_os != "fuchsia") {
|
| # Non-Mac/ios.
|
| sources -= [
|
| "files/file_path_watcher_fsevents.cc",
|
| @@ -1578,6 +1579,31 @@ component("base") {
|
| set_sources_assignment_filter(sources_assignment_filter)
|
| }
|
|
|
| + if (current_os == "fuchsia") {
|
| + set_sources_assignment_filter([])
|
| +
|
| + sources -= [
|
| + "files/file_path_watcher.cc",
|
| + "files/file_path_watcher.h",
|
| + "files/file_path_watcher_fsevents.cc",
|
| + "files/file_path_watcher_fsevents.h",
|
| + "files/file_path_watcher_kqueue.cc",
|
| + "files/file_path_watcher_kqueue.h",
|
| + "memory/discardable_shared_memory.cc",
|
| + "memory/discardable_shared_memory.h",
|
| + "process/kill.cc",
|
| + "process/kill.h",
|
| + "process/launch.cc",
|
| + "process/launch.h",
|
| + "process/memory.cc",
|
| + "process/memory.h",
|
| + "process/process_iterator.cc",
|
| + "process/process_iterator.h",
|
| + ]
|
| +
|
| + set_sources_assignment_filter(sources_assignment_filter)
|
| + }
|
| +
|
| if (is_posix && !is_mac && !is_ios && !is_android && !is_chromeos) {
|
| sources += [ "power_monitor/power_monitor_device_source_posix.cc" ]
|
| }
|
|
|