Add lorgnette as an optional build target
Include lorgnette behind a use flag.
CQ-DEPEND=CL:191442
BUG=chromium:356263
TEST=test USE=lorgnette emerge-${BOARD} platform2
using upcoming changes to platform2 ebuild.
Change-Id: I9768faf0109d50b121f653fc6976efd6c7717a1a
Reviewed-on: https://chromium-review.googlesource.com/191478
Reviewed-by: Mike Frysinger <[email protected]>
Tested-by: Paul Stewart <[email protected]>
Commit-Queue: Paul Stewart <[email protected]>
diff --git a/common.gypi b/common.gypi
index 5d4f9da..eea2f35 100644
--- a/common.gypi
+++ b/common.gypi
@@ -18,6 +18,7 @@
'USE_cros_host%': 0,
'USE_debugd%': 0,
'USE_gdmwimax%': 0,
+ 'USE_lorgnette%': 0,
'USE_passive_metrics%': 0,
'USE_profile%': 0,
'USE_shill%': 0,
diff --git a/platform.gyp b/platform.gyp
index 2acce5a..7fbab38 100644
--- a/platform.gyp
+++ b/platform.gyp
@@ -48,6 +48,11 @@
'<(DEPTH)/wimax_manager/wimax_manager.gyp:*',
],
}],
+ ['USE_lorgnette == 1', {
+ 'dependencies': [
+ '<(DEPTH)/lorgnette/lorgnette.gyp:*',
+ ],
+ }],
['USE_profile == 1', {
'dependencies': [
'<(DEPTH)/chromiumos-wide-profiling/quipper.gyp:*',