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

Unified Diff: ads2gas.gypi

Issue 1085023004: Fix arm/LTO build by moving neon asm files to intrinsics target. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | generate_gypi.sh » ('j') | generate_gypi.sh » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ads2gas.gypi
diff --git a/ads2gas.gypi b/ads2gas.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..8d72d3a203424d394b59f018afd1a74f6a012597
--- /dev/null
+++ b/ads2gas.gypi
@@ -0,0 +1,53 @@
+# 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.
+{
+ '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)',
+ # Location of the assembly conversion script.
+ 'ads2gas_script_path': '<(libvpx_source)/build/make/<(ads2gas_script)',
+ 'ads2gas_script_include': '<(libvpx_source)/build/make/thumb.pm',
+ },
+ 'rules': [
+ {
+ 'rule_name': 'convert_asm',
+ 'extension': 'asm',
+ 'inputs': [
+ '<(shared_generated_dir)/<(ads2gas_script)',
+ '<(shared_generated_dir)/thumb.pm',
+ ],
+ 'outputs': [
+ '<(shared_generated_dir)/<(RULE_INPUT_ROOT).S',
+ ],
+ 'action': [
+ 'bash',
+ '-c',
+ 'cat <(RULE_INPUT_PATH) | perl <(shared_generated_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)',
+ },
+ ],
+
+ # Copy the script to the output folder so that we can use it with
+ # absolute path.
+ 'copies': [{
+ 'destination': '<(shared_generated_dir)',
+ 'files': [
+ '<(ads2gas_script_path)',
+ '<(ads2gas_script_include)',
+ ],
+ }],
+}
« no previous file with comments | « no previous file | generate_gypi.sh » ('j') | generate_gypi.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698