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

Side by Side Diff: components/search_engines/BUILD.gn

Issue 559543003: Add chrome test support target to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no more gyp changes Created 6 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 | « components/search_engines.gypi ('k') | ui/gfx/BUILD.gn » ('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 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/features.gni") 5 import("//build/config/features.gni")
6 import("//tools/json_to_struct/json_to_struct.gni") 6 import("//tools/json_to_struct/json_to_struct.gni")
7 7
8 static_library("search_engines") { 8 static_library("search_engines") {
9 sources = [ 9 sources = [
10 "default_search_manager.cc", 10 "default_search_manager.cc",
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 sources += [ 65 sources += [
66 "default_search_policy_handler.cc", 66 "default_search_policy_handler.cc",
67 "default_search_policy_handler.h", 67 "default_search_policy_handler.h",
68 ] 68 ]
69 deps += [ 69 deps += [
70 "//components/policy", 70 "//components/policy",
71 ] 71 ]
72 } 72 }
73 } 73 }
74 74
75 source_set("test_support") {
76 testonly = true
77 sources = [
78 "default_search_pref_test_util.cc",
79 "default_search_pref_test_util.h",
80 "testing_search_terms_data.cc",
81 "testing_search_terms_data.h",
82 ]
83
84 deps = [
85 ":search_engines",
86 "//testing/gtest",
87 ]
88 }
89
75 json_to_struct("prepopulated_engines") { 90 json_to_struct("prepopulated_engines") {
76 visibility = [ ":*" ] 91 visibility = [ ":*" ]
77 92
78 source = "prepopulated_engines.json" 93 source = "prepopulated_engines.json"
79 schema_file = "prepopulated_engines_schema.json" 94 schema_file = "prepopulated_engines_schema.json"
80 namespace = "TemplateURLPrepopulateData" 95 namespace = "TemplateURLPrepopulateData"
81 } 96 }
OLDNEW
« no previous file with comments | « components/search_engines.gypi ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698