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

Side by Side Diff: base/BUILD.gn

Issue 1719343004: simplify glib condition for including message_pump_glib_unittest.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | no next file » | 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 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 1849 matching lines...) Expand 10 before | Expand all | Expand 10 after
1860 if (use_glib) { 1860 if (use_glib) {
1861 configs += [ "//build/config/linux:glib" ] 1861 configs += [ "//build/config/linux:glib" ]
1862 } 1862 }
1863 1863
1864 if (!is_component_build) { 1864 if (!is_component_build) {
1865 # Set rpath to find libmalloc_wrapper.so even in a non-component build. 1865 # Set rpath to find libmalloc_wrapper.so even in a non-component build.
1866 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] 1866 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
1867 } 1867 }
1868 } 1868 }
1869 1869
1870 if (!is_linux || use_ozone) { 1870 if (!use_glib) {
1871 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] 1871 sources -= [ "message_loop/message_pump_glib_unittest.cc" ]
1872 } 1872 }
1873 1873
1874 if (is_posix && !is_ios) { 1874 if (is_posix && !is_ios) {
1875 sources += [ "message_loop/message_pump_libevent_unittest.cc" ] 1875 sources += [ "message_loop/message_pump_libevent_unittest.cc" ]
1876 deps += [ "//base/third_party/libevent" ] 1876 deps += [ "//base/third_party/libevent" ]
1877 } 1877 }
1878 1878
1879 if (is_android) { 1879 if (is_android) {
1880 deps += [ "//testing/android/native_test:native_test_native_code" ] 1880 deps += [ "//testing/android/native_test:native_test_native_code" ]
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
2092 2092
2093 # GYP: //base.gyp:base_java_unittest_support 2093 # GYP: //base.gyp:base_java_unittest_support
2094 android_library("base_java_unittest_support") { 2094 android_library("base_java_unittest_support") {
2095 deps = [ 2095 deps = [
2096 ":base_java", 2096 ":base_java",
2097 ] 2097 ]
2098 java_files = 2098 java_files =
2099 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2099 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2100 } 2100 }
2101 } 2101 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698