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

Side by Side Diff: base/BUILD.gn

Issue 1531573008: move libevent into base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix shim path Created 5 years 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/DEPS » ('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/compiler/compiler.gni") 5 import("//build/config/compiler/compiler.gni")
6 import("//build/config/nacl/config.gni") 6 import("//build/config/nacl/config.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/nocompile.gni") 8 import("//build/nocompile.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 10
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 843
844 libs = [ 844 libs = [
845 "cfgmgr32.lib", 845 "cfgmgr32.lib",
846 "netapi32.lib", 846 "netapi32.lib",
847 "powrprof.lib", 847 "powrprof.lib",
848 "setupapi.lib", 848 "setupapi.lib",
849 ] 849 ]
850 all_dependent_configs = [ ":base_win_linker_flags" ] 850 all_dependent_configs = [ ":base_win_linker_flags" ]
851 } else if (!is_nacl || is_nacl_nonsfi) { 851 } else if (!is_nacl || is_nacl_nonsfi) {
852 # Non-Windows. 852 # Non-Windows.
853 deps += [ "//third_party/libevent" ] 853 deps += [ "//base/third_party/libevent" ]
854 } 854 }
855 855
856 # Mac. 856 # Mac.
857 if (is_mac || is_ios) { 857 if (is_mac || is_ios) {
858 # Common Desktop / iOS excludes 858 # Common Desktop / iOS excludes
859 sources -= [ 859 sources -= [
860 "native_library_posix.cc", 860 "native_library_posix.cc",
861 "strings/sys_string_conversions_posix.cc", 861 "strings/sys_string_conversions_posix.cc",
862 "threading/platform_thread_internal_posix.cc", 862 "threading/platform_thread_internal_posix.cc",
863 ] 863 ]
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
1573 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] 1573 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
1574 } 1574 }
1575 } 1575 }
1576 1576
1577 if (!is_linux || use_ozone) { 1577 if (!is_linux || use_ozone) {
1578 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] 1578 sources -= [ "message_loop/message_pump_glib_unittest.cc" ]
1579 } 1579 }
1580 1580
1581 if (is_posix && !is_ios) { 1581 if (is_posix && !is_ios) {
1582 sources += [ "message_loop/message_pump_libevent_unittest.cc" ] 1582 sources += [ "message_loop/message_pump_libevent_unittest.cc" ]
1583 deps += [ "//third_party/libevent" ] 1583 deps += [ "//base/third_party/libevent" ]
1584 } 1584 }
1585 1585
1586 if (is_android) { 1586 if (is_android) {
1587 deps += [ "//testing/android/native_test:native_test_native_code" ] 1587 deps += [ "//testing/android/native_test:native_test_native_code" ]
1588 set_sources_assignment_filter([]) 1588 set_sources_assignment_filter([])
1589 sources += [ "debug/proc_maps_linux_unittest.cc" ] 1589 sources += [ "debug/proc_maps_linux_unittest.cc" ]
1590 set_sources_assignment_filter(sources_assignment_filter) 1590 set_sources_assignment_filter(sources_assignment_filter)
1591 } 1591 }
1592 1592
1593 if (is_win && target_cpu == "x64") { 1593 if (is_win && target_cpu == "x64") {
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1771 1771
1772 # GYP: //base.gyp:base_java_unittest_support 1772 # GYP: //base.gyp:base_java_unittest_support
1773 android_library("base_java_unittest_support") { 1773 android_library("base_java_unittest_support") {
1774 deps = [ 1774 deps = [
1775 ":base_java", 1775 ":base_java",
1776 ] 1776 ]
1777 java_files = 1777 java_files =
1778 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 1778 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
1779 } 1779 }
1780 } 1780 }
OLDNEW
« no previous file with comments | « no previous file | base/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698