Chromium Code Reviews| Index: components/dom_distiller/core/BUILD.gn |
| diff --git a/components/dom_distiller/core/BUILD.gn b/components/dom_distiller/core/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7710919e6f507d927c16dec82f31e82b1955ae00 |
| --- /dev/null |
| +++ b/components/dom_distiller/core/BUILD.gn |
| @@ -0,0 +1,79 @@ |
| +# Copyright 2014 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. |
| + |
| +# GYP version: components/dom_distiller.gypi:dom_distiller_core |
| +static_library("core") { |
| + sources = [ |
| + "../android/component_jni_registrar.cc", |
| + "../android/component_jni_registrar.h", |
| + "article_distillation_update.cc", |
| + "article_distillation_update.h", |
| + "article_entry.cc", |
| + "article_entry.h", |
| + "distilled_content_store.cc", |
| + "distilled_content_store.h", |
| + "distiller.cc", |
| + "distiller.h", |
| + "distiller_page.cc", |
| + "distiller_page.h", |
| + "distiller_url_fetcher.cc", |
| + "distiller_url_fetcher.h", |
| + "dom_distiller_constants.cc", |
| + "dom_distiller_constants.h", |
| + "dom_distiller_model.cc", |
| + "dom_distiller_model.h", |
| + "dom_distiller_observer.h", |
| + "dom_distiller_service.cc", |
| + "dom_distiller_service.h", |
| + "dom_distiller_store.cc", |
| + "dom_distiller_store.h", |
| + "feedback_reporter.cc", |
| + "feedback_reporter.h", |
| + "task_tracker.cc", |
| + "task_tracker.h", |
| + "url_constants.cc", |
| + "url_constants.h", |
| + "url_utils_android.cc", |
| + "url_utils_android.h", |
| + "url_utils.cc", |
| + "url_utils.h", |
| + "viewer.cc", |
| + "viewer.h", |
| + ] |
| + |
| + deps = [ |
| + "//base", |
| + "//components/dom_distiller/core/proto", |
| + "//components/resources", |
| + "//components/strings", |
| + "//skia", |
| + "//third_party/dom_distiller_js/package/proto", |
| + #'../sync/sync.gyp:sync', TODO(GYP) |
| + #'components.gyp:leveldb_proto', TODO(GYP) |
| + ] |
| + |
| + if (is_android) { |
| + #deps += [ ":dom_distiller_core_jni_headers" ] TODO(GYP) |
|
awong
2014/07/01 21:47:11
Can you put the # on the first column? Much easier
brettw
2014/07/01 23:26:27
I haven't been doing that and I find it makes the
|
| + } |
| +} |
| + |
| +# GYP version: components/dom_distiller.gypi:dom_distiller_test_support |
| +static_library("test_support") { |
| + sources = [ |
| + "dom_distiller_test_util.cc", |
| + "dom_distiller_test_util.h", |
| + "fake_distiller.cc", |
| + "fake_distiller.h", |
| + "fake_distiller_page.cc", |
| + "fake_distiller_page.h", |
| + ] |
| + |
| + deps = [ |
| + ":core", |
| + #'components.gyp:leveldb_proto_test_support', TODO(GYP) |
|
awong
2014/07/01 21:47:11
Same here...put these temporary comments on the fi
|
| + #'../sync/sync.gyp:sync', TODO(GYP) |
| + "//testing/gmock", |
| + ] |
| +} |
| + |