mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 03:47:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
Make things live in a subdirectory, to make sure that DEPTH works correctly.
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
// Copyright (c) 2012 Google Inc. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include <iostream>
|
||||
|
||||
int main() {
|
||||
std::cout << "Hello, world!" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
// Copyright (c) 2012 Google Inc. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
int my_foo(int x) {
|
||||
return x + 1;
|
||||
}
|
||||
|
|
@ -0,0 +1,65 @@
|
|||
# Copyright (c) 2012 Google Inc. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'libraries-test',
|
||||
'type': 'executable',
|
||||
'sources': [
|
||||
'hello.cc',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'libcrypto.dylib',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
# This creates a static library and puts it in a nonstandard location for
|
||||
# libraries-search-path-test.
|
||||
'target_name': 'mylib',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'mylib.c',
|
||||
],
|
||||
'postbuilds': [
|
||||
{
|
||||
'postbuild_name': 'Make a secret location',
|
||||
'action': [
|
||||
'mkdir',
|
||||
'-p',
|
||||
'${SRCROOT}/../secret_location',
|
||||
],
|
||||
},
|
||||
{
|
||||
'postbuild_name': 'Copy to secret location, with secret name',
|
||||
'action': [
|
||||
'cp',
|
||||
'${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}',
|
||||
'${SRCROOT}/../secret_location/libmysecretlib.a',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'libraries-search-path-test',
|
||||
'type': 'executable',
|
||||
'dependencies': [ 'mylib' ],
|
||||
'sources': [
|
||||
'hello.cc',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'LIBRARY_SEARCH_PATHS': [
|
||||
'<(DEPTH)/secret_location',
|
||||
],
|
||||
},
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'libmysecretlib.a',
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue