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

Unified Diff: build/ios/mac_build.gypi

Issue 2392643003: Removes files from //build that we don't need (Closed)
Patch Set: Created 4 years, 2 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 | « build/ios/grit_whitelist.txt ('k') | build/isolate.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/ios/mac_build.gypi
diff --git a/build/ios/mac_build.gypi b/build/ios/mac_build.gypi
deleted file mode 100644
index 4da21eb25353c2799e499519f89eced8c30cf0b2..0000000000000000000000000000000000000000
--- a/build/ios/mac_build.gypi
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright (c) 2012 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.
-
-# Xcode throws an error if an iOS target depends on a Mac OS X target. So
-# any place a utility program needs to be build and run, an action is
-# used to run ninja as script to work around this.
-# Example:
-# {
-# 'target_name': 'foo',
-# 'type': 'none',
-# 'variables': {
-# # The name of a directory used for ninja. This cannot be shared with
-# # another mac build.
-# 'ninja_output_dir': 'ninja-foo',
-# # The full path to the location in which the ninja executable should be
-# # placed. This cannot be shared with another mac build.
-# 'ninja_product_dir':
-# '<(DEPTH)/xcodebuild/<(ninja_output_dir)/<(CONFIGURATION_NAME)',
-# # The list of all the gyp files that contain the targets to run.
-# 're_run_targets': [
-# 'foo.gyp',
-# ],
-# },
-# 'includes': ['path_to/mac_build.gypi'],
-# 'actions': [
-# {
-# 'action_name': 'compile foo',
-# 'inputs': [],
-# 'outputs': [],
-# 'action': [
-# '<@(ninja_cmd)',
-# # All the targets to build.
-# 'foo1',
-# 'foo2',
-# ],
-# },
-# ],
-# }
-{
- 'variables': {
- 'variables': {
- 'parent_generator%': '<(GENERATOR)',
- },
- 'parent_generator%': '<(parent_generator)',
- # Common ninja command line flags.
- 'ninja_cmd': [
- # Bounce through clean_env to clean up the environment so things
- # set by the iOS build don't pollute the Mac build.
- '<(DEPTH)/build/ios/clean_env.py',
- # ninja must be found in the PATH.
- 'ADD_TO_PATH=<!(echo $PATH)',
- 'ninja',
- '-C',
- '<(ninja_product_dir)',
- ],
-
- # Common syntax to rerun gyp to generate the Mac projects.
- 're_run_gyp': [
- 'build/gyp_chromium',
- '--depth=.',
- # Don't use anything set for the iOS side of things.
- '--ignore-environment',
- # Generate for ninja
- '--format=ninja',
- # Generate files into xcodebuild/ninja
- '-Goutput_dir=xcodebuild/<(ninja_output_dir)',
- # nacl isn't in the iOS checkout, make sure it's turned off
- '-Ddisable_nacl=1',
- # Pass through the Mac SDK version.
- '-Dmac_sdk=<(mac_sdk)',
- '-Dparent_generator=<(parent_generator)'
- ],
-
- # Rerun gyp for each of the projects needed. This is what actually
- # generates the projects on disk.
- 're_run_gyp_execution':
- '<!(cd <(DEPTH) && <@(re_run_gyp) <@(re_run_targets))',
- },
- # Since these are used to generate things needed by other targets, make
- # them hard dependencies so they are always built first.
- 'hard_dependency': 1,
-}
« no previous file with comments | « build/ios/grit_whitelist.txt ('k') | build/isolate.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698