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

Side by Side Diff: chrome/test/BUILD.gn

Issue 1529723002: [MacViews] Get unit_tests linking. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mvbb
Patch Set: Sync and rebase 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 | « chrome/chrome_tests_unit.gypi ('k') | 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//chrome/chrome_tests.gni") 10 import("//chrome/chrome_tests.gni")
(...skipping 1928 matching lines...) Expand 10 before | Expand all | Expand 10 after
1939 "../tools/convert_dict/convert_dict_unittest.cc", 1939 "../tools/convert_dict/convert_dict_unittest.cc",
1940 ] 1940 ]
1941 1941
1942 # The test fetches resources which means Mac need the app bundle to exist 1942 # The test fetches resources which means Mac need the app bundle to exist
1943 # on disk so it can pull from it. 1943 # on disk so it can pull from it.
1944 deps += [ 1944 deps += [
1945 "//third_party/google_toolbox_for_mac", 1945 "//third_party/google_toolbox_for_mac",
1946 "//third_party/ocmock", 1946 "//third_party/ocmock",
1947 ] 1947 ]
1948 1948
1949 if (mac_views_browser) {
1950 # TODO(tapted): Add chrome_unit_tests_views_non_mac_sources.
1951 } else {
1952 sources += rebase_path(
1953 chrome_tests_unit_gypi_values.chrome_unit_tests_cocoa_sources,
1954 ".",
1955 "//chrome")
1956 }
1957
1949 # TODO(mark): We really want this for all non-static library targets, 1958 # TODO(mark): We really want this for all non-static library targets,
1950 # but when we tried to pull it up to the common.gypi level, it broke 1959 # but when we tried to pull it up to the common.gypi level, it broke
1951 # other things like the ui and startup tests. *shrug* 1960 # other things like the ui and startup tests. *shrug*
1952 ldflags = [ "-Wl,-ObjC" ] 1961 ldflags = [ "-Wl,-ObjC" ]
1953 } 1962 }
1954 if (is_mac || is_android) { 1963 if (is_mac || is_android) {
1955 sources += rebase_path( 1964 sources += rebase_path(
1956 chrome_tests_unit_gypi_values.chrome_unit_tests_mac_android_sources, 1965 chrome_tests_unit_gypi_values.chrome_unit_tests_mac_android_sources,
1957 ".", 1966 ".",
1958 "//chrome") 1967 "//chrome")
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
2229 if (is_android) { 2238 if (is_android) {
2230 android_library("unit_tests_java") { 2239 android_library("unit_tests_java") {
2231 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" 2240 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src"
2232 deps = [ 2241 deps = [
2233 "//base:base_java", 2242 "//base:base_java",
2234 "//chrome/android:chrome_java", 2243 "//chrome/android:chrome_java",
2235 "//content/public/android:content_java", 2244 "//content/public/android:content_java",
2236 ] 2245 ]
2237 } 2246 }
2238 } 2247 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698