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

Unified Diff: third_party/libvpx_new/ads2gas.gypi

Issue 1323333002: Copy libvpx from DEPS to src (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update include order and rebase Created 5 years, 3 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 | « third_party/libvpx_new/README.chromium ('k') | third_party/libvpx_new/generate_gypi.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libvpx_new/ads2gas.gypi
diff --git a/third_party/libvpx_new/ads2gas.gypi b/third_party/libvpx_new/ads2gas.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..76ffae75ec4ccde8f66a2943554e8015e3401d2f
--- /dev/null
+++ b/third_party/libvpx_new/ads2gas.gypi
@@ -0,0 +1,54 @@
+# Copyright (c) 2015 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.
+
+# This file is meant to be included into a target to provide a rule
+# for translating .asm files to .S files using ads2gas.
+#
+# To use this, create a gyp target with the following form:
+# {
+# 'target_name': 'my_lib',
+# 'sources': [
+# 'foo.asm',
+# 'bar.c',
+# ],
+# 'includes': [ 'ads2gas.gypi' ],
+# }
+{
+ 'variables': {
+ # Location of the intermediate output.
+ 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx',
+ 'variables': {
+ 'libvpx_source%': 'source/libvpx',
+ 'conditions': [
+ ['OS=="ios"', {
+ 'ads2gas_script%': 'ads2gas_apple.pl',
+ }, {
+ 'ads2gas_script%': 'ads2gas.pl',
+ }],
+ ],
+ },
+ 'ads2gas_script%': '<(ads2gas_script)',
+ 'ads2gas_script_dir': '<(libvpx_source)/build/make',
+ },
+ 'rules': [
+ {
+ 'rule_name': 'convert_asm',
+ 'extension': 'asm',
+ 'inputs': [
+ '<(ads2gas_script_dir)/<(ads2gas_script)',
+ '<(ads2gas_script_dir)/thumb.pm',
+ ],
+ 'outputs': [
+ '<(shared_generated_dir)/<(RULE_INPUT_ROOT).S',
+ ],
+ 'action': [
+ 'bash',
+ '-c',
+ 'cat <(RULE_INPUT_PATH) | perl <(ads2gas_script_dir)/<(ads2gas_script) -chromium > <(shared_generated_dir)/<(RULE_INPUT_ROOT).S',
+ ],
+ 'process_outputs_as_sources': 1,
+ 'message': 'Convert libvpx asm file for ARM <(RULE_INPUT_PATH)',
+ },
+ ],
+}
« no previous file with comments | « third_party/libvpx_new/README.chromium ('k') | third_party/libvpx_new/generate_gypi.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698