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

Side by Side Diff: base/BUILD.gn

Issue 1304233004: Stop building FilePathWatcher on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/base.gyp » ('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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 "win/win_util.cc", 637 "win/win_util.cc",
638 "win/win_util.h", 638 "win/win_util.h",
639 "win/windows_version.cc", 639 "win/windows_version.cc",
640 "win/windows_version.h", 640 "win/windows_version.h",
641 "win/wrapped_window_proc.cc", 641 "win/wrapped_window_proc.cc",
642 "win/wrapped_window_proc.h", 642 "win/wrapped_window_proc.h",
643 ] 643 ]
644 644
645 if (is_ios) { 645 if (is_ios) {
646 sources -= [ 646 sources -= [
647 "files/file_path_watcher.cc",
648 "files/file_path_watcher.h",
649 "files/file_path_watcher_fsevents.cc",
650 "files/file_path_watcher_fsevents.h",
651 "files/file_path_watcher_kqueue.cc",
652 "files/file_path_watcher_kqueue.h",
647 "message_loop/message_pump_libevent.cc", 653 "message_loop/message_pump_libevent.cc",
648 "message_loop/message_pump_libevent.h", 654 "message_loop/message_pump_libevent.h",
649 ] 655 ]
650
651 set_sources_assignment_filter([])
652 sources += [ "files/file_path_watcher_mac.cc" ]
653 set_sources_assignment_filter(sources_assignment_filter)
654 } 656 }
655 657
656 sources -= [ 658 sources -= [
657 "sys_info_freebsd.cc", 659 "sys_info_freebsd.cc",
658 "sys_info_openbsd.cc", 660 "sys_info_openbsd.cc",
659 ] 661 ]
660 662
661 data = [] 663 data = []
662 664
663 configs += [ 665 configs += [
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
1477 ":base_java_unittest_support", 1479 ":base_java_unittest_support",
1478 ] 1480 ]
1479 1481
1480 # TODO(brettw) I think this should not be here, we should not be using 1482 # TODO(brettw) I think this should not be here, we should not be using
1481 # isolate files. 1483 # isolate files.
1482 isolate_file = "base_unittests.isolate" 1484 isolate_file = "base_unittests.isolate"
1483 } 1485 }
1484 1486
1485 if (is_ios) { 1487 if (is_ios) {
1486 sources -= [ 1488 sources -= [
1489 "files/file_path_watcher_unittest.cc",
1487 "memory/discardable_shared_memory_unittest.cc", 1490 "memory/discardable_shared_memory_unittest.cc",
1488 "memory/shared_memory_unittest.cc", 1491 "memory/shared_memory_unittest.cc",
1489 "process/memory_unittest.cc", 1492 "process/memory_unittest.cc",
1490 "process/process_unittest.cc", 1493 "process/process_unittest.cc",
1491 "process/process_util_unittest.cc", 1494 "process/process_util_unittest.cc",
1492 ] 1495 ]
1493 1496
1494 # Pull in specific Mac files for iOS (which have been filtered out by file 1497 # Pull in specific Mac files for iOS (which have been filtered out by file
1495 # name rules). 1498 # name rules).
1496 set_sources_assignment_filter([]) 1499 set_sources_assignment_filter([])
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
1691 1694
1692 # GYP: //base.gyp:base_java_unittest_support 1695 # GYP: //base.gyp:base_java_unittest_support
1693 android_library("base_java_unittest_support") { 1696 android_library("base_java_unittest_support") {
1694 deps = [ 1697 deps = [
1695 ":base_java", 1698 ":base_java",
1696 ] 1699 ]
1697 java_files = 1700 java_files =
1698 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 1701 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
1699 } 1702 }
1700 } 1703 }
OLDNEW
« no previous file with comments | « no previous file | base/base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698