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

Unified Diff: mojo/public/tools/BUILD.gn

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « mojo/public/third_party/markupsafe/get_markupsafe.sh ('k') | mojo/public/tools/NETWORK_SERVICE_VERSION » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tools/BUILD.gn
diff --git a/mojo/public/tools/BUILD.gn b/mojo/public/tools/BUILD.gn
deleted file mode 100644
index 1162586f9de638de9f031a4680c4e16691edbdd4..0000000000000000000000000000000000000000
--- a/mojo/public/tools/BUILD.gn
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import("//build/module_args/mojo.gni")
-import("../mojo.gni")
-
-if (mojo_use_prebuilt_mojo_shell) {
- copy("copy_mojo_shell") {
- filename = "mojo_shell"
- if (is_android) {
- filename = "MojoShell.apk"
- sources = [
- "prebuilt/shell/android-arm/$filename",
- ]
- outputs = [
- "$root_out_dir/apks/$filename",
- ]
- } else {
- assert(is_linux)
- sources = [
- "prebuilt/shell/linux-x64/$filename",
- ]
- outputs = [
- "$root_out_dir/$filename",
- ]
- }
- }
-}
-
-if (mojo_use_prebuilt_dart_snapshotter) {
- copy("copy_dart_snapshotter") {
- if (host_os == "linux") {
- platform = "linux-x64"
- } else if (host_os == "mac") {
- platform = "mac-x64"
- } else {
- assert(false, "$host_os not supported")
- }
- sources = [
- "prebuilt/dart_snapshotter/$platform/dart_snapshotter",
- ]
- outputs = [
- "$root_out_dir/dart_snapshotter",
- ]
- }
-}
-
-if (mojo_use_prebuilt_network_service) {
- copy("copy_network_service") {
- filename = "network_service.mojo"
- if (defined(mojo_prebuilt_network_service_location) &&
- mojo_prebuilt_network_service_location != "") {
- sources = [
- "$mojo_prebuilt_network_service_location",
- ]
- } else {
- if (is_android) {
- assert(current_cpu == "arm",
- "Only arm version prebuilt netowrk_service.mojo is available.")
- sources = [
- "prebuilt/network_service/android-arm/$filename",
- ]
- } else {
- assert(is_linux)
- sources = [
- "prebuilt/network_service/linux-x64/$filename",
- ]
- }
- }
-
- outputs = [
- "$root_out_dir/$filename",
- ]
- }
-
- copy("copy_network_service_apptests") {
- filename = "network_service_apptests.mojo"
- if (defined(mojo_prebuilt_network_service_apptests_location) &&
- mojo_prebuilt_network_service_apptests_location != "") {
- sources = [
- "$mojo_prebuilt_network_service_apptests_location",
- ]
- } else {
- if (is_android) {
- assert(
- target_cpu == "arm",
- "Only arm version prebuilt netowrk_service_apptests.mojo is available.")
- sources = [
- "prebuilt/network_service_apptests/android-arm/$filename",
- ]
- } else {
- assert(is_linux)
- sources = [
- "prebuilt/network_service_apptests/linux-x64/$filename",
- ]
- }
- }
- outputs = [
- "$root_out_dir/$filename",
- ]
- }
-}
« no previous file with comments | « mojo/public/third_party/markupsafe/get_markupsafe.sh ('k') | mojo/public/tools/NETWORK_SERVICE_VERSION » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698