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

Unified Diff: build/config/BUILD.gn

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index 008008570a014576aa7c82c7f74a1a28ae793ced..c57ba3f317c5da6d4d83040b4e49b53db97d7417 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -78,10 +78,31 @@ config("feature_flags") {
# TODO(brettw) should probably be "=1".
defines += [ "USE_UDEV" ]
}
+ if (toolkit_views) {
+ defines += [ "TOOLKIT_VIEWS=1" ]
+ }
if (ui_compositor_image_transport) {
# TODO(brettw) should probably be "=1".
defines += [ "UI_COMPOSITOR_IMAGE_TRANSPORT" ]
}
+ if (use_ash) {
+ defines += [ "USE_ASH=1" ]
+ }
+ if (use_aura) {
+ defines += [ "USE_AURA=1" ]
+ }
+ if (use_pango) {
+ defines += [ "USE_PANGO=1" ]
+ }
+ if (use_cairo) {
+ defines += [ "USE_CAIRO=1" ]
+ }
+ if (use_clipboard_aurax11) {
+ defines += [ "USE_CLIPBOARD_AURAX11=1" ]
+ }
+ if (use_default_render_theme) {
+ defines += [ "USE_DEFAULT_RENDER_THEME=1" ]
+ }
if (use_glib) {
defines += [ "USE_GLIB=1" ]
}
@@ -96,6 +117,9 @@ config("feature_flags") {
# to rename this but we're hoping to transition away from NSS.
defines += [ "USE_NSS=1" ]
}
+ if (use_ozone) {
+ defines += [ "USE_OZONE=1" ]
+ }
if (use_x11) {
defines += [ "USE_X11=1" ]
}
@@ -172,9 +196,6 @@ config("feature_flags") {
if (enable_one_click_signin) {
defines += [ "ENABLE_ONE_CLICK_SIGNIN" ]
}
- if (use_athena) {
- defines += [ "USE_ATHENA=1" ]
- }
if (enable_hidpi) {
defines += [ "ENABLE_HIDPI=1" ]
}
« no previous file with comments | « build/common.gypi ('k') | build/config/BUILDCONFIG.gn » ('j') | shell/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698