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

Unified Diff: ui/harmony/BUILD.gn

Issue 2485083003: views: add layout delegates (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: ui/harmony/BUILD.gn
diff --git a/extensions/browser/api/diagnostics/BUILD.gn b/ui/harmony/BUILD.gn
similarity index 52%
copy from extensions/browser/api/diagnostics/BUILD.gn
copy to ui/harmony/BUILD.gn
index 27c64ce6648e3daa6adf214cc520362fa0741023..2a0d5b3bacbab5bbba2875eb052192899ea52db7 100644
--- a/extensions/browser/api/diagnostics/BUILD.gn
+++ b/ui/harmony/BUILD.gn
@@ -2,16 +2,17 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-assert(is_chromeos)
+import("//build/config/ui.gni")
-source_set("diagnostics") {
+component("harmony") {
sources = [
- "diagnostics_api.cc",
- "diagnostics_api.h",
- "diagnostics_api_chromeos.cc",
+ "harmony_layout_delegate.cc",
+ "harmony_layout_delegate.h",
]
+ defines = [ "HARMONY_IMPLEMENTATION" ]
+
deps = [
- "//extensions/common/api",
+ "//ui/views",
]
}

Powered by Google App Engine
This is Rietveld 408576698