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

Unified Diff: build/config/BUILD.gn

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « build/compiled_action.gni ('k') | build/config/BUILDCONFIG.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index c51709c24ce97419a6be64241c616917c635e477..bd803ef7884e4d0b6012d18b01e1b700e078dd6f 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -30,8 +30,8 @@ declare_args() {
config("feature_flags") {
# TODO(brettw) most of these need to be parameterized.
defines = [
- "CHROMIUM_BUILD",
- "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere.
+ "CHROMIUM_BUILD",
+ "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere.
]
if (cld_version > 0) {
@@ -171,8 +171,8 @@ config("feature_flags") {
if (enable_settings_app) {
defines += [ "ENABLE_SETTINGS_APP=1" ]
}
- if (enable_managed_users) {
- defines += [ "ENABLE_MANAGED_USERS=1" ]
+ if (enable_supervised_users) {
+ defines += [ "ENABLE_SUPERVISED_USERS=1" ]
}
if (enable_service_discovery) {
defines += [ "ENABLE_SERVICE_DISCOVERY=1" ]
@@ -204,6 +204,9 @@ config("feature_flags") {
if (proprietary_codecs) {
defines += [ "USE_PROPRIETARY_CODECS" ]
}
+ if (enable_hangout_services_extension) {
+ defines += [ "ENABLE_HANGOUT_SERVICES_EXTENSION=1" ]
+ }
}
# Debug/release ----------------------------------------------------------------
@@ -231,9 +234,7 @@ config("debug") {
}
config("release") {
- defines = [
- "NDEBUG",
- ]
+ defines = [ "NDEBUG" ]
}
# Default libraries ------------------------------------------------------------
@@ -268,6 +269,7 @@ config("default_libs") {
"winmm.lib",
"winspool.lib",
"ws2_32.lib",
+
# Please don't add more stuff here. We should actually be making this
# list smaller, since all common things should be covered. If you need
# some extra libraries, please just add a libs = [ "foo.lib" ] to your
@@ -284,7 +286,7 @@ config("default_libs") {
# '<!(<(android_toolchain)/*-gcc -print-libgcc-file-name)',
"c",
"dl",
- "m"
+ "m",
]
} else if (is_mac) {
libs = [
@@ -305,8 +307,6 @@ config("default_libs") {
"UIKit.framework",
]
} else if (is_linux) {
- libs = [
- "dl",
- ]
+ libs = [ "dl" ]
}
}
« no previous file with comments | « build/compiled_action.gni ('k') | build/config/BUILDCONFIG.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698