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

Side by Side Diff: base/BUILD.gn

Issue 1605023004: Reland of: Allow base to depend on allocator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: This CL: fix gyp issues Created 4 years, 11 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/allocator/BUILD.gn » ('j') | base/allocator/allocator.gyp » ('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 # 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 935 matching lines...) Expand 10 before | Expand all | Expand 10 after
946 data = [] 946 data = []
947 947
948 configs += [ 948 configs += [
949 ":base_flags", 949 ":base_flags",
950 ":base_implementation", 950 ":base_implementation",
951 "//base/allocator:allocator_shim_define", # for allocator_check.cc. 951 "//base/allocator:allocator_shim_define", # for allocator_check.cc.
952 "//build/config:precompiled_headers", 952 "//build/config:precompiled_headers",
953 ] 953 ]
954 954
955 deps = [ 955 deps = [
956 "//base/allocator",
956 "//base/third_party/dynamic_annotations", 957 "//base/third_party/dynamic_annotations",
957 "//third_party/modp_b64", 958 "//third_party/modp_b64",
958 ] 959 ]
959 960
960 public_deps = [ 961 public_deps = [
961 ":base_paths", 962 ":base_paths",
962 ":base_static", 963 ":base_static",
963 ":debugging_flags", 964 ":debugging_flags",
964 ] 965 ]
965 966
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
1854 "win/win_util_unittest.cc", 1855 "win/win_util_unittest.cc",
1855 "win/wrapped_window_proc_unittest.cc", 1856 "win/wrapped_window_proc_unittest.cc",
1856 ] 1857 ]
1857 1858
1858 deps = [ 1859 deps = [
1859 ":base", 1860 ":base",
1860 ":i18n", 1861 ":i18n",
1861 ":message_loop_tests", 1862 ":message_loop_tests",
1862 ":prefs", 1863 ":prefs",
1863 ":prefs_test_support", 1864 ":prefs_test_support",
1864 "//base/allocator",
1865 "//base/test:run_all_unittests", 1865 "//base/test:run_all_unittests",
1866 "//base/test:test_support", 1866 "//base/test:test_support",
1867 "//base/third_party/dynamic_annotations", 1867 "//base/third_party/dynamic_annotations",
1868 "//testing/gmock", 1868 "//testing/gmock",
1869 "//testing/gtest", 1869 "//testing/gtest",
1870 "//third_party/icu", 1870 "//third_party/icu",
1871 ] 1871 ]
1872 1872
1873 # Some unittests depend on the ALLOCATOR_SHIM macro.
1874 configs += [ "//base/allocator:allocator_shim_define" ]
1875
1873 data = [ 1876 data = [
1874 "test/data/", 1877 "test/data/",
1875 ] 1878 ]
1876 1879
1877 # Allow more direct string conversions on platforms with native utf8 1880 # Allow more direct string conversions on platforms with native utf8
1878 # strings 1881 # strings
1879 if (is_mac || is_ios || is_chromeos) { 1882 if (is_mac || is_ios || is_chromeos) {
1880 defines = [ "SYSTEM_NATIVE_UTF8" ] 1883 defines = [ "SYSTEM_NATIVE_UTF8" ]
1881 } 1884 }
1882 1885
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
2135 2138
2136 # GYP: //base.gyp:base_java_unittest_support 2139 # GYP: //base.gyp:base_java_unittest_support
2137 android_library("base_java_unittest_support") { 2140 android_library("base_java_unittest_support") {
2138 deps = [ 2141 deps = [
2139 ":base_java", 2142 ":base_java",
2140 ] 2143 ]
2141 java_files = 2144 java_files =
2142 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2145 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2143 } 2146 }
2144 } 2147 }
OLDNEW
« no previous file with comments | « no previous file | base/allocator/BUILD.gn » ('j') | base/allocator/allocator.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698