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

Side by Side Diff: base/BUILD.gn

Issue 283423003: Use FSEvents for recursive file watch on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | base/base.gypi » ('j') | base/files/file_path_watcher_fsevents.h » ('J')
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 import("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 component("base") { 8 component("base") {
9 sources = [ 9 sources = [
10 "third_party/dmg_fp/dmg_fp.h", 10 "third_party/dmg_fp/dmg_fp.h",
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 "files/file_win.cc", 177 "files/file_win.cc",
178 "files/file_enumerator.cc", 178 "files/file_enumerator.cc",
179 "files/file_enumerator.h", 179 "files/file_enumerator.h",
180 "files/file_enumerator_posix.cc", 180 "files/file_enumerator_posix.cc",
181 "files/file_enumerator_win.cc", 181 "files/file_enumerator_win.cc",
182 "files/file_path.cc", 182 "files/file_path.cc",
183 "files/file_path.h", 183 "files/file_path.h",
184 "files/file_path_constants.cc", 184 "files/file_path_constants.cc",
185 "files/file_path_watcher.cc", 185 "files/file_path_watcher.cc",
186 "files/file_path_watcher.h", 186 "files/file_path_watcher.h",
187 "files/file_path_watcher_fsevents.cc",
188 "files/file_path_watcher_fsevents.h",
187 "files/file_path_watcher_kqueue.cc", 189 "files/file_path_watcher_kqueue.cc",
190 "files/file_path_watcher_kqueue.h",
188 "files/file_path_watcher_linux.cc", 191 "files/file_path_watcher_linux.cc",
192 "files/file_path_watcher_mac.cc",
189 "files/file_path_watcher_win.cc", 193 "files/file_path_watcher_win.cc",
190 "files/file_proxy.cc", 194 "files/file_proxy.cc",
191 "files/file_proxy.h", 195 "files/file_proxy.h",
192 "files/file_util_proxy.cc", 196 "files/file_util_proxy.cc",
193 "files/file_util_proxy.h", 197 "files/file_util_proxy.h",
194 "files/important_file_writer.cc", 198 "files/important_file_writer.cc",
195 "files/important_file_writer.h", 199 "files/important_file_writer.h",
196 "files/memory_mapped_file.cc", 200 "files/memory_mapped_file.cc",
197 "files/memory_mapped_file.h", 201 "files/memory_mapped_file.h",
198 "files/memory_mapped_file_posix.cc", 202 "files/memory_mapped_file_posix.cc",
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 # Mac. 828 # Mac.
825 if (is_mac) { 829 if (is_mac) {
826 sources -= [ 830 sources -= [
827 "base_paths_posix.cc", 831 "base_paths_posix.cc",
828 "native_library_posix.cc", 832 "native_library_posix.cc",
829 "strings/sys_string_conversions_posix.cc", 833 "strings/sys_string_conversions_posix.cc",
830 ] 834 ]
831 deps += [ "//third_party/mach_override" ] 835 deps += [ "//third_party/mach_override" ]
832 } else { 836 } else {
833 # Non-Mac. 837 # Non-Mac.
834 sources -= [ "files/file_path_watcher_kqueue.cc" ] 838 sources -= [
839 "files/file_path_watcher_fsevents.cc"
840 "files/file_path_watcher_fsevents.h"
841 "files/file_path_watcher_kqueue.cc"
842 "files/file_path_watcher_kqueue.h"
843 ]
835 } 844 }
836 845
837 # Linux. 846 # Linux.
838 if (is_linux) { 847 if (is_linux) {
839 # TODO(brettw) this will need to be parameterized at some point. 848 # TODO(brettw) this will need to be parameterized at some point.
840 linux_configs = [ 849 linux_configs = [
841 "//build/config/linux:glib", 850 "//build/config/linux:glib",
842 ] 851 ]
843 852
844 configs += linux_configs 853 configs += linux_configs
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
1321 "android/java/src/org/chromium/base/PathUtils.java", 1330 "android/java/src/org/chromium/base/PathUtils.java",
1322 "android/java/src/org/chromium/base/PowerMonitor.java", 1331 "android/java/src/org/chromium/base/PowerMonitor.java",
1323 "android/java/src/org/chromium/base/SystemMessageHandler.java", 1332 "android/java/src/org/chromium/base/SystemMessageHandler.java",
1324 "android/java/src/org/chromium/base/SysUtils.java", 1333 "android/java/src/org/chromium/base/SysUtils.java",
1325 "android/java/src/org/chromium/base/ThreadUtils.java", 1334 "android/java/src/org/chromium/base/ThreadUtils.java",
1326 "android/java/src/org/chromium/base/TraceEvent.java", 1335 "android/java/src/org/chromium/base/TraceEvent.java",
1327 ] 1336 ]
1328 jni_package = "base" 1337 jni_package = "base"
1329 } 1338 }
1330 } 1339 }
OLDNEW
« no previous file with comments | « no previous file | base/base.gypi » ('j') | base/files/file_path_watcher_fsevents.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698