summaryrefslogtreecommitdiffstats
path: root/components/search/BUILD.gn
diff options
context:
space:
mode:
authorsdefresne <sdefresne@chromium.org>2015-08-03 07:18:13 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-03 14:18:41 +0000
commit51bbec7be7014d4d75d39c1a5c27b1ba9ddc3dcd (patch)
tree912625ef3699b6c080aa3cca3340966298130333 /components/search/BUILD.gn
parente52e8da071b5d27eead353a38ddbc822af9ef0fc (diff)
downloadchromium_src-51bbec7be7014d4d75d39c1a5c27b1ba9ddc3dcd.zip
chromium_src-51bbec7be7014d4d75d39c1a5c27b1ba9ddc3dcd.tar.gz
chromium_src-51bbec7be7014d4d75d39c1a5c27b1ba9ddc3dcd.tar.bz2
Partially componentize //chrome/browser/search/search.{h,cc}
Move functions from //chrome/browser/search/search.{h,cc} to the search component //components/search/search.{h,cc} so that they can be shared with iOS. Move all the code in those two files (and supporting unittests) from the "chrome" to the "search" namespace. Move unittests that do not depends on non-componentized functions into the search component. Implements GetSearchTerms() on iOS that uses a web::WebState* instead of content::WebContents and simplify the code to remove unsupported features. Directly use //components/search on iOS instead of the SearchProvider when possible. BUG=514239 TBR=sky,droger,benwells Review URL: https://codereview.chromium.org/1260033003 Cr-Commit-Position: refs/heads/master@{#341525}
Diffstat (limited to 'components/search/BUILD.gn')
-rw-r--r--components/search/BUILD.gn3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/search/BUILD.gn b/components/search/BUILD.gn
index a895701..21c49c4d 100644
--- a/components/search/BUILD.gn
+++ b/components/search/BUILD.gn
@@ -12,5 +12,8 @@ static_library("search") {
deps = [
"//base",
+ "//components/google/core/browser",
+ "//components/search_engines",
+ "//url",
]
}