Index: components/spellcheck/renderer/BUILD.gn |
diff --git a/components/spellcheck/renderer/BUILD.gn b/components/spellcheck/renderer/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fa49b388d8d2262bea45240b2bff65a316dcc0da |
--- /dev/null |
+++ b/components/spellcheck/renderer/BUILD.gn |
@@ -0,0 +1,55 @@ |
+# Copyright 2016 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+source_set("renderer") { |
+ sources = [ |
+ "custom_dictionary_engine.cc", |
+ "custom_dictionary_engine.h", |
+ "hunspell_engine.cc", |
+ "hunspell_engine.h", |
+ "platform_spelling_engine.cc", |
+ "platform_spelling_engine.h", |
+ "spellcheck.cc", |
+ "spellcheck.h", |
+ "spellcheck_language.cc", |
+ "spellcheck_language.h", |
+ "spellcheck_provider.cc", |
+ "spellcheck_provider.h", |
+ "spellcheck_worditerator.cc", |
+ "spellcheck_worditerator.h", |
+ "spelling_engine.h", |
+ ] |
+ |
+ if (is_android) { |
+ sources -= [ |
+ "hunspell_engine.cc", |
+ "hunspell_engine.h", |
+ ] |
+ } |
+ |
+ deps = [ |
+# "//base", |
+ "//third_party/icu", |
+ "//third_party/WebKit/public:blink", |
+ ] |
+} |
+ |
+source_set("unit_tests") { |
+ testonly = true |
+ sources = [ |
+ "spellcheck_provider_test.cc", |
+ "spellcheck_provider_test.h", |
+ "custom_dictionary_engine_unittest.cc", |
+ "spellcheck_multilingual_unittest.cc", |
+ "spellcheck_provider_hunspell_unittest.cc", |
+ "spellcheck_provider_mac_unittest.cc", |
+ "spellcheck_worditerator_unittest.cc", |
+ "spellcheck_unittest.cc", |
+ ] |
+ |
+ deps = [ |
+ ":renderer", |
+ "//testing/gtest", |
+ ] |
+} |