summaryrefslogtreecommitdiffstats
path: root/.gn
diff options
context:
space:
mode:
authorsky <sky@chromium.org>2015-07-27 12:19:48 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-27 19:20:43 +0000
commit67b0a7be4ff751b1cf83be5af817a61ff7154aa8 (patch)
treeebb0fb19391993b8beef707137d8411f85dbf8f6 /.gn
parent0f2ef35a2de53103f42a7ab62ccc07aa34481e41 (diff)
downloadchromium_src-67b0a7be4ff751b1cf83be5af817a61ff7154aa8.zip
chromium_src-67b0a7be4ff751b1cf83be5af817a61ff7154aa8.tar.gz
chromium_src-67b0a7be4ff751b1cf83be5af817a61ff7154aa8.tar.bz2
Gets gn check to execute cleanly in mojo/common
This one is trickier. I'm changing mojo/common:common_base to be a source_set. Here's why. When I add the necessary deps, in particular "//third_party/mojo/src/mojo/public/cpp/bindings:bindings", then I get link errors for the environment, eg gen/third_party/mojo/src/mojo/public/interfaces/bindings/interface_control_messages.mojom.cc:719: error: undefined reference to 'mojo::Environment::GetDefaultLogger()' These symbols are in //mojo/environment. If I add //mojo/environment to the list of deps for common_base I end up with a cycle as environment depends upon common_base. By changing to source_set common_base isn't linked and everyone is happy. As a result of this I had to consolidate //mojo/environment into a single source set. BUG=none TEST=none R=ben@chromium.org Review URL: https://codereview.chromium.org/1256593003 Cr-Commit-Position: refs/heads/master@{#340527}
Diffstat (limited to '.gn')
-rw-r--r--.gn4
1 files changed, 1 insertions, 3 deletions
diff --git a/.gn b/.gn
index cfebd67..8068622 100644
--- a/.gn
+++ b/.gn
@@ -75,9 +75,7 @@ check_targets = [
"mojo/application/*",
"mojo/build/*",
"mojo/cc/*",
-
- # TODO(sky): resolve this.
- # "mojo/common/*",
+ "mojo/common/*",
"mojo/converters/*",
"mojo/environment/*",