summaryrefslogtreecommitdiffstats
path: root/mojo/public/cpp
diff options
context:
space:
mode:
authorjamesr <jamesr@chromium.org>2014-10-07 01:04:09 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-07 08:04:31 +0000
commitb83f9dcb4940d4700632fe9e925abec779ad84ef (patch)
treecef174e6c3afa18ed007201dc777f47f70834da7 /mojo/public/cpp
parentfc671090e316e4128309540b5bb874fdea14ee4c (diff)
downloadchromium_src-b83f9dcb4940d4700632fe9e925abec779ad84ef.zip
chromium_src-b83f9dcb4940d4700632fe9e925abec779ad84ef.tar.gz
chromium_src-b83f9dcb4940d4700632fe9e925abec779ad84ef.tar.bz2
Define gyp targets for mojo/public/* in mojo/public/mojo_public.gyp
The targets in the mojo public SDK, i.e. those in mojo/public/, should be free of dependencies outside of mojo/public/ and usable in a standalone fashion. This moves the gyp definitions from mojo/mojo_base.gyp, which also contains a number of non-public targets, to mojo/public/mojo_public.gyp. R=viettrungluu@chromium.org TBR=darin@chromium.org for updating various gyp entries to point to new target location Review URL: https://codereview.chromium.org/632853002 Cr-Commit-Position: refs/heads/master@{#298422}
Diffstat (limited to 'mojo/public/cpp')
-rw-r--r--mojo/public/cpp/application/BUILD.gn4
-rw-r--r--mojo/public/cpp/application/tests/BUILD.gn2
-rw-r--r--mojo/public/cpp/bindings/tests/BUILD.gn2
-rw-r--r--mojo/public/cpp/environment/tests/BUILD.gn2
-rw-r--r--mojo/public/cpp/system/tests/BUILD.gn2
-rw-r--r--mojo/public/cpp/test_support/BUILD.gn2
-rw-r--r--mojo/public/cpp/utility/tests/BUILD.gn2
7 files changed, 8 insertions, 8 deletions
diff --git a/mojo/public/cpp/application/BUILD.gn b/mojo/public/cpp/application/BUILD.gn
index 900edef..c7f0da6 100644
--- a/mojo/public/cpp/application/BUILD.gn
+++ b/mojo/public/cpp/application/BUILD.gn
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# GYP version: mojo/mojo_public.gypi:mojo_application_base
+# GYP version: mojo/public/mojo_public.gyp:mojo_application_base
source_set("application") {
sources = [
"application_connection.h",
@@ -32,7 +32,7 @@ source_set("application") {
]
}
-# GYP version: mojo/mojo_public.gypi:mojo_application_standalone
+# GYP version: mojo/public/mojo_public.gyp:mojo_application_standalone
source_set("standalone") {
sources = [
"lib/application_runner.cc"
diff --git a/mojo/public/cpp/application/tests/BUILD.gn b/mojo/public/cpp/application/tests/BUILD.gn
index 4c22c19..a57d0f6 100644
--- a/mojo/public/cpp/application/tests/BUILD.gn
+++ b/mojo/public/cpp/application/tests/BUILD.gn
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# GYP version: mojo/mojo_public_tests.gypi:mojo_public_application_unittests
+# GYP version: mojo/mojo_base.gyp:mojo_public_application_unittests
test("mojo_public_application_unittests") {
deps = [
"//base",
diff --git a/mojo/public/cpp/bindings/tests/BUILD.gn b/mojo/public/cpp/bindings/tests/BUILD.gn
index 6a4b2df..a072556 100644
--- a/mojo/public/cpp/bindings/tests/BUILD.gn
+++ b/mojo/public/cpp/bindings/tests/BUILD.gn
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# GYP version: mojo/mojo_public_tests.gypi:mojo_public_bindings_unittests
+# GYP version: mojo/mojo_base.gyp:mojo_public_bindings_unittests
test("mojo_public_bindings_unittests") {
sources = [
"array_unittest.cc",
diff --git a/mojo/public/cpp/environment/tests/BUILD.gn b/mojo/public/cpp/environment/tests/BUILD.gn
index 55ded10..d5eecd8 100644
--- a/mojo/public/cpp/environment/tests/BUILD.gn
+++ b/mojo/public/cpp/environment/tests/BUILD.gn
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# GYP version: mojo/mojo_public_tests.gypi:mojo_public_environment_unittests
+# GYP version: mojo/mojo_base.gyp:mojo_public_environment_unittests
test("mojo_public_environment_unittests") {
sources = [
"async_waiter_unittest.cc",
diff --git a/mojo/public/cpp/system/tests/BUILD.gn b/mojo/public/cpp/system/tests/BUILD.gn
index 3226662..9ceb50f 100644
--- a/mojo/public/cpp/system/tests/BUILD.gn
+++ b/mojo/public/cpp/system/tests/BUILD.gn
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# GYP version: mojo/mojo_public_tests.gypi:mojo_public_system_unittests
+# GYP version: mojo/mojo_base.gyp:mojo_public_system_unittests
test("mojo_public_system_unittests") {
deps = [
"//mojo/common/test:run_all_unittests",
diff --git a/mojo/public/cpp/test_support/BUILD.gn b/mojo/public/cpp/test_support/BUILD.gn
index 6c73c29..ad0280b 100644
--- a/mojo/public/cpp/test_support/BUILD.gn
+++ b/mojo/public/cpp/test_support/BUILD.gn
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# GYP version: mojo/mojo_public_tests.gypi:mojo_public_test_utils
+# GYP version: mojo/public/mojo_public.gyp:mojo_public_test_utils
source_set("test_utils") {
testonly = true
deps = [
diff --git a/mojo/public/cpp/utility/tests/BUILD.gn b/mojo/public/cpp/utility/tests/BUILD.gn
index 225bf07..489b007 100644
--- a/mojo/public/cpp/utility/tests/BUILD.gn
+++ b/mojo/public/cpp/utility/tests/BUILD.gn
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# GYP version: mojo/mojo_public_tests.gypi:mojo_public_utility_unittests
+# GYP version: mojo/mojo_base.gyp:mojo_public_utility_unittests
test("mojo_public_utility_unittests") {
deps = [
"//mojo/common/test:run_all_unittests",